Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

flexcoders · RIA Development with Adobe Flex

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 12335
  • Category: Development
  • Founded: Mar 17, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 12409 - 12438 of 165719   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#12409 From: "terry_hrtn" <thorton@...>
Date: Fri Apr 1, 2005 5:41 pm
Subject: Re: Extending the ComboBox
terry_hrtn
Send Email Send Email
 
Abdul,
can you post the code here, I never received it (I thing anti-virus
caught it).

Thanks,
Terry

--- In flexcoders@yahoogroups.com, "bhaq1972" <mbhaque@h...> wrote:
>
> yes please. thanks Abdul
>
> just send to mbhaque@h...
> regards
> bod(bhaq1972)
>
>
> --- In flexcoders@yahoogroups.com, Abdul Qabiz <aqabiz@m...> wrote:
> > Not sure...But if you are looking for attachment corresponding to
> this
> > thread, I can forward you offlist..
> >
> > -abdul
> >
> > -----Original Message-----
> > From: bhaq1972 [mailto:mbhaque@h...]
> > Sent: Friday, April 01, 2005 2:49 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Extending the ComboBox
> >
> >
> >
> > Can someone tell me how to download attachments. i've never been
> > able to do this in yahoo groups.
> >
> > thanks
> > bod
> >
> >
> > --- In flexcoders@yahoogroups.com, "Simon Fifield" <simon@m...>
> > wrote:
> > > Sorry my last email was succinct - I'm off to bed soon!
> > >
> > > Attached is my extended ComboBox. You'll need to change the
> > _dropdown to be
> > > a DataGrid instead of my ListMenu component. And you'll need to
> do
> > something
> > > about the text for the ComboBox when the dropdown is hidden.
> > >
> > > Enjoy!
> > >
> > > Simon Fifield
> > >
> > >   -----Original Message-----
> > >   From: Simon Fifield [mailto:simon@m...]
> > >   Sent: 01 April 2005 00:12
> > >   To: flexcoders@yahoogroups.com
> > >   Subject: RE: [flexcoders] Extending the ComboBox
> > >
> > >
> > >   Its not too difficult to extend the ComboBox. Adding a
> DataGrid
> > would be
> > > like adding an extended List but you would need a CombBox
> property
> > for the
> > > DataGrid Field that would be displayed when the dropdown is
> > hidden. You can
> > > get to the DataGrid using the "dropdown" property.
> > >
> > >   Regards,
> > >   Simon Fifield
> > >     -----Original Message-----
> > >     From: terry_hrtn [mailto:thorton@v...]
> > >     Sent: 31 March 2005 23:58
> > >     To: flexcoders@yahoogroups.com
> > >     Subject: [flexcoders] Extending the ComboBox
> > >
> > >
> > >
> > >     Anybody know of a way to extend the combobox to where a
> > datagrid is
> > >     shown instead of a list.
> > >
> > >
> > >
> > >
> > >
> > > ----------------------------------------------------------------
-
> --
> > ---------
> > >     Yahoo! Groups Links
> > >
> > >       a.. To visit your group on the web, go to:
> > >       http://groups.yahoo.com/group/flexcoders/
> > >
> > >       b.. To unsubscribe from this group, send an email to:
> > >       flexcoders-unsubscribe@yahoogroups.com
> > >
> > >       c.. Your use of Yahoo! Groups is subject to the Yahoo!
> Terms
> > of
> > > Service.
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links

#12410 From: "Robert Stuttaford" <robert@...>
Date: Fri Apr 1, 2005 5:46 pm
Subject: RE: Flex 1.5 price
robert@...
Send Email Send Email
 

Simon,

 

It is possible, currently, to use Flex with FlashORB for remoting. Apart from the license, it’s perfectly capable of being a standalone product… mxmlc.exe is the compiler, I imagine a simple GUI for that would be all one would need.

 

Technically sensible, but I think Macromedia want to regain some of their investment and let the current incarnation mature somewhat. As Hans mentions below, I’m sure Macromedia are aware that Flex could provide massive benefit outside of their current focus.

 

We’ll see, I guess J

 

Robert

 


From: Simon Fifield [mailto:simon@...]
Sent: 01 April 2005 07:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

 

Perhaps Macromedia are planning a version of Flex that will allow the programmer to use MXML/Actionscript to generate an SWF, without the whole Flex Server Side Application (sorry - Flex Enterprise Server!)

 

I imagine that the price for this would still be more than Flash MX 2004 Pro say £1,200 or so. I would pay that. Of course then connecting up to a server would still be a difficult task especially when you've used Flex and its built in Flash Remoting Gateway and experienced how easy it makes it. So small companies that build web sites and small webapps would be able to take advantage of MXML without having to use Flash to do the whole job. Of course they would still buy Flash because its good or doing animation - just look at all those Flash Banner ads.

 

Has this option been considered at Macromedia?

 

Simon Fifield

-----Original Message-----
From: Hans Omli [mailto:hansomli@...]
Sent: 01 April 2005 18:16
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

Macromedia selected the medium/large enterprise as the beachhead to
establish Flex as a worthwhile technology in the marketplace.  With 200
customers as of December, I'd say Macromedia has been quite successful
laying this foundation.  It seems to me the new pricing signals an even
greater focus on this market segment as Flex moves from a technology used by
innovators (most of us here) to a product for early adopters.  Since early
adopters are most willing to pay high prices for the right to use a new
product, the new pricing seems to make sense.  I had expected new pricing in
the 2.0 timeframe since this would be a natural point for transitioning from
a technology to a product focus, but can see that early adopters are
probably more interested in development support than they are in additional
functionality at this point in the adoption life cycle.  So, from that
standpoint, the recent price changes combined with bundled support make a
whole lot of business sense.

Most of the friction around Flex pricing is more a question of target market
than anything else, with the high level of friction in forums like this
indicating to me there is significant demand for technology like Flex coming
from many other markets outside of medium/large enterprises.  I will be
curious to see if/how Macromedia expands Flex into a more mainstream market.
I suppose in some sense this has already begun with the limited use of Flex
in ColdFusion MX 7.  Nonetheless, it seems there is still quite a bit of
money on the table for Laszlo and others to pursue... at least for now.



#12411 From: "Simon Fifield" <simon@...>
Date: Fri Apr 1, 2005 5:49 pm
Subject: RE: Flex 1.5 price
mangoboy_simon
Send Email Send Email
 
Good point Robert.
 
Regards,
Simon
-----Original Message-----
From: Robert Stuttaford [mailto:robert@...]
Sent: 01 April 2005 18:46
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

Simon,

 

It is possible, currently, to use Flex with FlashORB for remoting. Apart from the license, it’s perfectly capable of being a standalone product… mxmlc.exe is the compiler, I imagine a simple GUI for that would be all one would need.

 

Technically sensible, but I think Macromedia want to regain some of their investment and let the current incarnation mature somewhat. As Hans mentions below, I’m sure Macromedia are aware that Flex could provide massive benefit outside of their current focus.

 

We’ll see, I guess J

 

Robert

 


From: Simon Fifield [mailto:simon@...]
Sent: 01 April 2005 07:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

 

Perhaps Macromedia are planning a version of Flex that will allow the programmer to use MXML/Actionscript to generate an SWF, without the whole Flex Server Side Application (sorry - Flex Enterprise Server!)

 

I imagine that the price for this would still be more than Flash MX 2004 Pro say £1,200 or so. I would pay that. Of course then connecting up to a server would still be a difficult task especially when you've used Flex and its built in Flash Remoting Gateway and experienced how easy it makes it. So small companies that build web sites and small webapps would be able to take advantage of MXML without having to use Flash to do the whole job. Of course they would still buy Flash because its good or doing animation - just look at all those Flash Banner ads.

 

Has this option been considered at Macromedia?

 

Simon Fifield

-----Original Message-----
From: Hans Omli [mailto:hansomli@...]
Sent: 01 April 2005 18:16
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

Macromedia selected the medium/large enterprise as the beachhead to
establish Flex as a worthwhile technology in the marketplace.  With 200
customers as of December, I'd say Macromedia has been quite successful
laying this foundation.  It seems to me the new pricing signals an even
greater focus on this market segment as Flex moves from a technology used by
innovators (most of us here) to a product for early adopters.  Since early
adopters are most willing to pay high prices for the right to use a new
product, the new pricing seems to make sense.  I had expected new pricing in
the 2.0 timeframe since this would be a natural point for transitioning from
a technology to a product focus, but can see that early adopters are
probably more interested in development support than they are in additional
functionality at this point in the adoption life cycle.  So, from that
standpoint, the recent price changes combined with bundled support make a
whole lot of business sense.

Most of the friction around Flex pricing is more a question of target market
than anything else, with the high level of friction in forums like this
indicating to me there is significant demand for technology like Flex coming
from many other markets outside of medium/large enterprises.  I will be
curious to see if/how Macromedia expands Flex into a more mainstream market.
I suppose in some sense this has already begun with the limited use of Flex
in ColdFusion MX 7.  Nonetheless, it seems there is still quite a bit of
money on the table for Laszlo and others to pursue... at least for now.



#12412 From: Abdul Qabiz <aqabiz@...>
Date: Fri Apr 1, 2005 6:18 pm
Subject: RE: Dynamic link population
abdulqabiz3
Send Email Send Email
 
Hi,

What about creating a custom component extending from Link component. I have
made a simple example, might help you..


##LinkEx.mxml##

<mx:Link xmlns:mx="http://www.macromedia.com/2003/mxml" click="openLink();">
     <mx:Script>
         import mx.controls.Link;

         var link:String;

         function openLink()
         {
             getURL(link);
         }
     </mx:Script>

</mx:Link>


##yourApp.mxml##

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
xmlns:local="*">

<!-- Your entire app code goes here //-->

<mx:Grid width="100%">
    <mx:Repeater id="rptRowRep" dataProvider="{rptModel.report.detail}">
       <mx:GridRow>
          <mx:GridItem horizontalAlign="right">
             <local:Label text="{rptRowRep.currentItem.title}"/>
             <local:LinkEx label="{formatData(rptRowRep.currentItem.alloc)}"
link="{rptRowRep.currentItem.alloc.drilldown}" />
             <local:LinkEx label="{formatData(rptRowRep.currentItem.exp)}"
link="{rptRowRep.currentItem.exp.drilldown}"/>
             <local:LinkEx label="{formatData(rptRowRep.currentItem.enc)}"
link="{rptRowRep.currentItem.enc.drilldown}"/>
          </mx:GridItem>
       </mx:GridRow>
    </mx:Repeater>
</mx:Grid>

</mx:Application>


That's the power of MXML and MXML components...

Hope that helps,

-abdul


-----Original Message-----
From: Cindy Lee [mailto:cylee@...]
Sent: Friday, April 01, 2005 9:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Dynamic link population



I'm trying to generate a table, each cell of which is a link.
The number of rows in the table can be variable, and the link
for each cell is generated dynamically and passed to Flex as
part of the data model.  Here's an example of what a simplifed
version of the table might look like:

<mx:Grid width="100%">
    <mx:Repeater id="rptRowRep" dataProvider="{rptModel.report.detail}">
       <mx:GridRow>
          <mx:GridItem horizontalAlign="right">
             <mx:Label text="{rptRowRep.currentItem.title}"/>
             <mx:Link label="{formatData(rptRowRep.currentItem.alloc)}"/>
             <mx:Link label="{formatData(rptRowRep.currentItem.exp)}"/>
             <mx:Link label="{formatData(rptRowRep.currentItem.enc)}"/>
          </mx:GridItem>
       </mx:GridRow>
    </mx:Repeater>
</mx:Grid>

I haven't been able to figure out how to correctly pass the url to the
getURL command.  If the urls that I want to link to can be referenced as
rptRowRep.currentItem.alloc.drilldown, rptRowRep.currentItem.exp.drilldown,
rptRowRep.currentItem.enc.drilldown, etc., how do I define the click event
to call up the correct url?

If it matters, the link may or may not be to a Flex page.

Thanks.




Yahoo! Groups Links

#12413 From: "Tracy Spratt" <tspratt@...>
Date: Fri Apr 1, 2005 6:36 pm
Subject: RE: Re: Extending the ComboBox
nts333rd
Send Email Send Email
 
Get the list as email in Outlook.  Searching is much better that way
also.
Tracy

-----Original Message-----
From: bhaq1972 [mailto:mbhaque@...]
Sent: Friday, April 01, 2005 4:19 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Extending the ComboBox



Can someone tell me how to download attachments. i've never been
able to do this in yahoo groups.

thanks
bod


--- In flexcoders@yahoogroups.com, "Simon Fifield" <simon@m...>
wrote:
> Sorry my last email was succinct - I'm off to bed soon!
>
> Attached is my extended ComboBox. You'll need to change the
_dropdown to be
> a DataGrid instead of my ListMenu component. And you'll need to do
something
> about the text for the ComboBox when the dropdown is hidden.
>
> Enjoy!
>
> Simon Fifield
>
>   -----Original Message-----
>   From: Simon Fifield [mailto:simon@m...]
>   Sent: 01 April 2005 00:12
>   To: flexcoders@yahoogroups.com
>   Subject: RE: [flexcoders] Extending the ComboBox
>
>
>   Its not too difficult to extend the ComboBox. Adding a DataGrid
would be
> like adding an extended List but you would need a CombBox property
for the
> DataGrid Field that would be displayed when the dropdown is
hidden. You can
> get to the DataGrid using the "dropdown" property.
>
>   Regards,
>   Simon Fifield
>     -----Original Message-----
>     From: terry_hrtn [mailto:thorton@v...]
>     Sent: 31 March 2005 23:58
>     To: flexcoders@yahoogroups.com
>     Subject: [flexcoders] Extending the ComboBox
>
>
>
>     Anybody know of a way to extend the combobox to where a
datagrid is
>     shown instead of a list.
>
>
>
>
>
> -------------------------------------------------------------------
---------
>     Yahoo! Groups Links
>
>       a.. To visit your group on the web, go to:
>       http://groups.yahoo.com/group/flexcoders/
>
>       b.. To unsubscribe from this group, send an email to:
>       flexcoders-unsubscribe@yahoogroups.com
>
>       c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms
of
> Service.






Yahoo! Groups Links

#12414 From: Matthew Shirey <mshirey@...>
Date: Fri Apr 1, 2005 6:56 pm
Subject: Re: Flex 1.5 price
mshireygmail
Send Email Send Email
 
I was already told by our MM rep that its counted by the physical
processor.  Dual core is still one.

M.

On Apr 1, 2005 1:28 AM, Anthony Merryfield <MerryfA@...> wrote:
> It'll be interesting what the policy will be on dual core CPUs when they
> arrive?
>
> T
>
>
> -----Original Message-----
> From: Simon Fifield [mailto:simon@...]
> Sent: 31 March 2005 20:49
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Flex 1.5 price
>
> My clients have also stretched themselves to purchase the 2cpu license,
> which cost more than the Dual Processor server they purchased to match the
> spec.
>
> Now that the license for Flex is either 1 or 4 cpu does this mean that my
> clients are going to have to more than double the original purchase price
> when they need to renew their maintenance license?
> Or will the 1 cpu license cover the whole server? (i.e. does cpu mean server
> or does it mean processors?)
>
> Simon
>
> -----Original Message-----
> From: Matthew Shirey [mailto:mshirey@...]
> Sent: 31 March 2005 18:17
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Flex 1.5 price
>
> What about a 2cpu license?  Please answer.  Your 'starter kit' is
> overkill for us.  If our price is based on a minimum 4cpu price, then
> this is no longer a joke at all.  We will have to drop Flex and never
> look back.  We will have wasted months of training and actual
> development time.  This is NOT a price I can justify to anyone.
>
> We're seriously disappointed in Macromedia at this time.  We're a very
> small shop and its starting to look like Macromedia does not care
> about the little guy at all anymore.
>
> -- Matthew
>
>
> On Thu, 31 Mar 2005 12:00:13 -0500, Darron J. Schall
> <darron@...> wrote:
> >
> > Jeff Steiner wrote:
> >
> > >Lazslo, while the samples look great, is still based upon Flash player 5
> > >(Beta 3 of Lazslo is player 6).  It is one of those things where you have
> to
> > >wonder - how does Lazslo know what to extend of the Flash Player.  The
> > >people that are contributing to it make guesses and try to extend the
> > >capabilities as far as they can, but they are still limited in their
> > >knowledge.  I have never seen an API to the Flash player made readily
> > >available to the public.  Also - as the Flash Player gets more
> complicated
> > >it will become more difficult to code hooks into the player to give
> > >developers the same functionality that is provided by Flex, and Breeze,
> and
> > >Flash, ........
> > >
> > >
> > As a Flash developer, I'd like to chime in here..
> >
> > The fact that Lazslo works on Flash Player 5 really isn't an issue.  In
> > fact, I'd say it's a bonus!  Here's why:
> >
> > * Because Lazslo outputs to Flash Player 5, it has a larget target
> > audience.  See the penetration stats:
> >
>
http://www.macromedia.com/software/player_census/flashplayer/version_penetration\
.html
> > -- FP 5 is 97%.  FP7 is 82% - so apps created in Laszlo have a better
> > chance of being viewed
> >
> > * There are no "older is slower" arguments.  The v7 player will play a
> > v5 swf faster than the v5 player, because the v7 player itself is faster
> > than the v5 player.
> >
> > * The internals are abstracted away.  Right now your Lazslo code
> > publishes to .swf, but it's not tied to the Flash Player in any way -
> > there are no MovieClip references, etc in your lazslo code.  In fact,
> > you don't even use ActionScript, you write in JavaScript.  There's
> > nothing to stop someone from writing a new "player" and with a few
> > tweaks to the Laszlo compilation process you could have output for that
> > new player.
> >
> > When you develop an application, do you really care about the internal
> > API calls of Flash Player 7?  If I'm a Lazslo developer, I say no.. I
> > know what tags I can use in my markup, I know what the APIs are, and I
> > use them and get a *working* .swf file.  As long as it works, that's all
> > I care about.  If SWF5 is all it takes to make it work, then that's cool.
> >
> > Is there anything in v7 SWF that would benefit Lazslo apps?  Not
> > really.  Some of the new things added in FP 7 over FP 6 is case
> > sensitivty, depth management functions (getNextHighestDepth..) , context
> > menu, etc,.  The biggest change would probably be embedded video, and
> > that may be a show stopper for some.. but it's rare that an
> > "application" needs video in it.  FP 6 adds some things over FP5 like
> > ShardObjects, so I can see how upgrading to v6 in that respect would be
> > benefitical.  FP 6 also added different event handlers than FP5
> > (.onPress, vs on (press)) - but that has 0 effect on how I code my
> > Lazslo markup.  The FP6 style event handlers are meant to make AS coding
> > easier, but Lazslo doesn't care about that because it has it's own
> > coding model.
> >
> > The fact that Lazslo accomplishes what it does on an old version of the
> > SWF format is not a drawback, it's a benefit.  There's really no reason
> > to use SWF7 if everything you need to do can be accomplished in SWF5.
> > The fact that Lazslo separates itself from the Flash Player is another
> > benefit as well..  If something should ever happen, maybe legal issues
> > or whatever, Lazslo can output to, say, Java applets or whatever, since
> > the code is all abstracted from the VM and the compilation process
> > handles the dirty work of putting your code into a format the VM can
> > understand.
> >
> > -d
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
>
>
>
>
> This communication together with any attachments transmitted with it ("this
> E-Mail") is intended only for the use of the addressee and may contain
> information which is privileged and confidential. If the reader of this
> E-Mail is not the intended recipient or the employee or agent responsible
> for delivering it to the intended recipient you are hereby notified that any
> use, dissemination, forwarding, printing or copying of this E-Mail is
> strictly prohibited. Addressees should check this E-mail for viruses. The
> Company makes no representations as regards the absence of viruses in this
> E-Mail. If you have received this E-Mail in error please notify our ISe
> Response Team immediately by telephone on +44 (0)20 8896 5828 or via e-mail
> at postmaster@... Please then immediately delete, erase or otherwise
> destroy this E-Mail and any copies of it.
>
> Any opinions expressed in this E-Mail are those of the author and do not
> necessarily constitute the views of the Company. Nothing in this E-Mail
> shall bind the Company in any contract or obligation.
>
> For the purposes of this E-Mail "the Company" means The Carphone Warehouse
> Group Plc and/or any of its subsidiaries.
>
> Please feel free to visit our website: http:// www.carphonewarehouse.com or
> http://www.phonehouse.com
>
> The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1
> Portal Way, London W3 6RS
>
> ________________________________
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>
> To unsubscribe from this group, send an email to:
> flexcoders-unsubscribe@yahoogroups.com
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

#12415 From: nostra72@...
Date: Fri Apr 1, 2005 1:59 pm
Subject: Making an array of buttons
nostra72
Send Email Send Email
 
I am trying to make an array of Objects that hold Number values and for some reason this code does not work can someone explain why it does not work? I am trying to get it to show the number ten in the TextInput box.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script>
<![CDATA[
public var addup:Number
public function addnumbersup(){
addup =numberstoaddup[0].Number+numberstoaddup[1].Number+numberstoaddup[2].Number+numberstoaddup[3].Number+numberstoaddup[4].Number
}
public function placenumberdown(){
thenumberitself.text =String(addup)
}
]]>
</mx:Script>
<mx:Array id="numberstoaddup">
 
<mx:Object Number ="0"/>
<mx:Object Number ="1" />
<mx:Object Number ="2" />
<mx:Object Number ="3" />
<mx:Object Number ="4" />
 

</mx:Array>
<mx:HBox><mx:Button  label="click" id="makenumber" click="placenumberdown()"/><mx:TextInput editable="false" id="thenumberitself" /></mx:HBox>
 
</mx:Application>

#12416 From: "Andora, Greg" <gandora@...>
Date: Fri Apr 1, 2005 7:04 pm
Subject: [ChangeEvent()] and binding
and_or_a
Send Email Send Email
 

Hi all,

I'm trying to expose a property of a custom component to be available for binding and can't seem to get it tor work.  Below is the code for a very basic example of what I'm trying to do.

I have a property (myVar) whose changes are triggered by something inside of the custom component.  The problem is, the changes to the property aren't being broadcast to the page using the component so that the bindings in the page are updated.

<!--Page running the component-->
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:cc="*">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
        ]]>
        </mx:Script>
        <!-- Instance of my component -->
        <cc:test id="testInput" />
        <!--Button to Alert the value of my variable shows the variable is being updated correctly -->
        <mx:Button click="Alert.show(testInput.myVar)" />
        <!-- Label whose text attribute is bound to the variable....doesn't get updated -->
        <mx:Label text="{testInput.myVar}" />
</mx:Application>


<!-- Component - test.mxml -->
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
                private var _myVar : String;
               
                [ChangeEvent("myVar_changed")]
                public function get myVar() : String
                {
                        return _myVar;
                }
                public function set myVar(newVal : String) : Void
                {
                        _myVar = newVal;
                }
        ]]>
        </mx:Script>
        <mx:TextInput id="thisText" change="myVar=thisText.text;" />
</mx:Canvas>


Thank you,
Greg Andora


----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#12417 From: Lucian Beebe <lbeebe@...>
Date: Fri Apr 1, 2005 7:09 pm
Subject: RE: Flex 1.5 price
lucianbeebe
Send Email Send Email
 

Wow, Hans, I couldn’t have said it better.

 

We really do hear you. We really are trying to make the absolute best Flex development platform possible. And focus is the whole way we are getting there. The passion in this thread has served to underscore the desirability of Flex, and for that, we truly thank you. We will continue to guide Flex development and evolution so it remains every bit as desirable during every step of its evolution. Our care in its evolution will guarantee a good experience for everyone who gets involved.

 

Thank you

 

Lucian

 


From: Simon Fifield [mailto:simon@...]
Sent: Friday, April 01, 2005 9:50 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

 

Good point Robert.

 

Regards,

Simon

-----Original Message-----
From: Robert Stuttaford [mailto:robert@...]
Sent: 01 April 2005 18:46
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

Simon,

 

It is possible, currently, to use Flex with FlashORB for remoting. Apart from the license, it’s perfectly capable of being a standalone product… mxmlc.exe is the compiler, I imagine a simple GUI for that would be all one would need.

 

Technically sensible, but I think Macromedia want to regain some of their investment and let the current incarnation mature somewhat. As Hans mentions below, I’m sure Macromedia are aware that Flex could provide massive benefit outside of their current focus.

 

We’ll see, I guess J

 

Robert

 


From: Simon Fifield [mailto:simon@...]
Sent: 01 April 2005 07:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

 

Perhaps Macromedia are planning a version of Flex that will allow the programmer to use MXML/Actionscript to generate an SWF, without the whole Flex Server Side Application (sorry - Flex Enterprise Server!)

 

I imagine that the price for this would still be more than Flash MX 2004 Pro say £1,200 or so. I would pay that. Of course then connecting up to a server would still be a difficult task especially when you've used Flex and its built in Flash Remoting Gateway and experienced how easy it makes it. So small companies that build web sites and small webapps would be able to take advantage of MXML without having to use Flash to do the whole job. Of course they would still buy Flash because its good or doing animation - just look at all those Flash Banner ads.

 

Has this option been considered at Macromedia?

 

Simon Fifield

-----Original Message-----
From: Hans Omli [mailto:hansomli@...]
Sent: 01 April 2005 18:16
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex 1.5 price

Macromedia selected the medium/large enterprise as the beachhead to
establish Flex as a worthwhile technology in the marketplace.  With 200
customers as of December, I'd say Macromedia has been quite successful
laying this foundation.  It seems to me the new pricing signals an even
greater focus on this market segment as Flex moves from a technology used by
innovators (most of us here) to a product for early adopters.  Since early
adopters are most willing to pay high prices for the right to use a new
product, the new pricing seems to make sense.  I had expected new pricing in
the 2.0 timeframe since this would be a natural point for transitioning from
a technology to a product focus, but can see that early adopters are
probably more interested in development support than they are in additional
functionality at this point in the adoption life cycle.  So, from that
standpoint, the recent price changes combined with bundled support make a
whole lot of business sense.

Most of the friction around Flex pricing is more a question of target market
than anything else, with the high level of friction in forums like this
indicating to me there is significant demand for technology like Flex coming
from many other markets outside of medium/large enterprises.  I will be
curious to see if/how Macromedia expands Flex into a more mainstream market.
I suppose in some sense this has already begun with the limited use of Flex
in ColdFusion MX 7.  Nonetheless, it seems there is still quite a bit of
money on the table for Laszlo and others to pursue... at least for now.

 


#12418 From: nostra72@...
Date: Fri Apr 1, 2005 2:07 pm
Subject: Making an array of Numbers
nostra72
Send Email Send Email
 
I am sorry I meant to put the words an array of Numbers in the subject value not an array of Buttons I know how to make an array of buttons just not numbers.

#12419 From: "Andora, Greg" <gandora@...>
Date: Fri Apr 1, 2005 7:10 pm
Subject: RE: Making an array of buttons
and_or_a
Send Email Send Email
 
You never actually call your addnumbersup() function.  If you place it in your placenumberdown() function, it should start working.  For example:
 
public function placenumberdown(){
    addnumbersup();
    thenumberitself.text =String(addup);
}
 
 

Thank you,
Greg Andora

-----Original Message-----
From: nostra72@... [mailto:nostra72@...]
Sent: Friday, April 01, 2005 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Making an array of buttons

I am trying to make an array of Objects that hold Number values and for some reason this code does not work can someone explain why it does not work? I am trying to get it to show the number ten in the TextInput box.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script>
<![CDATA[
public var addup:Number
public function addnumbersup(){
addup =numberstoaddup[0].Number+numberstoaddup[1].Number+numberstoaddup[2].Number+numberstoaddup[3].Number+numberstoaddup[4].Number
}
public function placenumberdown(){
thenumberitself.text =String(addup)
}
]]>
</mx:Script>
<mx:Array id="numberstoaddup">
 
<mx:Object Number ="0"/>
<mx:Object Number ="1" />
<mx:Object Number ="2" />
<mx:Object Number ="3" />
<mx:Object Number ="4" />
 

</mx:Array>
<mx:HBox><mx:Button  label="click" id="makenumber" click="placenumberdown()"/><mx:TextInput editable="false" id="thenumberitself" /></mx:HBox>
 
</mx:Application>

----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#12420 From: "dduuggllaa" <douglass.turner@...>
Date: Fri Apr 1, 2005 7:14 pm
Subject: administrativa : yahoogroups thread mode is unusable.
dduuggllaa
Send Email Send Email
 
Could someone please instruct me in how to drive thread mode in the
group. It behaves about as broken as is possible.

My needs are simple, folks.
- I want to walk the thread forward in time
- I want to walk the thread backward in time

I want to do either with out loosing my mind.

-Douglass

#12421 From: "Andora, Greg" <gandora@...>
Date: Fri Apr 1, 2005 7:17 pm
Subject: RE: Making an array of buttons
and_or_a
Send Email Send Email
 
Also, to make the array of Numbers (not objects with a property named "Number"), you'd probably rather have your array object like this:
 
<mx:Array id="numberstoaddup">
    <mx:Number>0</mx:Number>
    <mx:Number>1</mx:Number>
    <mx:Number>2</mx:Number>
    <mx:Number>3</mx:Number>
    <mx:Number>4</mx:Number>
</mx:Array>
 
Then your addNumbersUp() function would look like:
 
public function addnumbersup(){
     addup = numberstoaddup[0]+numberstoaddup[1]+numberstoaddup[2]+numberstoaddup[3]+numberstoaddup[4];
}
 

Thank you,
Greg Andora
IT - Web Development Group
Database Analyst/Programmer
(702) 862-7725

-----Original Message-----
From: nostra72@... [mailto:nostra72@...]
Sent: Friday, April 01, 2005 10:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Making an array of buttons

I am trying to make an array of Objects that hold Number values and for some reason this code does not work can someone explain why it does not work? I am trying to get it to show the number ten in the TextInput box.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script>
<![CDATA[
public var addup:Number
public function addnumbersup(){
addup =numberstoaddup[0].Number+numberstoaddup[1].Number+numberstoaddup[2].Number+numberstoaddup[3].Number+numberstoaddup[4].Number
}
public function placenumberdown(){
thenumberitself.text =String(addup)
}
]]>
</mx:Script>
<mx:Array id="numberstoaddup">
 
<mx:Object Number ="0"/>
<mx:Object Number ="1" />
<mx:Object Number ="2" />
<mx:Object Number ="3" />
<mx:Object Number ="4" />
 

</mx:Array>
<mx:HBox><mx:Button  label="click" id="makenumber" click="placenumberdown()"/><mx:TextInput editable="false" id="thenumberitself" /></mx:HBox>
 
</mx:Application>

----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#12422 From: nostra72@...
Date: Fri Apr 1, 2005 2:31 pm
Subject: Re: Making an array of buttons
nostra72
Send Email Send Email
 
I se well thats most helpful if thats the case then can I just make an array of buttons by doing this
<mx:Array id="buttonstouse">
<mx:Button label ="1" />   
<mx:Button label ="2" />  
<mx:Button label ="3" />  
<mx:Button label ="4" />  
<mx:Button label ="5" />  
</mx:Array>
 

#12423 From: Ashish Goyal <agoyal@...>
Date: Fri Apr 1, 2005 7:34 pm
Subject: RE: [ChangeEvent()] and binding
scorp3175
Send Email Send Email
 
Hi Greg,
The problem is you are not dispatching the "myVar_changed" event. Add this line in your setter function and it should work.
 
dispatchEvent({type: "myVar_changed"});
Alternately, you can remove the whole ChangeEvent code and let Flex compiler do the work for you. Your MXML component code will look like:
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
        <mx:Script>
        <![CDATA[
 
                var myVar : String;
              
        ]]>
        </mx:Script>
        <mx:TextInput id="thisText" change="myVar=thisText.text;" />
</mx:Canvas>
 
Thanks
-Ashish
 
 
 


From: Andora, Greg [mailto:gandora@...]
Sent: Friday, April 01, 2005 11:05 AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] [ChangeEvent()] and binding

Hi all,

I'm trying to expose a property of a custom component to be available for binding and can't seem to get it tor work.  Below is the code for a very basic example of what I'm trying to do.

I have a property (myVar) whose changes are triggered by something inside of the custom component.  The problem is, the changes to the property aren't being broadcast to the page using the component so that the bindings in the page are updated.

<!--Page running the component-->
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:cc="*">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
        ]]>
        </mx:Script>
        <!-- Instance of my component -->
        <cc:test id="testInput" />
        <!--Button to Alert the value of my variable shows the variable is being updated correctly -->
        <mx:Button click="Alert.show(testInput.myVar)" />
        <!-- Label whose text attribute is bound to the variable....doesn't get updated -->
        <mx:Label text="{testInput.myVar}" />
</mx:Application>


<!-- Component - test.mxml -->
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
                private var _myVar : String;
               
                [ChangeEvent("myVar_changed")]
                public function get myVar() : String
                {
                        return _myVar;
                }
                public function set myVar(newVal : String) : Void
                {
                        _myVar = newVal;
                }
        ]]>
        </mx:Script>
        <mx:TextInput id="thisText" change="myVar=thisText.text;" />
</mx:Canvas>


Thank you,
Greg Andora


----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#12424 From: "Robert Brueckmann" <rbrueckmann@...>
Date: Fri Apr 1, 2005 7:39 pm
Subject: FlashForward2005 - San Francisco
rbrueckmann78
Send Email Send Email
 

Anyone on this list going to this conference next week?  I can’t wait…some of the seminars look great…granted it’s not Flex-oriented it still should provide some interesting info on actionscript, components, RIAs and what have you based on the what I’ve read in the descriptions on some of the sessions…if not, these sessions I’m attending still pertain to some of the other work I do here.

 

At any rate…just was curious if I’d get to put a face to an email address is all and maybe even see what you’ve been doing with Flex, if company confidentiality permits on your part to compare notes…just a thought.

 

Cheers,

Rob

 

Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821

f: 212.822.4820


From: Jason Szeto [mailto:jszeto@...]
Sent: Tuesday, March 22, 2005 1:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Timer object for logout

 

Also, the getTimer() function will return the number of milliseconds that have elapsed since the application started.  

 


From: Clint Modien [mailto:clint.modien@...]
Sent: Tuesday, March 22, 2005 10:27 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Timer object for logout

 

Not that I can think of off the top of my head… as a work around you could set a global datetime var in the app each time the user clicks on the app.

 

Then use the setInterval function to check that global var every x number of seconds…

 


From: Jeff Krueger [mailto:Jeff@...]
Sent: Tuesday, March 22, 2005 11:31 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Timer object for logout

 

All,

            Is there any type of a timer object that can be used to log a user out of an app after a certain length of inactivity?

 

Thanks

 

Jeff

 

 

 



 

This message contains information from Merlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through Merlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.

#12425 From: "Andora, Greg" <gandora@...>
Date: Fri Apr 1, 2005 7:54 pm
Subject: RE: [ChangeEvent()] and binding
and_or_a
Send Email Send Email
 
That did it, thanks a lot.

Greg Andora
-----Original Message-----
From: Ashish Goyal [mailto:agoyal@...]
Sent: Friday, April 01, 2005 11:35 AM
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] [ChangeEvent()] and binding

Hi Greg,
The problem is you are not dispatching the "myVar_changed" event. Add this line in your setter function and it should work.
 
dispatchEvent({type: "myVar_changed"});
Alternately, you can remove the whole ChangeEvent code and let Flex compiler do the work for you. Your MXML component code will look like:
 
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
        <mx:Script>
        <![CDATA[
 
                var myVar : String;
              
        ]]>
        </mx:Script>
        <mx:TextInput id="thisText" change="myVar=thisText.text;" />
</mx:Canvas>
 
Thanks
-Ashish
 
 
 


From: Andora, Greg [mailto:gandora@...]
Sent: Friday, April 01, 2005 11:05 AM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] [ChangeEvent()] and binding

Hi all,

I'm trying to expose a property of a custom component to be available for binding and can't seem to get it tor work.  Below is the code for a very basic example of what I'm trying to do.

I have a property (myVar) whose changes are triggered by something inside of the custom component.  The problem is, the changes to the property aren't being broadcast to the page using the component so that the bindings in the page are updated.

<!--Page running the component-->
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:cc="*">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
        ]]>
        </mx:Script>
        <!-- Instance of my component -->
        <cc:test id="testInput" />
        <!--Button to Alert the value of my variable shows the variable is being updated correctly -->
        <mx:Button click="Alert.show(testInput.myVar)" />
        <!-- Label whose text attribute is bound to the variable....doesn't get updated -->
        <mx:Label text="{testInput.myVar}" />
</mx:Application>


<!-- Component - test.mxml -->
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="http://www.macromedia.com/2003/mxml">
        <mx:Script>
        <![CDATA[
                import mx.controls.Alert;
                private var _myVar : String;
               
                [ChangeEvent("myVar_changed")]
                public function get myVar() : String
                {
                        return _myVar;
                }
                public function set myVar(newVal : String) : Void
                {
                        _myVar = newVal;
                }
        ]]>
        </mx:Script>
        <mx:TextInput id="thisText" change="myVar=thisText.text;" />
</mx:Canvas>


Thank you,
Greg Andora


----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com


----
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

To reply to our email administrator directly, send an email to
postmaster@...

Littler Mendelson, P.C.
http://www.littler.com



#12426 From: "jacksodj" <jacksodj@...>
Date: Fri Apr 1, 2005 7:52 pm
Subject: Re: administrativa : yahoogroups thread mode is unusable.
jacksodj
Send Email Send Email
 
Sounds like a perfect flex app.
tree nav etc.

--- In flexcoders@yahoogroups.com, "dduuggllaa" <douglass.turner@g...>
wrote:
>
> Could someone please instruct me in how to drive thread mode in the
> group. It behaves about as broken as is possible.
>
> My needs are simple, folks.
> - I want to walk the thread forward in time
> - I want to walk the thread backward in time
>
> I want to do either with out loosing my mind.
>
> -Douglass

#12427 From: Jeremy Bruck <jeremy@...>
Date: Fri Apr 1, 2005 8:17 pm
Subject: SOT: Flex Developer wanted in Atlanta
jeremybruck
Send Email Send Email
 
MfgQuote (www.MfgQuote.com) is looking for another CFMX & Macromedia Flex developer to join the team.  Applicants should have used Flex for the past 6 months minimum, and ColdFusion for the last 2-3 years.  Must be very good with CFCs.  Prefer those that have used Mach-II in production.    A working knowledge of the flex cairngorm framework is good as well.  Expertise in SQL and javascript is also required.
 
Please send your resume, code samples and salary request to flex@....  We would prefer someone in Atlanta or those willing to relocate to Atlanta.  Depending on skill set & situation we would be accept a commuter (travel to Atlanta 1-2 week(s)/month would be required).

Please NO recruiters!

Thanks,
Jeremy

#12428 From: Rich Tretola <rtretola@...>
Date: Fri Apr 1, 2005 8:54 pm
Subject: upload in central
rtretola@...
Send Email Send Email
 
Does anyone know the reference that I need to use on the coldfusion
side of a flex/ventral upload ?  I know that the .cfm page is being
called but I don't know what to reference in the cffile tag ?

<cffile action="UPLOAD"
        	 filefield="????????"
        	 destination="#tempImageDir#"
        	 nameconflict="MAKEUNIQUE"
        	 accept="image/*">

#12429 From: Spike <spike@...>
Date: Fri Apr 1, 2005 8:57 pm
Subject: Re: upload in central
spike@...
Send Email Send Email
 
Use cflog to log the names of the form fields that get posted.

You can then check the log file to see what the name was.

Spike

Rich Tretola wrote:
> Does anyone know the reference that I need to use on the coldfusion
> side of a flex/ventral upload ?  I know that the .cfm page is being
> called but I don't know what to reference in the cffile tag ?
>
> <cffile action="UPLOAD"
>          filefield="????????"
>          destination="#tempImageDir#"
>          nameconflict="MAKEUNIQUE"
>          accept="image/*">
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

--

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk

Do you cfeclipse? http://cfeclipse.tigris.org

#12430 From: Kyle <kylozamba@...>
Date: Fri Apr 1, 2005 9:10 pm
Subject: render html in flex
kylozamba
Send Email Send Email
 
Hi,
I'm new to Flex and am curious if it is possible to design a Flex app
that has an embedded html rederer within it.
We currently have a web app that renders some of its content from a
content management system (using iframes).  We are considering switching
the main app to Flex but would like to continue using the content
management system.  So, in other words, is it possible to use the
equivalent of an iframe within a flex app?
Thanks in advance,
- Kyle

#12431 From: "Doodi, Hari - BLS CTR" <doodi_h@...>
Date: Fri Apr 1, 2005 9:10 pm
Subject: un-selecting a row in datagrid
doodi_h@...
Send Email Send Email
 
Hi,
Does any one know how to un-select an already selected row in a datagrid?
Situation is like this, user can navigate data either by selecting an item
from datagrid or by clicking PrevBtn or NextBtn. When user selected an item
from DG and then used PrevBtn or NextBtn then data displayed on screen is
not for highlighted item in the grid. I want to un-select the item in DG as
soon as user click either PrevBtn or NextBtn? I know there is a
clearSelected( ) method available but the drawback, according to Doc, is it
clears and re-draws the entire list. I don't want to do this because of time
delay if I have huge data in DG. Thanks in advance..

Thanks!
Hari

#12432 From: Ashish Goyal <agoyal@...>
Date: Fri Apr 1, 2005 9:17 pm
Subject: RE: render html in flex
scorp3175
Send Email Send Email
 
See if htmlText property of Text controls solves the purpose..

You can find more info about htmlText in the Flex1.5 live docs.
http://livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/w
whelp.htm?href=part1_ge.htm

-Ashish

> -----Original Message-----
> From: Kyle [mailto:kylozamba@...]
> Sent: Friday, April 01, 2005 1:10 PM
> To: Flex Coders List
> Subject: [flexcoders] render html in flex
>
>
> Hi,
> I'm new to Flex and am curious if it is possible to design a Flex app
> that has an embedded html rederer within it.
> We currently have a web app that renders some of its content from a
> content management system (using iframes).  We are
> considering switching
> the main app to Flex but would like to continue using the content
> management system.  So, in other words, is it possible to use the
> equivalent of an iframe within a flex app?
> Thanks in advance,
> - Kyle
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

#12433 From: Gordon Smith <gsmith@...>
Date: Fri Apr 1, 2005 9:21 pm
Subject: RE: un-selecting a row in datagrid
gsmithsf
Send Email Send Email
 
Try setting dg.selectedIndex = undefined.

- Gordon

-----Original Message-----
From: Doodi, Hari - BLS CTR [mailto:doodi_h@...]
Sent: Friday, April 01, 2005 1:11 PM
To: 'flexcoders@yahoogroups.com'
Subject: [flexcoders] un-selecting a row in datagrid



Hi,
Does any one know how to un-select an already selected row in a datagrid?
Situation is like this, user can navigate data either by selecting an item
from datagrid or by clicking PrevBtn or NextBtn. When user selected an item
from DG and then used PrevBtn or NextBtn then data displayed on screen is
not for highlighted item in the grid. I want to un-select the item in DG as
soon as user click either PrevBtn or NextBtn? I know there is a
clearSelected( ) method available but the drawback, according to Doc, is it
clears and re-draws the entire list. I don't want to do this because of time
delay if I have huge data in DG. Thanks in advance..

Thanks!
Hari




Yahoo! Groups Links

#12434 From: "Matt Horn" <mhorn@...>
Date: Fri Apr 1, 2005 9:30 pm
Subject: RE: Key class Help
danger4242
Send Email Send Email
 
Another variation on this is to use addEventListener on the keyUp event
of _root. Of course, using "_root" is discouraged, but I haven't been
able to figure out an alternative.

---------begin--------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
initialize="initApp()" height="500" width="300" >
  <mx:Script><![CDATA[
  function debugTrace(msg){
   _ta.text+= msg + newline;
  }

  function initApp() {
   _root.addEventListener("keyUp",mx.utils.Delegate.create(this,
keyHandler));
  }

  function keyHandler(event) {
   debugTrace("Key:" + event.code + "(" + event.ascii + ")");
  }
  ]]></mx:Script>

  <mx:VBox>
   <mx:TextInput id="my_input" change="debugTrace('TextInput value
changed')" />
   <mx:TextArea id="_ta" text="" width="200" height="200"/>
  </mx:VBox>
</mx:Application>
------------end---------------

HTH,

Matt Horn

________________________________

	 From: Abdul Qabiz [mailto:aqabiz@...]
	 Sent: Friday, April 01, 2005 1:22 AM
	 To: flexcoders@yahoogroups.com; 'flexcoders@yahoogroups.com'
	 Subject: RE: [flexcoders] Key class Help


	 Hi Hari,

	 What I understand, you want to assign some keyboard shortcuts to
each
	 control on screen so that when shortcut key is pressed, control
get
	 focussed?

	 You can easily achieve this using Key object, as demonstrated in
code later
	 in this mail.

	 I am assuming,

	 - user would press CTRL + 1, CTRL + 2 ...to focus a control on
screen.
	 - user can press SPACE key to execute associated action with the
controls
	 like Button, CheckBox, RadioButton or any button kind of
component.
	 - user can use arrow keys to change values in list type of
controls like
	 ComboBox
	 - user can type in textfield like control....

	 Following example has some controls on screen and pressing CTRL
+ 1 .. CTRL
	 + 5 shifts the focus to corresponding control....


	 I would like to help you my best so that you are successful in
creating a
	 very accessible Flex app.

	 Please run it to find out more.. Following code is quick & dirty
demo, you
	 can always write a ShortcutManager class which is more easier to
use and
	 managable...

	 ###KeyObjectDemo.mxml###

	 <?xml version="1.0" encoding="utf-8"?>
	 <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
	 initialize="initApp()">
	 <mx:Script>
	 <![CDATA[

	      var keyListener:Object;

	      function debugTrace(msg)
	      {
	               _ta.text+= msg + newline;
	      }

	     function initApp()
	     {

	           keyListener = new Object();
	           keyListener.onKeyDown = mx.utils.Delegate.create(this,
	 shorcutHandler);
	           Key.addListener(keyListener);

	     }



	       function shorcutHandler()
	       {
	           var bControlPressed:Boolean = Key.isDown(Key.CONTROL);

	             if(bControlPressed) { //CTRL

	                 if(Key.isDown(49)) { // 1
	                     debugTrace("CTRL + 1");

	                     //set focus to textfield
	                     my_input.setFocus();
	                 }else if(Key.isDown(50)) { //2

	                     debugTrace("CTRL + 2");

	                     //set focus to button
	                     my_btn.setFocus();

	                   //  my_btn.dispatchEvent({type:"click"});
	                 }else if(Key.isDown(51)) { //3
	                     debugTrace("CTRL + 3");

	                     my_radio.setFocus();



	                 //  my_radio.selected = true;
	                 //    my_btn.dispatchEvent({type:"change"});

	                 }else if(Key.isDown(52)) { //4
	                     debugTrace("CTRL + 4");

	                     my_check.setFocus();


	                 }else if(Key.isDown(53)) { //5
	                     debugTrace("CTRL + 5");

	                     my_combo.setFocus();
	                 }
	             }

	       }
	 ]]>
	 </mx:Script>
	   <mx:TextInput id="my_input" focusIn="debugTrace('TextInput
focussed')"
	 change="debugTrace('TextInput value changed')"/>
	   <mx:Button label="Button" id="my_btn"
focusIn="debugTrace('Button
	 focussed')" click="debugTrace('button pressed')"/>
	   <mx:RadioButton label="radio" id="my_radio"
	 focusIn="debugTrace('RadioButton focussed')"
click="debugTrace('Radio button
	 selected')"/>
	   <mx:CheckBox label="Checkbox" id="my_check"
focusIn="debugTrace('CheckBox
	 focussed')" click="debugTrace('CheckBox change')"/>
	   <mx:ComboBox id="my_combo" focusIn="debugTrace('ComboBox
focussed')"
	 change="debugTrace('ComboBox selection changed')">
	     <mx:dataProvider>
	         <mx:Array>
	             <mx:String>India</mx:String>
	             <mx:String>USA</mx:String>
	             <mx:String>Australia</mx:String>
	         </mx:Array>
	     </mx:dataProvider>
	   </mx:ComboBox>

	   <mx:VBox>
	   <mx:Label text="Debug Info:"/>
	     <mx:TextArea id="_ta" text="" width="200" height="200"/>
	   </mx:VBox>
	 </mx:Application>


	 Hope that helps..

	 -abdul



	 -----Original Message-----
	 From: Doodi, Hari - BLS CTR [mailto:doodi_h@...]
	 Sent: Thursday, March 31, 2005 8:48 PM
	 To: 'flexcoders@yahoogroups.com'
	 Subject: [flexcoders] Key class Help

	 Hi list,

	 I need some help/explanation about Key class. Based on the
examples
	 mentioned in the live docs as well as in Action Script Language
Reference I
	 created the following mxml files. I want to use the Key class to
allow the
	 user use key board to access UI Objects, but no success. Any
help
	 appreciated.


	 <<Keyboard_2.mxml>>  <<Keyboard_0.mxml>>  <<Keyboard_1.mxml>>

	 Thanks!
	 Hari




	 Yahoo! Groups Links






________________________________

	 Yahoo! Groups Links


	 * To visit your group on the web, go to:
		 http://groups.yahoo.com/group/flexcoders/

	 * To unsubscribe from this group, send an email to:
		 flexcoders-unsubscribe@yahoogroups.com
<mailto:flexcoders-unsubscribe@yahoogroups.com?subject=Unsubscribe>

	 * Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> .

#12435 From: Gordon Smith <gsmith@...>
Date: Fri Apr 1, 2005 9:37 pm
Subject: RE: Key class Help
gsmithsf
Send Email Send Email
 
Use application instead of _root.

- Gordon

-----Original Message-----
From: Matt Horn [mailto:mhorn@...]
Sent: Friday, April 01, 2005 1:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Key class Help



Another variation on this is to use addEventListener on the keyUp event
of _root. Of course, using "_root" is discouraged, but I haven't been
able to figure out an alternative.

---------begin--------------
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
initialize="initApp()" height="500" width="300" >
  <mx:Script><![CDATA[
  function debugTrace(msg){
   _ta.text+= msg + newline;
  }

  function initApp() {
   _root.addEventListener("keyUp",mx.utils.Delegate.create(this,
keyHandler));
  }

  function keyHandler(event) {
   debugTrace("Key:" + event.code + "(" + event.ascii + ")");
  }
  ]]></mx:Script>

  <mx:VBox>
   <mx:TextInput id="my_input" change="debugTrace('TextInput value
changed')" />
   <mx:TextArea id="_ta" text="" width="200" height="200"/>
  </mx:VBox>
</mx:Application>
------------end---------------

HTH,

Matt Horn

________________________________

	 From: Abdul Qabiz [mailto:aqabiz@...]
	 Sent: Friday, April 01, 2005 1:22 AM
	 To: flexcoders@yahoogroups.com; 'flexcoders@yahoogroups.com'
	 Subject: RE: [flexcoders] Key class Help


	 Hi Hari,

	 What I understand, you want to assign some keyboard shortcuts to
each
	 control on screen so that when shortcut key is pressed, control
get
	 focussed?

	 You can easily achieve this using Key object, as demonstrated in
code later
	 in this mail.

	 I am assuming,

	 - user would press CTRL + 1, CTRL + 2 ...to focus a control on
screen.
	 - user can press SPACE key to execute associated action with the
controls
	 like Button, CheckBox, RadioButton or any button kind of
component.
	 - user can use arrow keys to change values in list type of
controls like
	 ComboBox
	 - user can type in textfield like control....

	 Following example has some controls on screen and pressing CTRL
+ 1 .. CTRL
	 + 5 shifts the focus to corresponding control....


	 I would like to help you my best so that you are successful in
creating a
	 very accessible Flex app.

	 Please run it to find out more.. Following code is quick & dirty
demo, you
	 can always write a ShortcutManager class which is more easier to
use and
	 managable...

	 ###KeyObjectDemo.mxml###

	 <?xml version="1.0" encoding="utf-8"?>
	 <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
	 initialize="initApp()">
	 <mx:Script>
	 <![CDATA[

	      var keyListener:Object;

	      function debugTrace(msg)
	      {
	               _ta.text+= msg + newline;
	      }

	     function initApp()
	     {

	           keyListener = new Object();
	           keyListener.onKeyDown = mx.utils.Delegate.create(this,
	 shorcutHandler);
	           Key.addListener(keyListener);

	     }



	       function shorcutHandler()
	       {
	           var bControlPressed:Boolean = Key.isDown(Key.CONTROL);

	             if(bControlPressed) { //CTRL

	                 if(Key.isDown(49)) { // 1
	                     debugTrace("CTRL + 1");

	                     //set focus to textfield
	                     my_input.setFocus();
	                 }else if(Key.isDown(50)) { //2

	                     debugTrace("CTRL + 2");

	                     //set focus to button
	                     my_btn.setFocus();

	                   //  my_btn.dispatchEvent({type:"click"});
	                 }else if(Key.isDown(51)) { //3
	                     debugTrace("CTRL + 3");

	                     my_radio.setFocus();



	                 //  my_radio.selected = true;
	                 //    my_btn.dispatchEvent({type:"change"});

	                 }else if(Key.isDown(52)) { //4
	                     debugTrace("CTRL + 4");

	                     my_check.setFocus();


	                 }else if(Key.isDown(53)) { //5
	                     debugTrace("CTRL + 5");

	                     my_combo.setFocus();
	                 }
	             }

	       }
	 ]]>
	 </mx:Script>
	   <mx:TextInput id="my_input" focusIn="debugTrace('TextInput
focussed')"
	 change="debugTrace('TextInput value changed')"/>
	   <mx:Button label="Button" id="my_btn"
focusIn="debugTrace('Button
	 focussed')" click="debugTrace('button pressed')"/>
	   <mx:RadioButton label="radio" id="my_radio"
	 focusIn="debugTrace('RadioButton focussed')"
click="debugTrace('Radio button
	 selected')"/>
	   <mx:CheckBox label="Checkbox" id="my_check"
focusIn="debugTrace('CheckBox
	 focussed')" click="debugTrace('CheckBox change')"/>
	   <mx:ComboBox id="my_combo" focusIn="debugTrace('ComboBox
focussed')"
	 change="debugTrace('ComboBox selection changed')">
	     <mx:dataProvider>
	         <mx:Array>
	             <mx:String>India</mx:String>
	             <mx:String>USA</mx:String>
	             <mx:String>Australia</mx:String>
	         </mx:Array>
	     </mx:dataProvider>
	   </mx:ComboBox>

	   <mx:VBox>
	   <mx:Label text="Debug Info:"/>
	     <mx:TextArea id="_ta" text="" width="200" height="200"/>
	   </mx:VBox>
	 </mx:Application>


	 Hope that helps..

	 -abdul



	 -----Original Message-----
	 From: Doodi, Hari - BLS CTR [mailto:doodi_h@...]
	 Sent: Thursday, March 31, 2005 8:48 PM
	 To: 'flexcoders@yahoogroups.com'
	 Subject: [flexcoders] Key class Help

	 Hi list,

	 I need some help/explanation about Key class. Based on the
examples
	 mentioned in the live docs as well as in Action Script Language
Reference I
	 created the following mxml files. I want to use the Key class to
allow the
	 user use key board to access UI Objects, but no success. Any
help
	 appreciated.


	 <<Keyboard_2.mxml>>  <<Keyboard_0.mxml>>  <<Keyboard_1.mxml>>

	 Thanks!
	 Hari




	 Yahoo! Groups Links






________________________________

	 Yahoo! Groups Links


	 * To visit your group on the web, go to:
		 http://groups.yahoo.com/group/flexcoders/

	 * To unsubscribe from this group, send an email to:
		 flexcoders-unsubscribe@yahoogroups.com
<mailto:flexcoders-unsubscribe@yahoogroups.com?subject=Unsubscribe>

	 * Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> .







Yahoo! Groups Links

#12436 From: Tom Fitzpatrick <tom@...>
Date: Fri Apr 1, 2005 9:50 pm
Subject: Datagrid rowcount
tom24569
Send Email Send Email
 
Setting a datagrid's variableRowHeight property to true (and enabling
wordwrap in one of the columns) seems to make it impossible to reset the
rowCount, which stays at the default of 6 rows even though I define the
rowCount property as 2 (or try to have it match the length of the
dataProvider).

Is there any solution to this - if it's not just something I'm doing wrong?

- Tom

#12437 From: Seth Voltz <tauceti@...>
Date: Fri Apr 1, 2005 9:57 pm
Subject: Re: Re: New event manager
sethvoltz
Send Email Send Email
 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm not sure I understand what you mean by a "central model"

I can't hard code a single class to send requests to many places if
that's what you're suggesting. The reason for this is I'm developing a
core application that can have any number of modules loaded into it.
The purpose of the EventManager class would be when a module loads, it
registers itself for events then sits back and waits.

If it's not something that exists already, however, it's not a big
deal. I have a lot of code ready for conversion.

Thanks,
      Seth

On Apr 01, 2005, at 07:13, r0main wrote:

>
>
> Hello,
> not sure global-multicasting is a "better" event handling than the
> Cairngorm's core-handling.
> In the past a good software re-design allowed me to skip a lot of
> requirements I was asking Steven to put into Cairngorm, like event
> sequencing...
>
> Can't a central model fit your need ?
> (updated by one command or action, but with many bindings destination
> across the application) ?
>
> Romain
>
>
> --- In flexcoders@yahoogroups.com, "Robert Stuttaford" <robert@w...>
> wrote:
>> Seth, I think you're looking for a way to notify multiple
> views/other
>> elements when a command is complete.
>>
>> Cairngorm maps a single command to a single event. It doesn't
> prescribe much
>> about what to do when the event is done, but provides ViewLocator to
> find
>> the views you might need to update.
>>
>> I think you're possibly looking to formalize a listener list to
> broadcast to
>> for the onResult element of your command class. You could expose
> logic in
>> the front controller to allow views and other classes to listen for
> command
>> completion by command name, and then create a base command class,
> which
>> contains the listen/broadcast functionality, to derive your commands
> from.
>>
>> I guess you could also include a broadcast for the execute, to
> allow for
>> pre-execution logic.
>>
>> I've not personally run into a situation where I could use this
> (done
>> nothing big enough, yet :D), but I'm certain this could provide
> value.
>>
>> Give it a go!
>>
>> Sunny skies,
>> Robert
>>
>> -----Original Message-----
>> From: Seth Voltz [mailto:tauceti@d...]
>> Sent: 01 April 2005 10:16 AM
>> To: Flex Coders
>> Subject: [flexcoders] New event manager
>>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hey everyone,
>>
>> So I'm considering writing an event handler slightly different than
> the
>> one in cairngorm and wanted to make sure I can't already do it or
> that
>> it doesn't already exist somewhere in a similar form.
>>
>> So currently the way events work in cairngorm (at least the way I
>> learned them and use them) is I broadcast an event from anywhere,
> it
>> gets picked up by an event commander, passed through a delegator
> and on
>> to a specific location, usually through the use of view helpers.
>>
>> Now, this has been real handy for most stuff because all events
> passed
>> only had one destination. Unfortunately, now my app is getting a
> bit
>> more complicated and it has multiple things that need to know when
>> something happens. The first solution to this was a "Login Handler"
>> (which I'm going to release at some point... probably when I get
> the
>> free time to package it up and document it properly.) which allows
> any
>> class to register itself (either with calls to the static class or
>> through a "LoginHelper" which is simply an MXML wrapper for those
>> calls) and when the login managers "triggerLogin" function is
> called,
>> it executes the "loginTriggered" function in all registered
> classes.
>> The same goes for "triggerLogout" and "logoutTriggered"
> respectively.
>>
>> So, to recap. I need a better event handler. I want to register
> classes
>> with a master event manager which calls back to all classes when
> any
>> class triggers the specified event. Is this already in existence?
> Is it
>> already in Cairngorm? If not... I'll write it. :)
>>
>> Thanks,
>>       Seth
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.4 (Darwin)
>>
>> iD8DBQFCTQNHsnBTlzgQQ28RAtn3AJ9SDu4/gAYecJr7W7BxmDr24/3McQCfZ+aP
>> c6D9nvE6LBOwPwHMsYX52Lk=
>> =+9qa
>> -----END PGP SIGNATURE-----
>>
>>
>>
>>
>> Yahoo! Groups Links
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTcPMsnBTlzgQQ28RAo9vAJsHWmcu8rQm8VjWxpMEsKp39PmpKwCaAosA
GZl+PCBgAycOkNOWlefutUc=
=oDeW
-----END PGP SIGNATURE-----

#12438 From: Ashish Goyal <agoyal@...>
Date: Fri Apr 1, 2005 10:15 pm
Subject: RE: Datagrid rowcount
scorp3175
Send Email Send Email
 
For variable row height DataGrid, rowCount is not supported. Since the
rowheight is not constant in a VRH DG, its not possible to show fix number
of rows in a fixed height datagrid. Make sense?

To show 2 rows in a VRH DG, you can set DataGrid height such that it only
shows 2 rows ;) It will work really well if your row height (row content) is
fixed.

-Ashish


> -----Original Message-----
> From: Tom Fitzpatrick [mailto:tom@...]
> Sent: Friday, April 01, 2005 1:50 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Datagrid rowcount
>
>
> Setting a datagrid's variableRowHeight property to true (and enabling
> wordwrap in one of the columns) seems to make it impossible
> to reset the
> rowCount, which stays at the default of 6 rows even though I
> define the
> rowCount property as 2 (or try to have it match the length of the
> dataProvider).
>
> Is there any solution to this - if it's not just something
> I'm doing wrong?
>
> - Tom
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

Messages 12409 - 12438 of 165719   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help