[flexcoders] Need to save Employee Form data in a database

2009-05-07 Thread shabirgilkar
Hi Flexers!

I am fresher just learning the flex, can any body help me how to save data in a 
database and what kind of setting i need to follow. I mean to say to save data 
in a access database.

Thanks



[flexcoders] Sending textinput id

2009-05-07 Thread Gustavo
Hi, I have a form and I would like to add the textinput id to an array so I 
know which fields were edited, I trigger the change event on each one but I 
can't send the textinput id via the event.
any of this I'm saying makes sense? and if it does, how do I do it, or maybe 
there is a better way to update only the fields edited in a form?

Some light about this would be really appreciated. thanks.




[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

This all sounds like overkill; since you are really only interested in
UIComponentB knowing the position of SpriteC.  If you make SpriteC
public, is it possible to bind the x/y values for UIComponentB to
uiComponentA.spriteC.x and y (localToContent)?

-TH

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> If you can use a subclass of Sprite that dispatches the events you
need, that will be the least expensive solution in terms of CPU usage.
If you can't use a subclass or you won't have so many Sprites that
polling will matter, polling will probably be sufficient.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of Tim Hoff
> Sent: Thursday, May 07, 2009 9:32 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Tracking a sprite's position
>
>
>
>
>
> My thought was that since all of the Sprites of UIComponentA were
> children, they would invalidate the display list of UIComponentA
> whenever they were changed. I forget that Sprites are their own beast.
> If you can't find a way to listen for changes to all of the Sprite's
> position/size, and trigger action on the common canvas, enterframe
> starts to sound more and more appealing. I'm still wondering though,
> what you plan to do onEnterFrame, in order to re-position
UIComponentB.
> For a parent or sibling to know about a component's state (or it's
> children), events and public vars/methods are usually employed. I'm
> interested to hear what you end up doing for this edge-case.
> Challenging for me, I can say.
>
> -TH
>
> --- In
flexcoders@yahoogroups.com, Aaron
Hardy aaronius9er@ wrote:
> >
> > What would be invalidating UIComponent A's display list? It's my
> > understanding that if Sprite B were to be scaled (which is
likely--it
> is
> > a graphic editing app afterall) but not Sprite A, the display list
of
> > UIComponent A would never be invalidated, so updateDisplayList
> wouldn't
> > be called in that case. The same is true if Sprite C were scaled or
> > moved but not any members of its parent chain. Yet UIComponent B
still
> > needs to stay stuck to Sprite C. Again, I definitely could be wrong.
> >
> > I guess the simple answer would be to make any tool or button or
> > anything that scales or moves anything inside UIComponent A trigger
> > UIComponent B to update its location, but I can already think of
quite
> a
> > fiew places that would have to happen and it seems like future
> > developers would intrinsically have to know that if they make a new
> tool
> > that modifies the position/scale of any of the elements that they
need
> > to trigger UIComponent B to update its position. Ugh. That's what
I'm
> > trying to avoid.
> >
> > Keep 'em coming if you've got 'em. It's not a dire situation so I'll
> > save my dire need credits for later if needed. :)
> >
> > Aaron
> >
> > Tim Hoff wrote:
> > >
> > >
> > >
> > > Actually, in thinking about it a bit more, why not dispatch a
custom
> > > event in the updateDisplayList function of UIComponentA; that
> contains
> > > the coordinates of SpriteC. This will happen a lot less frequently
> than
> > > listening for the enterFrame event.
> > >
> > > -TH
> > >
> > > --- In
flexcoders@yahoogroups.com
> > > , "Tim Hoff" TimHoff@ wrote:
> > > >
> > > >
> > > > Batting .000 so far. The only other thing that I can think of,
is
> to
> > > > move UIComponentB into UIComponnentA, same level as SpriteC, and
> bind
> > > > the position of UIComponentB to the x and y (plus any offset) of
> > > > SpriteC. Sorry that I couldn't have offered more useful help. It
> > > > sounds like you have an interesting use-case. Good luck Aaron.
> > > >
> > > > -TH
> > > >
> > > > --- In
flexcoders@yahoogroups.com
> > > , Aaron Hardy aaronius9er@
> wrote:
> > > > >
> > > > > Unfortunately that isn't a great option in our case. The
sprite
> in
> > > > > question is part of a graphical editor where dozens and dozens
> of
> > > > > sprites may be on the stage and they only provide a simple
> graphical
> > > > > representation so converting them to uicomponents would
probably
> be
> > > > more
> > > > > overkill than watching the sprite's position on each
> enter_frame. If
> > > > > you come up with any other ideas, please let me know.
> > > > >
> > > > > Aaron
> > > > >
> > > > > Tim Hoff wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > No, you're right. My suggestion was more theoretical more
than
> > > > anything
> > > > > > else. You may need to change the Sprites to UIComponents; to
> get
> > > > those
> > > > > > events.
> > > > > >
> > > > > > -TH
> > > > > >
> > > > > > --- In
flexcoders@yahoogroups.com
> > > 

RE: [flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Alex Harui
If you can use a subclass of Sprite that dispatches the events you need, that 
will be the least expensive solution in terms of CPU usage.  If you can't use a 
subclass or you won't have so many Sprites that polling will matter, polling 
will probably be sufficient.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Tim Hoff
Sent: Thursday, May 07, 2009 9:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tracking a sprite's position





My thought was that since all of the Sprites of UIComponentA were
children, they would invalidate the display list of UIComponentA
whenever they were changed. I forget that Sprites are their own beast.
If you can't find a way to listen for changes to all of the Sprite's
position/size, and trigger action on the common canvas, enterframe
starts to sound more and more appealing. I'm still wondering though,
what you plan to do onEnterFrame, in order to re-position UIComponentB.
For a parent or sibling to know about a component's state (or it's
children), events and public vars/methods are usually employed. I'm
interested to hear what you end up doing for this edge-case.
Challenging for me, I can say.

-TH

--- In flexcoders@yahoogroups.com, Aaron 
Hardy  wrote:
>
> What would be invalidating UIComponent A's display list? It's my
> understanding that if Sprite B were to be scaled (which is likely--it
is
> a graphic editing app afterall) but not Sprite A, the display list of
> UIComponent A would never be invalidated, so updateDisplayList
wouldn't
> be called in that case. The same is true if Sprite C were scaled or
> moved but not any members of its parent chain. Yet UIComponent B still
> needs to stay stuck to Sprite C. Again, I definitely could be wrong.
>
> I guess the simple answer would be to make any tool or button or
> anything that scales or moves anything inside UIComponent A trigger
> UIComponent B to update its location, but I can already think of quite
a
> fiew places that would have to happen and it seems like future
> developers would intrinsically have to know that if they make a new
tool
> that modifies the position/scale of any of the elements that they need
> to trigger UIComponent B to update its position. Ugh. That's what I'm
> trying to avoid.
>
> Keep 'em coming if you've got 'em. It's not a dire situation so I'll
> save my dire need credits for later if needed. :)
>
> Aaron
>
> Tim Hoff wrote:
> >
> >
> >
> > Actually, in thinking about it a bit more, why not dispatch a custom
> > event in the updateDisplayList function of UIComponentA; that
contains
> > the coordinates of SpriteC. This will happen a lot less frequently
than
> > listening for the enterFrame event.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com
> > , "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > Batting .000 so far. The only other thing that I can think of, is
to
> > > move UIComponentB into UIComponnentA, same level as SpriteC, and
bind
> > > the position of UIComponentB to the x and y (plus any offset) of
> > > SpriteC. Sorry that I couldn't have offered more useful help. It
> > > sounds like you have an interesting use-case. Good luck Aaron.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com
> > , Aaron Hardy aaronius9er@
wrote:
> > > >
> > > > Unfortunately that isn't a great option in our case. The sprite
in
> > > > question is part of a graphical editor where dozens and dozens
of
> > > > sprites may be on the stage and they only provide a simple
graphical
> > > > representation so converting them to uicomponents would probably
be
> > > more
> > > > overkill than watching the sprite's position on each
enter_frame. If
> > > > you come up with any other ideas, please let me know.
> > > >
> > > > Aaron
> > > >
> > > > Tim Hoff wrote:
> > > > >
> > > > >
> > > > >
> > > > > No, you're right. My suggestion was more theoretical more than
> > > anything
> > > > > else. You may need to change the Sprites to UIComponents; to
get
> > > those
> > > > > events.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In flexcoders@yahoogroups.com
> > 
> > > > > , Aaron Hardy
aaronius9er@
> > > > > wrote:
> > > > > >
> > > > > > Maybe I'm missing something really fundamental then; I
didn't
> > > think
> > > > > > Sprites dispatched move and size events and the
documentation
> > > doesn't
> > > > > > show any such events either. I'll do some more research
later,
> > but
> > > > > > please correct me if you know something I don't.
> > > > > >
> > > > > > Thanks for the response.
> > > > > >
> > > > > > Aaron
> > > > > >
> > > > > > Tim Hoff wrote:
>

[flexcoders] Re: Remove Popup from ItemRenderer

2009-05-07 Thread cvsikh
There is a datagrid with an external itemrenderer which opens a popup.  Along 
with opening the popup, I want to close the original titlewindow in which I 
have the datagrid.

Thanks for your help!
--- In flexcoders@yahoogroups.com, "Tracy Spratt"  wrote:
>
> Sorry I did not understand any of that, will you please explain in more
> detail?
> 
>  
> 
> Tracy Spratt,
> 
> Lariat Services, development services available
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of cvsikh
> Sent: Thursday, May 07, 2009 7:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Remove Popup from ItemRenderer
> 
>  
> 
> 
> 
> 
> 
> 
> Hi,
> 
> I was wondering if its possible to trigger removepopup(this) (or some other
> method) from a external item renderer. Popupmanager is not removing the
> actual popup which holds the itemrenderer.
>




RE: [flexcoders] Re: Unloading/stopping sounds from SWFLoader .swf

2009-05-07 Thread Alex Harui
Oh sure, that's what I mean by cooperation.  Your SWF has to request the other 
SWF to stop.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Jason
Sent: Thursday, May 07, 2009 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Unloading/stopping sounds from SWFLoader .swf





Thanks Alex. That's too bad. On this project, we're stuck then with no support 
for external .swfs that have sound since we're using FP9. Bummer.

I wonder if we could use LocalConnection to communicate with the AVM1 Captivate 
or Camtasia files to stop the sound. Possible in theory?

Jason

--- In flexcoders@yahoogroups.com, Alex 
Harui  wrote:
>
> Without cooperation from the loaded SWF, there is no way to stop audio from 
> outside that swf on FP9
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On 
> Behalf Of Merrill, Jason
> Sent: Thursday, May 07, 2009 9:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] RE: Unloading/stopping sounds from SWFLoader .swf
>
>
>
>
>
> Ah crap. To add on to this, this seems to be a bug that was only fixed with 
> the Flash 10 player: http://bugs.adobe.com/jira/browse/SDK-14379 - I have to 
> target Flash 9. Is this really still an outstanding bug with Flex 3 and Flash 
> 9? That really bites.
>
> Jason Merrill
>
> Bank of America [cid:image001.gif@...] Global Learning
>
> Shared Services Solutions Development
>
>
> Monthly meetings on the Adobe Flash platform for rich media experiences - 
> join the Bank of America Flash Platform 
> Community
>
> _
> From: Merrill, Jason
> Sent: Thursday, May 07, 2009 12:55 PM
> To: 'flexcoders@yahoogroups.com'
> Subject: Unloading/stopping sounds from SWFLoader .swf
>
> I'm having a problem getting sounds from .swfs (both AVM1 and AVM2) to stop 
> playing. I am adding these .swfs (loaded with SWFLoader) onto a Canvas in my 
> Flex application. The instance of my SWFLoader is _swfLoader which I add as a 
> child to the _demoCanvas Canvas. Here is what I have tried (my lame attempt 
> at garbage collection):
>
>
>
> private function hideScreenAnimation():void
>
> {
>
> _swfLoader.removeEventListener(Event.COMPLETE, onSwfLoaded);
>
> _swfLoader.removeEventListener(Event.UNLOAD, onSwfUnload);
>
> _swfLoader = null;
>
> removeChild(_demoCanvas);
>
> _demoCanvas = null;
>
> SoundMixer.stopAll();
>
> }
>
> I can't seem to locate any unload() method for SWFLoader instances or 
> SWFLoader.content. SoundMixer.stopAll() seems to have no effect. Again, these 
> are both AVM1 and AVM2 .swfs which contain sounds. I don't have any control 
> over the AVM1 files, they are produced by someone else using another app 
> (Captivate and Camtasia). The AVM2 .swf is just a simple .swf I made with 
> Flash CS3 and contains a sound on the timeline.
>
> Thanks, any help is appreciated. I've researched this enough with Google and 
> none of the suggestions I've found seem to work.
>
> Jason Merrill
>
> Bank of America << OLE Object: Picture (Device Independent Bitmap) >> Global 
> Learning
>
> Shared Services Solutions Development
>
>
> Monthly meetings on the Adobe Flash platform for rich media experiences - 
> join the Bank of America Flash Platform 
> Community
>



RE: [flexcoders] Problem displaying item renderer on on TileList

2009-05-07 Thread Alex Harui
Try {XML(data)@thumbnail}

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of gilbert_mizrahi
Sent: Thursday, May 07, 2009 3:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem displaying item renderer on on TileList





I am creating an app. in which a need to display some thumbnails on a TileList, 
but the thumbnails are not visible on the TileList. However, if a click on a 
tile it does what it is suppose to do and it creates the number of tiles 
according to the data provider, only the tiles are not visible.

My code is:




the item renderer component is:

http://www.adobe.com/2006/mxml"; width="200" paddingTop="0" 
paddingBottom="0" xmlns:controls="com.asfusion.controls.*" 
horizontalAlign="center" verticalGap="0" toolTip="{data.description.text()}" 
backgroundColor="0xcc" borderColor="0x293f6f" borderThickness="2">











The data provider is an XMLList.
If a replace the TileList with a list or horizontalList the item renderer is 
visible. Can someone tell me what I am doing wrong?

Thanks,
Gilbert



[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

My thought was that since all of the Sprites of UIComponentA were
children, they would invalidate the display list of UIComponentA
whenever they were changed.  I forget that Sprites are their own beast. 
If you can't find a way to listen for changes to all of the Sprite's
position/size, and trigger action on the common canvas,  enterframe
starts to sound more and more appealing.   I'm still wondering though,
what you plan to do onEnterFrame, in order to re-position UIComponentB. 
For a parent or sibling to know about a component's state (or it's
children),  events and public vars/methods are usually employed.  I'm
interested to hear what you end up doing for this edge-case. 
Challenging for me, I can say.

-TH

--- In flexcoders@yahoogroups.com, Aaron Hardy  wrote:
>
> What would be invalidating UIComponent A's display list? It's my
> understanding that if Sprite B were to be scaled (which is likely--it
is
> a graphic editing app afterall) but not Sprite A, the display list of
> UIComponent A would never be invalidated, so updateDisplayList
wouldn't
> be called in that case. The same is true if Sprite C were scaled or
> moved but not any members of its parent chain. Yet UIComponent B still
> needs to stay stuck to Sprite C. Again, I definitely could be wrong.
>
> I guess the simple answer would be to make any tool or button or
> anything that scales or moves anything inside UIComponent A trigger
> UIComponent B to update its location, but I can already think of quite
a
> fiew places that would have to happen and it seems like future
> developers would intrinsically have to know that if they make a new
tool
> that modifies the position/scale of any of the elements that they need
> to trigger UIComponent B to update its position. Ugh. That's what I'm
> trying to avoid.
>
> Keep 'em coming if you've got 'em. It's not a dire situation so I'll
> save my dire need credits for later if needed. :)
>
> Aaron
>
> Tim Hoff wrote:
> >
> >
> >
> > Actually, in thinking about it a bit more, why not dispatch a custom
> > event in the updateDisplayList function of UIComponentA; that
contains
> > the coordinates of SpriteC. This will happen a lot less frequently
than
> > listening for the enterFrame event.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com
> > , "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > Batting .000 so far. The only other thing that I can think of, is
to
> > > move UIComponentB into UIComponnentA, same level as SpriteC, and
bind
> > > the position of UIComponentB to the x and y (plus any offset) of
> > > SpriteC. Sorry that I couldn't have offered more useful help. It
> > > sounds like you have an interesting use-case. Good luck Aaron.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com
> > , Aaron Hardy aaronius9er@
wrote:
> > > >
> > > > Unfortunately that isn't a great option in our case. The sprite
in
> > > > question is part of a graphical editor where dozens and dozens
of
> > > > sprites may be on the stage and they only provide a simple
graphical
> > > > representation so converting them to uicomponents would probably
be
> > > more
> > > > overkill than watching the sprite's position on each
enter_frame. If
> > > > you come up with any other ideas, please let me know.
> > > >
> > > > Aaron
> > > >
> > > > Tim Hoff wrote:
> > > > >
> > > > >
> > > > >
> > > > > No, you're right. My suggestion was more theoretical more than
> > > anything
> > > > > else. You may need to change the Sprites to UIComponents; to
get
> > > those
> > > > > events.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In flexcoders@yahoogroups.com
> > 
> > > > > , Aaron Hardy
aaronius9er@
> > > > > wrote:
> > > > > >
> > > > > > Maybe I'm missing something really fundamental then; I
didn't
> > > think
> > > > > > Sprites dispatched move and size events and the
documentation
> > > doesn't
> > > > > > show any such events either. I'll do some more research
later,
> > but
> > > > > > please correct me if you know something I don't.
> > > > > >
> > > > > > Thanks for the response.
> > > > > >
> > > > > > Aaron
> > > > > >
> > > > > > Tim Hoff wrote:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Using enterFrame is pretty expensive. I'd probably listen
for
> > > > > SpriteC's
> > > > > > > move and resize events in the common canvas and position
> > > > > UIComponentB;
> > > > > > > based on the event.currentTarget.x and y coordinates. The
> > events
> > > > > will
> > > > > > > have to be bubbled up from SpriteC to UIComponentA to the
> > common
> > > > > canvas.
> > > > > > > Use localToGlobal to find the desired coordinates to
position
> > > > > > > UIComponentB. You might experience a little lag; so the
two
> > may
> > > not
> > > > > > > look like they are connected though.
> > > > > > >
> > > > > > > -TH
> > > > > > >
> > > > > > > --- In flexcoders@yahoogro

[flexcoders] Re: LinkButton themeColor

2009-05-07 Thread chandruflex
Thank you for the code, Tim Hoff.

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
> 
> The text color and text decoration can be set in CSS.  For buttonMode,
> you can extend LinkButton and use the custom component:
> 
> package controls
> {
>   import mx.controls.LinkButton;
> 
>   public class MyLinkButton extends LinkButton
>   {
>public function MyLinkButton()
>{
> super();
> 
>this.buttonMode = true;
>this.focusEnabled = false;
>}
>   }
> }
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "chandruflex" 
> wrote:
> >
> > I am trying to implement a HTML  tag like thing using the
> LinkButton. When I move my mouse-cursor over the LinkButton, I see a
> Blue colored rectangle. This is the value of the "themeColor" style of a
> LinkButton. Setting the "themeColor" to a value that is the background
> color of the container in which the LinkButton is placed, does not look
> like a HTML  tag would.
> >
> > Anyhow, I came to know about the "rollOverColor" style of the
> LinkButton. Setting its value to the background color of the container
> in which the LinkButton resides, does not show a rectangle.
> >
> > Now, the only effort I have to put in is to set the "buttonMode"
> property to "true", the "textDecoration" style to "underline", and the
> "color" style to "#FF".
> >
> > Thank you Tom.
> >
> > --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote:
> > >
> > > On Thursday 07 May 2009, chandruflex wrote:
> > > > Is it possible to remove the "themeColor" style of a LinkButton?
> > >
> > > To what end ?
> > >
> > > --
> > > Helping to vitalistically pursue services as part of the IT team of
> the
> > > year, '09 and '08
> > >
> > > Tom Chiverton
> > > Developer
> > > Tel: +44 0161 618 5032
> > > Fax: +44 0161 618 5099
> > > Tom.Chiverton@
> > > 3 Hardman Square, Manchester, M3 3EB
> > > www.Halliwells.com
> > >
> > > 
> > >
> > > This email is sent for and on behalf of Halliwells LLP.
> > >
> > > Halliwells LLP is a limited liability partnership registered in
> England and Wales under registered number OC307980 whose registered
> office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
> Manchester, M3 3EB. A list of members is available for inspection at the
> registered office together with a list of those non members who are
> referred to as partners. We use the word ?partner? to refer to a member
> of the LLP, or an employee or consultant with equivalent standing and
> qualifications. Regulated by the Solicitors Regulation Authority.
> > >
> > > CONFIDENTIALITY
> > >
> > > This email is intended only for the use of the addressee named above
> and may be confidential or legally privileged. If you are not the
> addressee you must not read it and must not use any information
> contained in nor copy it nor inform any person other than Halliwells LLP
> or the addressee of its existence or contents. If you have received this
> email in error please delete it and notify Halliwells LLP IT Department
> on 0870 365 2500.
> > >
> > > For more information about Halliwells LLP visit www.Halliwells.com.
> > >
> >
>




[flexcoders] Re: LinkButton themeColor

2009-05-07 Thread chandruflex
Thank you for the link, Valdhor.

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Why not just use the Hyperlink component from jabbypanda?
> 
> http://www.jabbypanda.com/blog/?p=28
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "chandruflex"  wrote:
> >
> > I am trying to implement a HTML  tag like thing using the LinkButton. 
> > When I move my mouse-cursor over the LinkButton, I see a Blue colored 
> > rectangle. This is the value of the "themeColor" style of a LinkButton. 
> > Setting the "themeColor" to a value that is the background color of the 
> > container in which the LinkButton is placed, does not look like a HTML  
> > tag would.
> > 
> > Anyhow, I came to know about the "rollOverColor" style of the LinkButton. 
> > Setting its value to the background color of the container in which the 
> > LinkButton resides, does not show a rectangle.
> > 
> > Now, the only effort I have to put in is to set the "buttonMode" property 
> > to "true", the "textDecoration" style to "underline", and the "color" style 
> > to "#FF".
> > 
> > Thank you Tom.
> > 
> > --- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
> > >
> > > On Thursday 07 May 2009, chandruflex wrote:
> > > > Is it possible to remove the "themeColor" style of a LinkButton?
> > > 
> > > To what end ?
> > > 
> > > -- 
> > > Helping to vitalistically pursue services as part of the IT team of the 
> > > year, '09 and '08
> > > 
> > > Tom Chiverton
> > > Developer
> > > Tel: +44 0161 618 5032
> > > Fax: +44 0161 618 5099 
> > > Tom.Chiverton@
> > > 3 Hardman Square, Manchester, M3 3EB
> > > www.Halliwells.com
> > > 
> > > 
> > > 
> > > This email is sent for and on behalf of Halliwells LLP.
> > > 
> > > Halliwells LLP is a limited liability partnership registered in England 
> > > and Wales under registered number OC307980 whose registered office 
> > > address is at Halliwells LLP, 3 Hardman Square, Spinningfields, 
> > > Manchester, M3 3EB. A list of members is available for inspection at the 
> > > registered office together with a list of those non members who are 
> > > referred to as partners. We use the word ?partner? to refer to a member 
> > > of the LLP, or an employee or consultant with equivalent standing and 
> > > qualifications. Regulated by the Solicitors Regulation Authority.
> > > 
> > > CONFIDENTIALITY
> > > 
> > > This email is intended only for the use of the addressee named above and 
> > > may be confidential or legally privileged. If you are not the addressee 
> > > you must not read it and must not use any information contained in nor 
> > > copy it nor inform any person other than Halliwells LLP or the addressee 
> > > of its existence or contents. If you have received this email in error 
> > > please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
> > > 
> > > For more information about Halliwells LLP visit www.Halliwells.com.
> > >
> >
>




Re: [flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Aaron Hardy
What would be invalidating UIComponent A's display list?  It's my 
understanding that if Sprite B were to be scaled (which is likely--it is 
a graphic editing app afterall) but not Sprite A, the display list of 
UIComponent A would never be invalidated, so updateDisplayList wouldn't 
be called in that case.  The same is true if Sprite C were scaled or 
moved but not any members of its parent chain.  Yet UIComponent B still 
needs to stay stuck to Sprite C.  Again, I definitely could be wrong.


I guess the simple answer would be to make any tool or button or 
anything that scales or moves anything inside UIComponent A trigger 
UIComponent B to update its location, but I can already think of quite a 
fiew places that would have to happen and it seems like future 
developers would intrinsically have to know that if they make a new tool 
that modifies the position/scale of any of the elements that they need 
to trigger UIComponent B to update its position.  Ugh.  That's what I'm 
trying to avoid.


Keep 'em coming if you've got 'em.  It's not a dire situation so I'll 
save my dire need credits for later if needed. :)


Aaron

Tim Hoff wrote:




Actually, in thinking about it a bit more, why not dispatch a custom
event in the updateDisplayList function of UIComponentA; that contains
the coordinates of SpriteC. This will happen a lot less frequently than
listening for the enterFrame event.

-TH

--- In flexcoders@yahoogroups.com 
, "Tim Hoff"  wrote:

>
>
> Batting .000 so far. The only other thing that I can think of, is to
> move UIComponentB into UIComponnentA, same level as SpriteC, and bind
> the position of UIComponentB to the x and y (plus any offset) of
> SpriteC. Sorry that I couldn't have offered more useful help. It
> sounds like you have an interesting use-case. Good luck Aaron.
>
> -TH
>
> --- In flexcoders@yahoogroups.com 
, Aaron Hardy aaronius9er@ wrote:

> >
> > Unfortunately that isn't a great option in our case. The sprite in
> > question is part of a graphical editor where dozens and dozens of
> > sprites may be on the stage and they only provide a simple graphical
> > representation so converting them to uicomponents would probably be
> more
> > overkill than watching the sprite's position on each enter_frame. If
> > you come up with any other ideas, please let me know.
> >
> > Aaron
> >
> > Tim Hoff wrote:
> > >
> > >
> > >
> > > No, you're right. My suggestion was more theoretical more than
> anything
> > > else. You may need to change the Sprites to UIComponents; to get
> those
> > > events.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com 


> > > , Aaron Hardy aaronius9er@
> > > wrote:
> > > >
> > > > Maybe I'm missing something really fundamental then; I didn't
> think
> > > > Sprites dispatched move and size events and the documentation
> doesn't
> > > > show any such events either. I'll do some more research later,
but
> > > > please correct me if you know something I don't.
> > > >
> > > > Thanks for the response.
> > > >
> > > > Aaron
> > > >
> > > > Tim Hoff wrote:
> > > > >
> > > > >
> > > > >
> > > > > Using enterFrame is pretty expensive. I'd probably listen for
> > > SpriteC's
> > > > > move and resize events in the common canvas and position
> > > UIComponentB;
> > > > > based on the event.currentTarget.x and y coordinates. The
events
> > > will
> > > > > have to be bubbled up from SpriteC to UIComponentA to the
common
> > > canvas.
> > > > > Use localToGlobal to find the desired coordinates to position
> > > > > UIComponentB. You might experience a little lag; so the two
may
> not
> > > > > look like they are connected though.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In flexcoders@yahoogroups.com 


> > > 
> > > > > , Aaron Hardy
aaronius9er@
> > > > > wrote:
> > > > > >
> > > > > > Hey flexers,
> > > > > >
> > > > > > I have Sprite C which is inside of Sprite B which is inside
of
> > > Sprite
> > > > > A
> > > > > > which is inside of UIComponent A. UIComponent A and
> UIComponent B
> > > are
> > > > > > both children of a common Canvas. I need UIComponentB to
> always be
> > > > > > positioned over the top-left of Sprite C (so it appears to
be
> > > stuck to
> > > > > > Sprite C). ALWAYS. So if Sprite C is scaled or moved, if
> Sprite B
> > > is
> > > > > > scaled or moved, if Sprite A is scaled or moved, if
> UIComponent A
> > > is
> > > > > > scaled or moved or ANYTHING happens that would affect Sprite
> C's
> > > > > > position, I need UIComponent B to always follow its
position.
> Is
> > > there
> > > > > > a good way to do this? My first thought is to poll SpriteC's
> > > > > > coordinates on every enterFrame event, but it seems like it
> might
> > > be
> > > > > > overkill. Thoughts?
> > > >

RE: [flexcoders] Remove Popup from ItemRenderer

2009-05-07 Thread Tracy Spratt
Sorry I did not understand any of that, will you please explain in more
detail?

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of cvsikh
Sent: Thursday, May 07, 2009 7:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remove Popup from ItemRenderer

 






Hi,

I was wondering if its possible to trigger removepopup(this) (or some other
method) from a external item renderer. Popupmanager is not removing the
actual popup which holds the itemrenderer.





RE: [flexcoders] Re: E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread Tracy Spratt
Declare a default namespace:

default xml namespace = http://www.w3.org/2005/Atom;

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of lytvynyuk
Sent: Thursday, May 07, 2009 9:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: E4x. Strange behavior when modifying XML. Help
needed.

 






Thank you, but it doesn't work!! 

But!!!  I think I forgot to mention one thing, my original XML has defined
namespace... and look like that:

var xml:XML = 
  test
  test


I've tried without namespace defined - works. But i need it!! Any ideas?





[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

Actually, in thinking about it a bit more, why not dispatch a custom
event in the updateDisplayList function of UIComponentA; that contains
the coordinates of SpriteC.  This will happen a lot less frequently than
listening for the enterFrame event.

-TH

--- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
>
>
> Batting .000 so far. The only other thing that I can think of, is to
> move UIComponentB into UIComponnentA, same level as SpriteC, and bind
> the position of UIComponentB to the x and y (plus any offset) of
> SpriteC. Sorry that I couldn't have offered more useful help. It
> sounds like you have an interesting use-case. Good luck Aaron.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, Aaron Hardy aaronius9er@ wrote:
> >
> > Unfortunately that isn't a great option in our case. The sprite in
> > question is part of a graphical editor where dozens and dozens of
> > sprites may be on the stage and they only provide a simple graphical
> > representation so converting them to uicomponents would probably be
> more
> > overkill than watching the sprite's position on each enter_frame. If
> > you come up with any other ideas, please let me know.
> >
> > Aaron
> >
> > Tim Hoff wrote:
> > >
> > >
> > >
> > > No, you're right. My suggestion was more theoretical more than
> anything
> > > else. You may need to change the Sprites to UIComponents; to get
> those
> > > events.
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com
> > > , Aaron Hardy aaronius9er@
> > > wrote:
> > > >
> > > > Maybe I'm missing something really fundamental then; I didn't
> think
> > > > Sprites dispatched move and size events and the documentation
> doesn't
> > > > show any such events either. I'll do some more research later,
but
> > > > please correct me if you know something I don't.
> > > >
> > > > Thanks for the response.
> > > >
> > > > Aaron
> > > >
> > > > Tim Hoff wrote:
> > > > >
> > > > >
> > > > >
> > > > > Using enterFrame is pretty expensive. I'd probably listen for
> > > SpriteC's
> > > > > move and resize events in the common canvas and position
> > > UIComponentB;
> > > > > based on the event.currentTarget.x and y coordinates. The
events
> > > will
> > > > > have to be bubbled up from SpriteC to UIComponentA to the
common
> > > canvas.
> > > > > Use localToGlobal to find the desired coordinates to position
> > > > > UIComponentB. You might experience a little lag; so the two
may
> not
> > > > > look like they are connected though.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In flexcoders@yahoogroups.com
> > > 
> > > > > , Aaron Hardy
aaronius9er@
> > > > > wrote:
> > > > > >
> > > > > > Hey flexers,
> > > > > >
> > > > > > I have Sprite C which is inside of Sprite B which is inside
of
> > > Sprite
> > > > > A
> > > > > > which is inside of UIComponent A. UIComponent A and
> UIComponent B
> > > are
> > > > > > both children of a common Canvas. I need UIComponentB to
> always be
> > > > > > positioned over the top-left of Sprite C (so it appears to
be
> > > stuck to
> > > > > > Sprite C). ALWAYS. So if Sprite C is scaled or moved, if
> Sprite B
> > > is
> > > > > > scaled or moved, if Sprite A is scaled or moved, if
> UIComponent A
> > > is
> > > > > > scaled or moved or ANYTHING happens that would affect Sprite
> C's
> > > > > > position, I need UIComponent B to always follow its
position.
> Is
> > > there
> > > > > > a good way to do this? My first thought is to poll SpriteC's
> > > > > > coordinates on every enterFrame event, but it seems like it
> might
> > > be
> > > > > > overkill. Thoughts?
> > > > > >
> > > > > > Thanks!
> > > > > >
> > > > > > Aaron
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>





[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

Batting .000 so far.  The only other thing that I can think of, is to
move UIComponentB into UIComponnentA, same level as SpriteC, and bind
the position of UIComponentB to the x and y (plus any offset) of
SpriteC.  Sorry that I couldn't have offered more useful help.  It
sounds like you have an interesting use-case.  Good luck Aaron.

-TH

--- In flexcoders@yahoogroups.com, Aaron Hardy  wrote:
>
> Unfortunately that isn't a great option in our case. The sprite in
> question is part of a graphical editor where dozens and dozens of
> sprites may be on the stage and they only provide a simple graphical
> representation so converting them to uicomponents would probably be
more
> overkill than watching the sprite's position on each enter_frame. If
> you come up with any other ideas, please let me know.
>
> Aaron
>
> Tim Hoff wrote:
> >
> >
> >
> > No, you're right. My suggestion was more theoretical more than
anything
> > else. You may need to change the Sprites to UIComponents; to get
those
> > events.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com
> > , Aaron Hardy aaronius9er@
> > wrote:
> > >
> > > Maybe I'm missing something really fundamental then; I didn't
think
> > > Sprites dispatched move and size events and the documentation
doesn't
> > > show any such events either. I'll do some more research later, but
> > > please correct me if you know something I don't.
> > >
> > > Thanks for the response.
> > >
> > > Aaron
> > >
> > > Tim Hoff wrote:
> > > >
> > > >
> > > >
> > > > Using enterFrame is pretty expensive. I'd probably listen for
> > SpriteC's
> > > > move and resize events in the common canvas and position
> > UIComponentB;
> > > > based on the event.currentTarget.x and y coordinates. The events
> > will
> > > > have to be bubbled up from SpriteC to UIComponentA to the common
> > canvas.
> > > > Use localToGlobal to find the desired coordinates to position
> > > > UIComponentB. You might experience a little lag; so the two may
not
> > > > look like they are connected though.
> > > >
> > > > -TH
> > > >
> > > > --- In flexcoders@yahoogroups.com
> > 
> > > > , Aaron Hardy aaronius9er@
> > > > wrote:
> > > > >
> > > > > Hey flexers,
> > > > >
> > > > > I have Sprite C which is inside of Sprite B which is inside of
> > Sprite
> > > > A
> > > > > which is inside of UIComponent A. UIComponent A and
UIComponent B
> > are
> > > > > both children of a common Canvas. I need UIComponentB to
always be
> > > > > positioned over the top-left of Sprite C (so it appears to be
> > stuck to
> > > > > Sprite C). ALWAYS. So if Sprite C is scaled or moved, if
Sprite B
> > is
> > > > > scaled or moved, if Sprite A is scaled or moved, if
UIComponent A
> > is
> > > > > scaled or moved or ANYTHING happens that would affect Sprite
C's
> > > > > position, I need UIComponent B to always follow its position.
Is
> > there
> > > > > a good way to do this? My first thought is to poll SpriteC's
> > > > > coordinates on every enterFrame event, but it seems like it
might
> > be
> > > > > overkill. Thoughts?
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Aaron
> > > > >
> > > >
> > > >
> > >
> >
> >
>





[flexcoders] Re: LCDS: can two assemblers use same entity object?

2009-05-07 Thread Rajeev Goel
using a different entity (created a new entity which is replica of employee
and named manager) solves the issue.
looks like LCDS follows a simple strategy: one entity for each assembler, no
reuse.

-Rajeev

On Thu, May 7, 2009 at 12:36 PM, Rajeev Goel  wrote:

> hi All,
>
> I am using LCDS 2.6 with Flex SDK 3.2.
>
> One of my existing assemblers (say EmployeeAssembler) is using entity
> object called Employee.
> Is it possible to have another assembler (say ManagerAssembler) which also
> uses Employee object ?
>
> data-management-config.xml:
>
>  
>   
>   
>employeeAssemblerBean
>spring
>
> 
>  read-only="true"/>
>
>   
>  
>   
>   
>   
>managerAssemblerBean
>spring
>
> 
>  read-only="true"/>
>
>   
>  
>
> The primary key attribute is "uniqueId" and of type string.
> To prevent manager assembler from getting confused, code adds a prefix to
> the unique id for differentiation. this way uniqueId should never clash.
>
> Issue is that server pushes on ManagerAssembler are not showing up on
> client. Also its uid is mangled (sample value:
> 09C348F9-3DEB-45F0-33F4-19D033896417).
> Usually uid contans assembler's name.
>
> Could someone point me to right direction ?
>
> thanks,
> Rajeev
>
>


Re: [flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Aaron Hardy
Unfortunately that isn't a great option in our case.  The sprite in 
question is part of a graphical editor where dozens and dozens of 
sprites may be on the stage and they only provide a simple graphical 
representation so converting them to uicomponents would probably be more 
overkill than watching the sprite's position on each enter_frame.  If 
you come up with any other ideas, please let me know.


Aaron

Tim Hoff wrote:




No, you're right. My suggestion was more theoretical more than anything
else. You may need to change the Sprites to UIComponents; to get those
events.

-TH

--- In flexcoders@yahoogroups.com 
, Aaron Hardy  
wrote:

>
> Maybe I'm missing something really fundamental then; I didn't think
> Sprites dispatched move and size events and the documentation doesn't
> show any such events either. I'll do some more research later, but
> please correct me if you know something I don't.
>
> Thanks for the response.
>
> Aaron
>
> Tim Hoff wrote:
> >
> >
> >
> > Using enterFrame is pretty expensive. I'd probably listen for
SpriteC's
> > move and resize events in the common canvas and position
UIComponentB;
> > based on the event.currentTarget.x and y coordinates. The events
will
> > have to be bubbled up from SpriteC to UIComponentA to the common
canvas.
> > Use localToGlobal to find the desired coordinates to position
> > UIComponentB. You might experience a little lag; so the two may not
> > look like they are connected though.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com 


> > , Aaron Hardy aaronius9er@
> > wrote:
> > >
> > > Hey flexers,
> > >
> > > I have Sprite C which is inside of Sprite B which is inside of
Sprite
> > A
> > > which is inside of UIComponent A. UIComponent A and UIComponent B
are
> > > both children of a common Canvas. I need UIComponentB to always be
> > > positioned over the top-left of Sprite C (so it appears to be
stuck to
> > > Sprite C). ALWAYS. So if Sprite C is scaled or moved, if Sprite B
is
> > > scaled or moved, if Sprite A is scaled or moved, if UIComponent A
is
> > > scaled or moved or ANYTHING happens that would affect Sprite C's
> > > position, I need UIComponent B to always follow its position. Is
there
> > > a good way to do this? My first thought is to poll SpriteC's
> > > coordinates on every enterFrame event, but it seems like it might
be
> > > overkill. Thoughts?
> > >
> > > Thanks!
> > >
> > > Aaron
> > >
> >
> >
>






[flexcoders] Re: E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread lytvynyuk
Thank you, but it doesn't work!!

But!!!  I think I forgot to mention one thing, my original XML has
defined namespace... and look like that:

var xml:XML = 
   test
   test


I've tried without namespace defined - works. But i need it!! Any ideas?




[flexcoders] Re: link examples to sell Flex apps to small business clients

2009-05-07 Thread Tim Hoff

This is a very good comercial flex application:

http://mediastore.verizonwireless.com/onlineContentStore/index.html
 #


-TH

--- In flexcoders@yahoogroups.com, "Matt Garland"  wrote:
>
> Love it.
>
> --- In flexcoders@yahoogroups.com, Guy Morton guy@ wrote:
> >
> > How about http://syd.webtrak-lochard.com/?
> >
> >
> > On 08/05/2009, at 8:23 AM, Matt Garland wrote:
> >
> > >
> > >
> > > Hi,
> > >
> > > I'd like to send an email with a variety of links to Flex apps.
So:
> > > NO signing up, NO downloading, NO long start ups.
> > >
> > > Also data-rich apps and product showcases would be better than
media
> > > editors.
> > >
> > > flex.org/showcase does not help. I'm afraid I'd scare clients
away:
> > > bad links, irritating scrolling, etc. And many of the designs
> > > showcased there would have been better off with plain Halo.
> > >
> > > I realize that most of the apps I want to see are not on the web.
> > > But maybe some are...links anyone?
> > >
> > > Thanks
> > >
> > > Matt Garland
> > > pet-theory.com
> > >
> > >
> > >
> >
>




[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

No, you're right.  My suggestion was more theoretical more than anything
else.  You may need to change the Sprites to UIComponents; to get those
events.

-TH

--- In flexcoders@yahoogroups.com, Aaron Hardy  wrote:
>
> Maybe I'm missing something really fundamental then; I didn't think
> Sprites dispatched move and size events and the documentation doesn't
> show any such events either. I'll do some more research later, but
> please correct me if you know something I don't.
>
> Thanks for the response.
>
> Aaron
>
> Tim Hoff wrote:
> >
> >
> >
> > Using enterFrame is pretty expensive. I'd probably listen for
SpriteC's
> > move and resize events in the common canvas and position
UIComponentB;
> > based on the event.currentTarget.x and y coordinates. The events
will
> > have to be bubbled up from SpriteC to UIComponentA to the common
canvas.
> > Use localToGlobal to find the desired coordinates to position
> > UIComponentB. You might experience a little lag; so the two may not
> > look like they are connected though.
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com
> > , Aaron Hardy aaronius9er@
> > wrote:
> > >
> > > Hey flexers,
> > >
> > > I have Sprite C which is inside of Sprite B which is inside of
Sprite
> > A
> > > which is inside of UIComponent A. UIComponent A and UIComponent B
are
> > > both children of a common Canvas. I need UIComponentB to always be
> > > positioned over the top-left of Sprite C (so it appears to be
stuck to
> > > Sprite C). ALWAYS. So if Sprite C is scaled or moved, if Sprite B
is
> > > scaled or moved, if Sprite A is scaled or moved, if UIComponent A
is
> > > scaled or moved or ANYTHING happens that would affect Sprite C's
> > > position, I need UIComponent B to always follow its position. Is
there
> > > a good way to do this? My first thought is to poll SpriteC's
> > > coordinates on every enterFrame event, but it seems like it might
be
> > > overkill. Thoughts?
> > >
> > > Thanks!
> > >
> > > Aaron
> > >
> >
> >
>





Re: [flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Aaron Hardy
Maybe I'm missing something really fundamental then; I didn't think 
Sprites dispatched move and size events and the documentation doesn't 
show any such events either.  I'll do some more research later, but 
please correct me if you know something I don't.


Thanks for the response.

Aaron

Tim Hoff wrote:




Using enterFrame is pretty expensive. I'd probably listen for SpriteC's
move and resize events in the common canvas and position UIComponentB;
based on the event.currentTarget.x and y coordinates. The events will
have to be bubbled up from SpriteC to UIComponentA to the common canvas.
Use localToGlobal to find the desired coordinates to position
UIComponentB. You might experience a little lag; so the two may not
look like they are connected though.

-TH

--- In flexcoders@yahoogroups.com 
, Aaron Hardy  
wrote:

>
> Hey flexers,
>
> I have Sprite C which is inside of Sprite B which is inside of Sprite
A
> which is inside of UIComponent A. UIComponent A and UIComponent B are
> both children of a common Canvas. I need UIComponentB to always be
> positioned over the top-left of Sprite C (so it appears to be stuck to
> Sprite C). ALWAYS. So if Sprite C is scaled or moved, if Sprite B is
> scaled or moved, if Sprite A is scaled or moved, if UIComponent A is
> scaled or moved or ANYTHING happens that would affect Sprite C's
> position, I need UIComponent B to always follow its position. Is there
> a good way to do this? My first thought is to poll SpriteC's
> coordinates on every enterFrame event, but it seems like it might be
> overkill. Thoughts?
>
> Thanks!
>
> Aaron
>






[flexcoders] Re: link examples to sell Flex apps to small business clients

2009-05-07 Thread Matt Garland
Love it. 

--- In flexcoders@yahoogroups.com, Guy Morton  wrote:
>
> How about http://syd.webtrak-lochard.com/?
> 
> 
> On 08/05/2009, at 8:23 AM, Matt Garland wrote:
> 
> >
> >
> > Hi,
> >
> > I'd like to send an email with a variety of links to Flex apps. So:  
> > NO signing up, NO downloading, NO long start ups.
> >
> > Also data-rich apps and product showcases would be better than media  
> > editors.
> >
> > flex.org/showcase does not help. I'm afraid I'd scare clients away:  
> > bad links, irritating scrolling, etc. And many of the designs  
> > showcased there would have been better off with plain Halo.
> >
> > I realize that most of the apps I want to see are not on the web.  
> > But maybe some are...links anyone?
> >
> > Thanks
> >
> > Matt Garland
> > pet-theory.com
> >
> >
> >
>




[flexcoders] Remove Popup from ItemRenderer

2009-05-07 Thread cvsikh
Hi,

I was wondering if its possible to trigger removepopup(this) (or some other 
method) from a external item renderer.  Popupmanager is not removing the actual 
popup which holds the itemrenderer.



Re: [flexcoders] link examples to sell Flex apps to small business clients

2009-05-07 Thread Guy Morton

How about http://syd.webtrak-lochard.com/?


On 08/05/2009, at 8:23 AM, Matt Garland wrote:




Hi,

I'd like to send an email with a variety of links to Flex apps. So:  
NO signing up, NO downloading, NO long start ups.


Also data-rich apps and product showcases would be better than media  
editors.


flex.org/showcase does not help. I'm afraid I'd scare clients away:  
bad links, irritating scrolling, etc. And many of the designs  
showcased there would have been better off with plain Halo.


I realize that most of the apps I want to see are not on the web.  
But maybe some are...links anyone?


Thanks

Matt Garland
pet-theory.com







[flexcoders] Problem displaying item renderer on on TileList

2009-05-07 Thread gilbert_mizrahi
I am creating an app. in which a need to display some thumbnails on a TileList, 
but the thumbnails are not visible on the TileList. However, if a click on a 
tile it does what it is suppose to do and it creates the number of tiles 
according to the data provider, only the tiles are not visible.

My code is:




the item renderer component is:

http://www.adobe.com/2006/mxml"; width="200"  paddingTop="0" 
paddingBottom="0" xmlns:controls="com.asfusion.controls.*" 
horizontalAlign="center" verticalGap="0" toolTip="{data.description.text()}" 
backgroundColor="0xcc" borderColor="0x293f6f" borderThickness="2">











The data provider is an XMLList.
If a replace the TileList with a list or horizontalList the item renderer is 
visible. Can someone tell me what I am doing wrong?

Thanks,
Gilbert



[flexcoders] link examples to sell Flex apps to small business clients

2009-05-07 Thread Matt Garland
Hi,

I'd like to send an email with a variety of links to Flex apps. So: NO signing 
up, NO downloading, NO long start ups. 

Also data-rich apps and product showcases would be better than media editors.

flex.org/showcase does not help. I'm afraid I'd scare clients away: bad links, 
irritating scrolling, etc. And many of the designs showcased there would have 
been better off with plain Halo. 

I realize that most of the apps I want to see are not on the web. But maybe 
some are...links anyone?

Thanks

Matt Garland
pet-theory.com



[flexcoders] Re: Unloading/stopping sounds from SWFLoader .swf

2009-05-07 Thread Jason
Thanks Alex. That's too bad. On this project, we're stuck then with no support 
for external .swfs that have sound since we're using FP9. Bummer.  

I wonder if we could use LocalConnection to communicate with the AVM1 Captivate 
or Camtasia files to stop the sound.  Possible in theory?
  
Jason

--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> Without cooperation from the loaded SWF, there is no way to stop audio from 
> outside that swf on FP9
> 
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
> Behalf Of Merrill, Jason
> Sent: Thursday, May 07, 2009 9:59 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] RE: Unloading/stopping sounds from SWFLoader .swf
> 
> 
> 
> 
> 
> Ah crap.  To add on to this, this seems to be a bug that was only fixed with 
> the Flash 10 player:  http://bugs.adobe.com/jira/browse/SDK-14379   - I have 
> to target Flash 9.  Is this really still an outstanding bug with Flex 3 and 
> Flash 9?  That really bites.
> 
> Jason Merrill
> 
> Bank of  America [cid:image001.gif@...]   Global Learning
> 
> Shared Services Solutions Development
> 
> 
> Monthly meetings on the Adobe Flash platform for rich media experiences - 
> join the Bank of America Flash Platform 
> Community
> 
> _
> From: Merrill, Jason
> Sent: Thursday, May 07, 2009 12:55 PM
> To: 'flexcoders@yahoogroups.com'
> Subject: Unloading/stopping sounds from SWFLoader .swf
> 
> I'm having a problem getting sounds from .swfs (both AVM1 and AVM2) to stop 
> playing.  I am adding these .swfs (loaded with SWFLoader) onto a Canvas in my 
> Flex application.  The instance of my SWFLoader is _swfLoader which I add as 
> a child to the _demoCanvas Canvas.  Here is what I have tried (my lame 
> attempt at garbage collection):
> 
> 
> 
> private function hideScreenAnimation():void
> 
> {
> 
> _swfLoader.removeEventListener(Event.COMPLETE, onSwfLoaded);
> 
> _swfLoader.removeEventListener(Event.UNLOAD, onSwfUnload);
> 
> _swfLoader = null;
> 
> removeChild(_demoCanvas);
> 
> _demoCanvas = null;
> 
> SoundMixer.stopAll();
> 
> }
> 
> I can't seem to locate any unload() method for SWFLoader instances or 
> SWFLoader.content.  SoundMixer.stopAll() seems to have no effect.  Again, 
> these are both AVM1 and AVM2 .swfs which contain sounds.  I don't have any 
> control over the AVM1 files, they are produced by someone else using another 
> app (Captivate and Camtasia).  The AVM2 .swf is just a simple .swf I made 
> with Flash CS3 and contains a sound on the timeline.
> 
> Thanks, any help is appreciated. I've researched this enough with Google and 
> none of the suggestions I've found seem to work.
> 
> Jason Merrill
> 
> Bank of  America  << OLE Object: Picture (Device Independent Bitmap) >>   
> Global Learning
> 
> Shared Services Solutions Development
> 
> 
> Monthly meetings on the Adobe Flash platform for rich media experiences - 
> join the Bank of America Flash Platform 
> Community
>




[flexcoders] Re: scrollbar inside "100%" sized background image in container?

2009-05-07 Thread gwangdesign
BTW, mx:List and subclasses have a different behavior in this regard. The 
scrollbar is always inside the bound of the List based component.


--- In flexcoders@yahoogroups.com, "gwangdesign"  wrote:
>
> Hi,
> 
> I am trying to get the scrollbar for a container (can be either a Canvas or 
> VBox) "inside" my background image. Basically my Canvas has a background 
> image which I set background-size to "100%". Flex scales the background image 
> to fit the whole component when there is no scroll bar. But when the scroll 
> bar appears, the image "shrinks" to allow space for the scroll bar.
> 
> So say if the Canvas has a width of 200 px, the background image has a width 
> of 200 px when there is no scrollbar. If the scrollbar is 16 pixels wide, the 
> background image would become 200 - 16 = 184 px, as opposed to staying 200px.
> 
> I think I can get around this by using nested containers. Just to want to 
> make sure that I am not missing anything obvious.
> 
> Thanks.
>




[flexcoders] Re: two chart lineseries one mouse

2009-05-07 Thread flexaustin
Just decided to remove all callouts.


--- In flexcoders@yahoogroups.com, "flexaustin"  wrote:
>
> So I have two lineseries in my chart and I have a custom cursor, tall 
> vertical line, so that when the user mouses over the chart both lines series 
> are touched by the tall cursor.  
> 
> What I would like to happen is that when mouse comes into contact with both 
> lineseries I want both lines to show the datatiptargets on each line where 
> the mouse is touching.
> 
> What is happening now is randomly sometimes they both appear and other times 
> only one appears.  Anyone know how to get these to show up without showing 
> the datatips?  
> 
> I want it to look like google financials chart, but with two lines not just 
> one.
> 
> Thx, FlexAustin
>




[flexcoders] scrollbar inside "100%" sized background image in container?

2009-05-07 Thread gwangdesign
Hi,

I am trying to get the scrollbar for a container (can be either a Canvas or 
VBox) "inside" my background image. Basically my Canvas has a background image 
which I set background-size to "100%". Flex scales the background image to fit 
the whole component when there is no scroll bar. But when the scroll bar 
appears, the image "shrinks" to allow space for the scroll bar.

So say if the Canvas has a width of 200 px, the background image has a width of 
200 px when there is no scrollbar. If the scrollbar is 16 pixels wide, the 
background image would become 200 - 16 = 184 px, as opposed to staying 200px.

I think I can get around this by using nested containers. Just to want to make 
sure that I am not missing anything obvious.

Thanks.



Re: [flexcoders] FileFilter and browseForSave

2009-05-07 Thread Charles Parcell
Interestingly, FileFilter is listed as a "see also" under browseForSave() in
the docs.  Have you tried adding in a filter just as you would for
browseForOpen() to see if it will work? There is obviously a documentation
problem. Question is, is it the reference to FileFilter or the lack of the
listing for filter in the generic syntax example?

http://ria.args.cn/uploads/documents/ASLR/flash/filesystem/File.html#browseForSave()

Charles P.


On Thu, May 7, 2009 at 1:45 PM, stevepruitt97  wrote:

>
>
>
> I have a need to control (at least suggest) a file extension when saving
> a file in an AIR application. browseForSave is limited to a single
> argument for the popup title. Does anyone have any ideas how to get
> FileFilter like behavior when saving a file in AIR?
>
> -S
>
>  
>


[flexcoders] Re: Is it possible to reference an external css file (from a library)

2009-05-07 Thread valdhor
 is one of those times that you use slash instead of dot syntax.

Try 


--- In flexcoders@yahoogroups.com, "gmoniey22"  wrote:
>
> If I want to reference an external mxml component, I do something like this:
> 
> http://www.adobe.com/2006/mxml"; 
> xmlns:Base="com.mydomain.ui.*"/>
> 
> Is it possible to do the same for stylesheets? Lets say there is a stylesheet 
> under: /com/mydomain/ui/style.css
> 
> How can I reference it? I tried things like:
> 
> 
> 
> but that didn't work. Is this even possible?
>




[flexcoders] Dynamic datasource in ColdFusion via LCDS ES

2009-05-07 Thread Brendan Meutzner
Hi All,



I'm hitting a wall on a requirement for a Flex application which utilizes
the LCDS version included with ColdFusion.



I have the project setup to use DAO's, Assemblers and ValueObject (cfc's)
which I call from Flex via DataService implmentation and the fill(),
getItem(), etc... methods.



I need to setup my ColdFusion layer to access multiple datasources from the
same Flex application.  However, because of the way LCDS gets called from
Flex, it doesn't seem that Application or Session variables in ColdFusion
persist when I set them.  I was thinking I could just have the HTML (cfm)
wrapper page for my Flex application set that, but it is not recognized when
I go to make a fill or get call against the assembler.



I thought about passing the datasource as a parameter each time a call is
made, but while that would work when I initiate fill and get methods, the
sync methods are "invisible" and I wouldn't be able to append an argument to
them.



So my issue is... how do I go about having ColdFusion read a dynamic
variable to define it's datasource?





Thanks in advance for the help.





Brendan

-- 
Brendan Meutzner
http://www.meutzner.com/blog/
http://www.riajobs.com


[flexcoders] Is it possible to reference an external css file (from a library)

2009-05-07 Thread gmoniey22
If I want to reference an external mxml component, I do something like this:

http://www.adobe.com/2006/mxml"; 
xmlns:Base="com.mydomain.ui.*"/>

Is it possible to do the same for stylesheets? Lets say there is a stylesheet 
under: /com/mydomain/ui/style.css

How can I reference it? I tried things like:



but that didn't work. Is this even possible?



[flexcoders] Re: Tracking a sprite's position

2009-05-07 Thread Tim Hoff

Using enterFrame is pretty expensive.  I'd probably listen for SpriteC's
move and resize events in the common canvas and position UIComponentB;
based on the event.currentTarget.x and y coordinates.  The events will
have to be bubbled up from SpriteC to UIComponentA to the common canvas.
Use localToGlobal to find the desired coordinates to position
UIComponentB.  You might experience a little lag; so the two may not
look like they are connected though.

-TH

--- In flexcoders@yahoogroups.com, Aaron Hardy  wrote:
>
> Hey flexers,
>
> I have Sprite C which is inside of Sprite B which is inside of Sprite
A
> which is inside of UIComponent A. UIComponent A and UIComponent B are
> both children of a common Canvas. I need UIComponentB to always be
> positioned over the top-left of Sprite C (so it appears to be stuck to
> Sprite C). ALWAYS. So if Sprite C is scaled or moved, if Sprite B is
> scaled or moved, if Sprite A is scaled or moved, if UIComponent A is
> scaled or moved or ANYTHING happens that would affect Sprite C's
> position, I need UIComponent B to always follow its position. Is there
> a good way to do this? My first thought is to poll SpriteC's
> coordinates on every enterFrame event, but it seems like it might be
> overkill. Thoughts?
>
> Thanks!
>
> Aaron
>





Re: [flexcoders] Re: TabNavigator creationPolicy

2009-05-07 Thread Richard Rodseth
Hi Amy,

I solved my own problem (eliminating the use of AddChild) and moved on a
long time ago. I shared my results for the benefit of others, and got a
response from you which I found snide. In case you wish to expand your
knowledge, here's the documentation for AddChild, which as far as I know is
only for use within states.

http://livedocs.adobe.com/flex/3/langref/mx/states/AddChild.html

HTH

On Thu, May 7, 2009 at 11:25 AM, Amy  wrote:

>
>
> --- In flexcoders@yahoogroups.com , Richard
> Rodseth  wrote:
> >
> > Hmm. This seems a little wrong-side-of-the-bed.
> >
> > Actually, when you do:
> >
> > 
> > 
> > 
> > 
> >
> > View1 and View2 are instantiated (obviously necessary to get the labels),
> > but the *children* of the inactive tabs are not, and as a result the
> > creationComplete events of the inactive tabs are not fired. Makes perfect
> > sense if you understand creationComplete to mean "me and all my
> children".
> >
> > On the other hand, if the above MXML is placed in an AddChild of a state,
> > View1 and View2 are both *fully* instantiated, and their creationComplete
> > events fired. This has implications if you are triggering service calls
> on
> > creationComplete.
> >
> > This is hardly equivalent to what you wrote. Try it if you don't believe
> me.
>
> Since you didn't post code, it didn't click with me that you were using
> states. I don't usually use states with Flex, when I use it, which has't
> been for a few weeks.
>
> Nevertheless, I suspect that if you look at the AddChild code, you'll find
> that it works more like what you'd expect in AS vs. MXML.
>
> HTH;
>
> Amy
>
>  
>


[flexcoders] Re: LinkButton themeColor

2009-05-07 Thread Tim Hoff

The text color and text decoration can be set in CSS.  For buttonMode,
you can extend LinkButton and use the custom component:

package controls
{
  import mx.controls.LinkButton;

  public class MyLinkButton extends LinkButton
  {
   public function MyLinkButton()
   {
super();

   this.buttonMode = true;
   this.focusEnabled = false;
   }
  }
}

-TH

--- In flexcoders@yahoogroups.com, "chandruflex" 
wrote:
>
> I am trying to implement a HTML  tag like thing using the
LinkButton. When I move my mouse-cursor over the LinkButton, I see a
Blue colored rectangle. This is the value of the "themeColor" style of a
LinkButton. Setting the "themeColor" to a value that is the background
color of the container in which the LinkButton is placed, does not look
like a HTML  tag would.
>
> Anyhow, I came to know about the "rollOverColor" style of the
LinkButton. Setting its value to the background color of the container
in which the LinkButton resides, does not show a rectangle.
>
> Now, the only effort I have to put in is to set the "buttonMode"
property to "true", the "textDecoration" style to "underline", and the
"color" style to "#FF".
>
> Thank you Tom.
>
> --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiverton@ wrote:
> >
> > On Thursday 07 May 2009, chandruflex wrote:
> > > Is it possible to remove the "themeColor" style of a LinkButton?
> >
> > To what end ?
> >
> > --
> > Helping to vitalistically pursue services as part of the IT team of
the
> > year, '09 and '08
> >
> > Tom Chiverton
> > Developer
> > Tel: +44 0161 618 5032
> > Fax: +44 0161 618 5099
> > Tom.Chiverton@
> > 3 Hardman Square, Manchester, M3 3EB
> > www.Halliwells.com
> >
> > 
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at Halliwells LLP, 3 Hardman Square, Spinningfields,
Manchester, M3 3EB. A list of members is available for inspection at the
registered office together with a list of those non members who are
referred to as partners. We use the word ?partner? to refer to a member
of the LLP, or an employee or consultant with equivalent standing and
qualifications. Regulated by the Solicitors Regulation Authority.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee named above
and may be confidential or legally privileged. If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells LLP
or the addressee of its existence or contents. If you have received this
email in error please delete it and notify Halliwells LLP IT Department
on 0870 365 2500.
> >
> > For more information about Halliwells LLP visit www.Halliwells.com.
> >
>




[flexcoders] Re: TabNavigator creationPolicy

2009-05-07 Thread Amy
--- In flexcoders@yahoogroups.com, Richard Rodseth  wrote:
>
> Hmm. This seems a little wrong-side-of-the-bed.
> 
> Actually, when you do:
> 
> 
>
>
> 
> 
> View1 and View2 are instantiated (obviously necessary to get the labels),
> but the *children* of the inactive tabs are not, and as a result the
> creationComplete events of the inactive tabs are not fired. Makes perfect
> sense if you understand creationComplete to mean "me and all my children".
> 
> On the other hand, if the above MXML is placed in an AddChild of a state,
> View1 and View2 are both *fully* instantiated, and their creationComplete
> events fired. This has implications if you are triggering service calls on
> creationComplete.
> 
> This is hardly equivalent to what you wrote. Try it if you don't believe me.

Since you didn't post code, it didn't click with me that you were using states. 
 I don't usually use states with Flex, when I use it, which has't been for a 
few weeks.

Nevertheless, I suspect that if you look at the AddChild code, you'll find that 
it works more like what you'd expect in AS vs. MXML.

HTH;

Amy



Re: [flexcoders] E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread Daniel Freiman
xml.summary.text()[0] = "This is my summary"

Almost all e4x calls return an XMLList, including text() which returns and
XMLList where all the node types are "text."  So the above is getting the
text values/nodes and setting the first one.

- Daniel Freiman

On Thu, May 7, 2009 at 1:35 PM, lytvynyuk  wrote:

>
>
> I have XML instance like that:
>
> var xml:XML = 
>   test
>   test
> 
>
> I want to edit text in summary and title elements.
>
> I do:
>
> xml.summary = "This is my summary";
> xml.title =  "This is new title";
>
> but in resulting XML
>
> is see something like that:
>
> 
>   test
>   test
>   This is my summary
>   This is new title
> 
>
> which is a big problem for me!
>
> What's wrong here?
>  
>


[flexcoders] FileFilter and browseForSave

2009-05-07 Thread stevepruitt97

I have a need to control (at least suggest) a file extension when saving
a file in an AIR application.  browseForSave is limited to a single
argument for the popup title.  Does anyone have any ideas how to get
FileFilter like behavior when saving a file in AIR?

-S




[flexcoders] about swfObject & Flex

2009-05-07 Thread Fernando Wermus
Hi all,
  I am using swfobject.js to pass parameters to my Flex component. I
would like to know if using the same swfobject I can pass parameters to
javascript. Now, I am passing parameters from javascript to Flex component
by swfObject and from Flex to javascript by ExternalInterface. Is it
possible to use just swfObject?

Thanks in advance

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/


[flexcoders] about swfObject & Flex

2009-05-07 Thread Fernando Wermus
Hi all,
  I am using swfobject.js to pass parameters to my Flex component. I
would like to know if using the same swfobject I can pass parameters to
javascript. Now, I am passing parameters from javascript to Flex component
by swfObject and from Flex to javascript by ExternalInterface. Is it
possible to use just swfObject?

Thanks in advance

-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus
http://mientretiempo.blogspot.com/


[flexcoders] E4x. Strange behavior when modifying XML. Help needed.

2009-05-07 Thread lytvynyuk
I have XML instance like that:

var xml:XML = 
   test
   test


I want to edit text in summary and title elements.

I do:

xml.summary = "This is my summary";
xml.title =  "This is new title";

but in resulting XML

is see something like that:


   test
   test
   This is my summary
   This is new title


which is a big problem for me!

What's wrong here?



Re: [flexcoders] which component in AIR to browser file in local pc?

2009-05-07 Thread Charles Parcell
Sorry my brain was thinking along a single line of thought...



Charles P.


On Thu, May 7, 2009 at 1:14 PM, Charles Parcell wrote:

> Not a component.
>
> File Class
> http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html
>
> browseForDirectory()
> browseForOpen()
> browseForOpenMultiple()
> browseForSave()
>
> Charles P.
>


RE: [flexcoders] Are you using the Marshall Plan?

2009-05-07 Thread Alex Harui
Can you provide more details on the security flaws and what you think the right 
approach is (but no details on your dreams about me, please...)

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Gregor Kiddie
Sent: Thursday, May 07, 2009 12:20 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Are you using the Marshall Plan?




Seeing as no-one else has replied to you yet Matt...

*Disclaimer, its well known that I dislike the Marshall Plan, so feel free to 
dollop large amounts of healthy skepticism on my words*

We do not use the Marshall plan, though we have a business case where we may 
have to satisfy similar conditions.

 *   The overhead in terms of architecture that the plan demands means it's 
easier to bring a module built with an older version of the SDK upto the latest 
version than it is to rewrite it to fit into how the plan works.
 *   I still think there are issues when sending events containing data of a 
type the receiving app doesn't have in it's SDK (Vectors for example).
 *   Lastly, the security considerations are still arbitrary. It still doesn't 
stop man-in-the-middle attacks, it just pushes them further up the food chain 
(meaning that the host swf becomes the target of the attack rather than a sub 
app)
I understand that Adobe have a healthy paranoia about security concerns. If I 
had my software running on 90+% of all the machines in the world, I would too!
However, in my opinion, this is still the wrong approach.

Oh and describing my dreams involving Alex would probably get me banned from 
this list and / or a court order ;)

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343
Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ
Registered Number: 1788577
Registered in the UK

Visit our Internet Web site at www.inps.co.ukhttp://www.inps.co.uk/>

The information in this internet email is confidential and is intended solely 
for the addressee. Access, copying or re-use of information in it by anyone 
else is not authorised. Any views or opinions presented are solely those of the 
author and do not necessarily represent those of INPS or any of its affiliates. 
If you are not the intended recipient please contact is.helpd...@inps.co.uk


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Matt Chotin
Sent: 06 May 2009 19:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Are you using the Marshall Plan?






Are you building apps in a modular fashion where those modules need to
support different Flex versions? Do you have nightmares where Alex is
explaining SecurityDomains and ApplicationDomains and
SWFLoader.loadForCompatibility?

Please let me know (email me at mcho...@adobe.com), 
we're trying to evaluate
some pain points and whether I need to bribe the Player team to solve them
ASAP or if it can wait a release.

Matt



Re: [flexcoders] which component in AIR to browser file in local pc?

2009-05-07 Thread Charles Parcell
Not a component.

File Class
http://livedocs.adobe.com/flex/3/langref/flash/filesystem/File.html

browseForDirectory()
browseForOpen()
browseForOpenMultiple()
browseForSave()

Charles P.


[flexcoders] RE: Unloading/stopping sounds from SWFLoader .swf

2009-05-07 Thread Alex Harui
Without cooperation from the loaded SWF, there is no way to stop audio from 
outside that swf on FP9

Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Merrill, Jason
Sent: Thursday, May 07, 2009 9:59 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: Unloading/stopping sounds from SWFLoader .swf





Ah crap.  To add on to this, this seems to be a bug that was only fixed with 
the Flash 10 player:  http://bugs.adobe.com/jira/browse/SDK-14379   - I have to 
target Flash 9.  Is this really still an outstanding bug with Flex 3 and Flash 
9?  That really bites.

Jason Merrill

Bank of  America [cid:image001.gif@01C9CEFC.3949AD20]   Global Learning

Shared Services Solutions Development


Monthly meetings on the Adobe Flash platform for rich media experiences - join 
the Bank of America Flash Platform 
Community

_
From: Merrill, Jason
Sent: Thursday, May 07, 2009 12:55 PM
To: 'flexcoders@yahoogroups.com'
Subject: Unloading/stopping sounds from SWFLoader .swf

I'm having a problem getting sounds from .swfs (both AVM1 and AVM2) to stop 
playing.  I am adding these .swfs (loaded with SWFLoader) onto a Canvas in my 
Flex application.  The instance of my SWFLoader is _swfLoader which I add as a 
child to the _demoCanvas Canvas.  Here is what I have tried (my lame attempt at 
garbage collection):



private function hideScreenAnimation():void

{

_swfLoader.removeEventListener(Event.COMPLETE, onSwfLoaded);

_swfLoader.removeEventListener(Event.UNLOAD, onSwfUnload);

_swfLoader = null;

removeChild(_demoCanvas);

_demoCanvas = null;

SoundMixer.stopAll();

}

I can't seem to locate any unload() method for SWFLoader instances or 
SWFLoader.content.  SoundMixer.stopAll() seems to have no effect.  Again, these 
are both AVM1 and AVM2 .swfs which contain sounds.  I don't have any control 
over the AVM1 files, they are produced by someone else using another app 
(Captivate and Camtasia).  The AVM2 .swf is just a simple .swf I made with 
Flash CS3 and contains a sound on the timeline.

Thanks, any help is appreciated. I've researched this enough with Google and 
none of the suggestions I've found seem to work.

Jason Merrill

Bank of  America  << OLE Object: Picture (Device Independent Bitmap) >>   
Global Learning

Shared Services Solutions Development


Monthly meetings on the Adobe Flash platform for rich media experiences - join 
the Bank of America Flash Platform 
Community


<>

[flexcoders] which component in AIR to browser file in local pc?

2009-05-07 Thread markflex2007
Thanks


Mark



[flexcoders] RE: Unloading/stopping sounds from SWFLoader .swf

2009-05-07 Thread Merrill, Jason
Ah crap.  To add on to this, this seems to be a bug that was only fixed
with the Flash 10 player:  http://bugs.adobe.com/jira/browse/SDK-14379
- I have to target Flash 9.  Is this really still an outstanding bug
with Flex 3 and Flash 9?  That really bites.  


Jason Merrill 

Bank of  America  <>   Global
Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community
  



_
From: Merrill, Jason 
Sent: Thursday, May 07, 2009 12:55 PM
To: 'flexcoders@yahoogroups.com'
Subject: Unloading/stopping sounds from SWFLoader .swf


I'm having a problem getting sounds from .swfs (both AVM1 and AVM2) to
stop playing.  I am adding these .swfs (loaded with SWFLoader) onto a
Canvas in my Flex application.  The instance of my SWFLoader is
_swfLoader which I add as a child to the _demoCanvas Canvas.  Here is
what I have tried (my lame attempt at garbage collection):
 
private function hideScreenAnimation():void
{ 
_swfLoader.removeEventListener(Event.COMPLETE, onSwfLoaded);
_swfLoader.removeEventListener(Event.UNLOAD, onSwfUnload);   
_swfLoader = null;
removeChild(_demoCanvas);
_demoCanvas = null;
SoundMixer.stopAll(); 
}

I can't seem to locate any unload() method for SWFLoader instances or
SWFLoader.content.  SoundMixer.stopAll() seems to have no effect.
Again, these are both AVM1 and AVM2 .swfs which contain sounds.  I don't
have any control over the AVM1 files, they are produced by someone else
using another app (Captivate and Camtasia).  The AVM2 .swf is just a
simple .swf I made with Flash CS3 and contains a sound on the timeline.

Thanks, any help is appreciated. I've researched this enough with Google
and none of the suggestions I've found seem to work. 

Jason Merrill 

Bank of  America  << OLE Object: Picture (Device Independent Bitmap) >>
Global Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community
  





<>

[flexcoders] How to save microsoft word file to database blob data?

2009-05-07 Thread markflex2007
Please give me a idea how to convert word file to blob data and save it to 
database with actionscript? I have java backend to handle server side code.

Thanks

Mark



[flexcoders] Unloading/stopping sounds from SWFLoader .swf

2009-05-07 Thread Merrill, Jason
I'm having a problem getting sounds from .swfs (both AVM1 and AVM2) to
stop playing.  I am adding these .swfs (loaded with SWFLoader) onto a
Canvas in my Flex application.  The instance of my SWFLoader is
_swfLoader which I add as a child to the _demoCanvas Canvas.  Here is
what I have tried (my lame attempt at garbage collection):
 
private function hideScreenAnimation():void
{ 
_swfLoader.removeEventListener(Event.COMPLETE, onSwfLoaded);
_swfLoader.removeEventListener(Event.UNLOAD, onSwfUnload);   
_swfLoader = null;
removeChild(_demoCanvas);
_demoCanvas = null;
SoundMixer.stopAll(); 
}

I can't seem to locate any unload() method for SWFLoader instances or
SWFLoader.content.  SoundMixer.stopAll() seems to have no effect.
Again, these are both AVM1 and AVM2 .swfs which contain sounds.  I don't
have any control over the AVM1 files, they are produced by someone else
using another app (Captivate and Camtasia).  The AVM2 .swf is just a
simple .swf I made with Flash CS3 and contains a sound on the timeline.

Thanks, any help is appreciated. I've researched this enough with Google
and none of the suggestions I've found seem to work. 

Jason Merrill 

Bank of  America  <>   Global
Learning 
Shared Services Solutions Development 

Monthly meetings on the Adobe Flash platform for rich media experiences
- join the Bank of America Flash Platform Community
  





<>

[flexcoders] Re: Flash speed test - please participate - only 1 click required !

2009-05-07 Thread tom93438
I'll send them out by the weekend. Warning now: they won't be statistically 
significant, I didnt get enough data.

Thanks to all who took part !

tom


--- In flexcoders@yahoogroups.com, "Hyder"  wrote:
>
> So where are the results?!
> 
> --- In flexcoders@yahoogroups.com, "Paul Andrews"  wrote:
> >
> > LOL, I did exactly the opposite - dumped Norton for AVG!
> > 
> > Looking at the page source, it has javascript scraping values from the 
> > navigator object and no doubt sending them back to base.
> > 
> > I can't see that it does anything else.
> > 
> > Paul
> > - Original Message - 
> > From: "Cato Paus" 
> > To: 
> > Sent: Monday, April 13, 2009 12:16 PM
> > Subject: [flexcoders] Re: Flash speed test - please participate - only 1 
> > click required !
> > 
> > 
> > > After a hit, I did stop using the AVG.. and are now using Norton Internet 
> > > Security, it uses Insigth and is much faster then AVG ..
> > >
> > > here is the link to the Trojan 
> > > http://securityresponse.symantec.com/security_response/writeup.jsp?docid=2004-021914-2822-99
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "Paul Andrews"  wrote:
> > >>
> > >> How did you find the trojan Cato - AVG reports nothing.
> > >>
> > >> What trojan is it?
> > >>
> > >> Paul
> > >> - Original Message - 
> > >> From: "Cato Paus" 
> > >> To: 
> > >> Sent: Monday, April 13, 2009 11:58 AM
> > >> Subject: [flexcoders] Re: Flash speed test - please participate - only 1
> > >> click required !
> > >>
> > >>
> > >> > DO NOT TEST THIS... Trojan Horse Detected on page!
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > --- In flexcoders@yahoogroups.com, "tom93438"  wrote:
> > >> >>
> > >> >> One other test that would also be useful:
> > >> >> Please hit:
> > >> >>
> > >> >> http://flatim3000.appspot.com/?fps=24
> > >> >>
> > >> >> Does the same as before, but tests for 24 fps.
> > >> >>
> > >> >> thanks
> > >> >>
> > >> >> tom
> > >> >>
> > >> >>
> > >> >> --- In flexcoders@yahoogroups.com, tom s  wrote:
> > >> >> >
> > >> >> > Hi All,
> > >> >> >
> > >> >> > I'm doing some tests to see how 'fast' the Flash Player is in a 
> > >> >> > variety
> > >> >> > of
> > >> >> > environments.
> > >> >> > Please click the link to take part: (you don't have to do anything
> > >> >> > other
> > >> >> > than click the link)
> > >> >> >
> > >> >> > http://flatim3000.appspot.com
> > >> >> >
> > >> >> >
> > >> >> > It's totally malware free. If you're interested, see below for 
> > >> >> > details.
> > >> >> > Please hit it as many times as you like, from as many different
> > >> >> > environments
> > >> >> > as you can :)
> > >> >> > I'll share the results when I'm done.
> > >> >> >
> > >> >> > cheers
> > >> >> >
> > >> >> > tom
> > >> >> >
> > >> >> > details
> > >> >> > =
> > >> >> > The SWF:
> > >> >> > 1. attempts to set the frame rate to 1000
> > >> >> > 2. listens for enter_frame 10,000 times
> > >> >> > 3. records how long (2) takes
> > >> >> > 4. computes the actual FPS
> > >> >> > 5. send the data to a server, along with details on OS, Browser, FP
> > >> >> > version,
> > >> >> > IP
> > >> >> >
> > >> >> > Any suggestions/improvements - let me know...
> > >> >> >
> > >> >>
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > 
> > >> >
> > >> > --
> > >> > Flexcoders Mailing List
> > >> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > >> > Alternative FAQ location:
> > >> > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > >> > Search Archives:
> > >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> > >> > Links
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >
> > >
> > > 
> > >
> > > --
> > > Flexcoders Mailing List
> > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Alternative FAQ location: 
> > > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups 
> > > Links
> > >
> > >
> > >
> >
>




Re: [flexcoders] Re: Dispatching Events from SWC - via Class`

2009-05-07 Thread Eric Dunn
That is what I needed.. I had to play wit it a bit.. but that is part of the 
learning process... thanks for your help... 

Eric W Dunn 
Adaption Technologies 
281-465-3326 
ed...@adpt-tech.com 

- Original Message - 
From: "Tracy Spratt"  
To: flexcoders@yahoogroups.com 
Sent: Wednesday, May 6, 2009 5:28:31 PM GMT -06:00 US/Canada Central 
Subject: RE: [flexcoders] Re: Dispatching Events from SWC - via Class` 











The class does not appear to be a UI class, so why can’t you instantiate it 
where you need it and set a direct listener on it? 



Also, if it is going to dispatch an event it needs to extend EventDispatcher, I 
believe. 




Tracy Spratt, 

Lariat Services, development services available 




From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Eric W Dunn 
Sent: Wednesday, May 06, 2009 11:47 AM 
To: flexcoders@yahoogroups.com 
Subject: [flexcoders] Re: Dispatching Events from SWC - via Class` 











It would appear that it is not in the child hierarchy.. 

I am not sure how o fix this problem.. What would you recomend me trying? 

--- In flexcoders@yahoogroups.com , "Tracy Spratt"  wrote: 
> 
> That is not even a "custom event", it is a flash event with a custom type. 
> 
> 
> 
> The metadata should go above the class definition, but the metadata should 
> not be necessary. 
> 
> 
> 
> If you are depending on the bubbling, are yo sure the Adaption. class is in 
> the child hierarchy of the listener? PopUps, for example are not. 
> 
> 
> 
> Tracy Spratt, 
> 
> Lariat Services, development services available 
> 
> _ 
> 
> From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com ] On 
> Behalf Of Eric Dunn 
> Sent: Friday, May 01, 2009 4:23 PM 
> To: flexcoders 
> Subject: [flexcoders] Dispatching Events from SWC - via Class` 
> 
> 
> 
> 
> 
> 
> 
> 
> I am trying to creating a custom event in a actionscript class that will be 
> distributed via a swc file.. 
> 
> I need to notify the parent application of when data is finished loading. 
> 
> Here is what I've been playing with: 
> 
> Class File: created as a Flex Library Project 
> package com.adaption.instance 
> { 
> import com.adaption.Adaption_SiteDetails_Structure; 
> import flash.events.Event; 
> 
> public class Adaption_SiteDetails_ 
> { 
> private static var instance:Adaption_SiteDetails_; 
> public static function get siteDetail():Adaption_SiteDetails_ 
> { 
> if (instance == null) 
> { 
> instance = new Adaption_SiteDetails_; 
> } 
> return instance; 
> } 
> [Bindable] public var myInstance_SiteDetails:Object = new 
> Adaption_SiteDetails_Structure; 
> 
> [Event (name="enableChanged", type="flash.events.Event")] 
> 
> public function createSiteDetail(dataObject:Object):void 
> { 
> siteDetail.myInstance_SiteDetails.businessLine = 
> dataObject.businessLine; 
> siteDetail.myInstance_SiteDetails.businessPartnerID = 
> dataObject.businessPartnerID; 
> siteDetail.myInstance_SiteDetails.ccEnterpriceID = 
> dataObject.ccEnterpriceID; 
> siteDetail.myInstance_SiteDetails.ccGroupID = 
> dataObject.ccGroupID; 
> dispatchEvent(new Event("enableChanged",true)); 
> } 
> 
> Application File: 
> creationComplete="initApp(event)" // in the application header. 
> private function initApp(e:FlexEvent):void 
> { 
> valueOfBusinessPartner = 
> Application.application.parameters.businessPartnerValue; 
> valueOfAuthCode = Application.application.parameters.authCodeValue; 
> valueOfAppiaWs = Application.application.parameters.appiaWsValue; 
> if (valueOfAuthCode == "QA") 
> { 
> header.lblConnectionType.text = "QA-build" 
> } 
> loadWsXML(e); 
> loadBpXML(e); 
> loadAcXML(e); 
> 
> bm = BrowserManager.getInstance(); 
> bm.init("", "OfficeFone Dashboard - Site Administrator"); 
> bm.setTitle("OfficeFone Dashboard - Site Administrator"); 
> this.addEventListener("enableChanged", getSiteDetailsHandler); 
> } 
> 
> Any one see where I've gone wrong or what I've missed? I tried putting 
>  tags around the Event method but no love , I've tired the 
> MetaDataEvent (that the only option when I ctrl-SpaceBar) EventDispatch is 
> soething else I've tired. 
> 
> Do I need to create a Custom Event Class in the library? or should I be 
> doing this another way... 
> 
> 
> I am trying to create a component libary to invoke a web service, store the 
> data and send out a notification upon completion of the data retrieval. 
> 
> Thanks... 
> 
> Eric W Dunn 
> Adaption Technologies 
> 281-465-3326 
> ed...@... 
> 




[flexcoders] PrintDataGrid

2009-05-07 Thread weezee49
I have a printed report which includes a series of labels and 2 data grids.  If 
I print the labels and the first data grid, I see all the data items in the 
data grid, but when I add the 2nd one to the page, both PrintDataGrids leave 
off the last five or six lines of data.  I thought the PrintDataGrids were 
supposed to account for pagination.  Is there a setting that I'm missing?  If 
the report goes to 2 pages, that's okay, as long as I get all the data.

TIA.
LG



[flexcoders] Text Layout Framework with Flex 3.3 and Embeded Fonts

2009-05-07 Thread Daniel Freiman
>From what I read, you can use the Text Layout Framework with Flex 3.3.  The
Text Layout Framework also supports embeded fonts.

But I can't figure out if/how it can use embeded fonts with the Text Layout
Framework within Flex 3.3.  Anyone know if this is possible?

- Daniel Freiman


[flexcoders] Forcing a ColumnSeries label to always display vertically?

2009-05-07 Thread sailorsea21
Hi everyone, how can I force a ColumnSeries label to always display vertically?

Thanks.

-David



[flexcoders] Re: LinkButton themeColor

2009-05-07 Thread valdhor
Why not just use the Hyperlink component from jabbypanda?

http://www.jabbypanda.com/blog/?p=28



--- In flexcoders@yahoogroups.com, "chandruflex"  wrote:
>
> I am trying to implement a HTML  tag like thing using the LinkButton. When 
> I move my mouse-cursor over the LinkButton, I see a Blue colored rectangle. 
> This is the value of the "themeColor" style of a LinkButton. Setting the 
> "themeColor" to a value that is the background color of the container in 
> which the LinkButton is placed, does not look like a HTML  tag would.
> 
> Anyhow, I came to know about the "rollOverColor" style of the LinkButton. 
> Setting its value to the background color of the container in which the 
> LinkButton resides, does not show a rectangle.
> 
> Now, the only effort I have to put in is to set the "buttonMode" property to 
> "true", the "textDecoration" style to "underline", and the "color" style to 
> "#FF".
> 
> Thank you Tom.
> 
> --- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
> >
> > On Thursday 07 May 2009, chandruflex wrote:
> > > Is it possible to remove the "themeColor" style of a LinkButton?
> > 
> > To what end ?
> > 
> > -- 
> > Helping to vitalistically pursue services as part of the IT team of the 
> > year, '09 and '08
> > 
> > Tom Chiverton
> > Developer
> > Tel: +44 0161 618 5032
> > Fax: +44 0161 618 5099 
> > Tom.Chiverton@
> > 3 Hardman Square, Manchester, M3 3EB
> > www.Halliwells.com
> > 
> > 
> > 
> > This email is sent for and on behalf of Halliwells LLP.
> > 
> > Halliwells LLP is a limited liability partnership registered in England and 
> > Wales under registered number OC307980 whose registered office address is 
> > at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A 
> > list of members is available for inspection at the registered office 
> > together with a list of those non members who are referred to as partners. 
> > We use the word ?partner? to refer to a member of the LLP, or an employee 
> > or consultant with equivalent standing and qualifications. Regulated by the 
> > Solicitors Regulation Authority.
> > 
> > CONFIDENTIALITY
> > 
> > This email is intended only for the use of the addressee named above and 
> > may be confidential or legally privileged. If you are not the addressee you 
> > must not read it and must not use any information contained in nor copy it 
> > nor inform any person other than Halliwells LLP or the addressee of its 
> > existence or contents. If you have received this email in error please 
> > delete it and notify Halliwells LLP IT Department on 0870 365 2500.
> > 
> > For more information about Halliwells LLP visit www.Halliwells.com.
> >
>




[flexcoders] Re: Changing the BG color of selected row on contect menu item click

2009-05-07 Thread valdhor
A combination of the example I posted earlier along with the example datagrid 
at http://www.preterra.com/flexsamples/gridsearch/gridsearch.html should get 
you going.


--- In flexcoders@yahoogroups.com, "Dharmendra Chauhan"  
wrote:
>
> Hi All,
> I want to change the  BG color of selected row on context Menu Item click.
> 
> Actually , I have two context Menu Item
> 
> 1) highlight 
> 
> 2)un-highlight  
> 
>  
> they highlight/un-highlight selected row on click event.
> 
> I found some resource on google ,all of them changing bg color in 
> drawRowBackground(), but in my case I cant use it as I have to execute this 
> logic on context item click.
> 
> Pleas suggest some ideas.
> 
> Second requirement is ,when user sort the grid after highlighting row , color 
> of all highlighted row should remain same irresevtive of their new position.
>  
> 
> Thanks,
> Dharmendra
>




Re: [flexcoders] alpha - containers, buttons, and skins

2009-05-07 Thread Igor Costa
If you want to apply the alpha for each control this hapen?

Looks like a problem on target to alpha affect.


Regards
Igor

On Mon, May 4, 2009 at 10:50 PM, arieljake  wrote:

>
>
> Hi, I am trying to understand a weird behavior i am observing when trying
> to use the alpha property.
>
> Please see this image:
> http://ariel-jakobovits.com/AJ/images/flex/browserControlsAlpha.png
>
> I am trying to fade out a box of internet browsing controls when the mouse
> is rolled-out because the controls are placed over the html control.
>
> When i set the alpha property of the container (HBox), clearly the
> background of the box and the buttons themselves are all affected, but there
> is a clear variation in the coloring.
>
> The box is styled with a background image, and the buttons are skinned with
> images as well.
>
> 
>



-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


Re: [flexcoders] Application shows with a partial height

2009-05-07 Thread Igor Costa
If you`re using Flex Builder, try to clean up your project .

1. Select your project
2. Go to the menu and select Project > Clean
2. Mark the project to be cleaned up and click OK


This is a odd thing happing in Flex Builder 3.0 where the last updates are
fixed.

Regards
Igor

On Wed, May 6, 2009 at 9:00 AM, markgoldin_2000
wrote:

>
>
> What could be a cause for an application to show with a normal (full size)
> width and only about 100-130 pixels of a height?
> Everything in an app. says 100% for the height.
>
> Thanks for the help.
>
> 
>



-- 

Igor Costa
www.igorcosta.com
www.igorcosta.org


Re: [flexcoders] VBox that scrolls without a scrollbar

2009-05-07 Thread Charles Parcell
Thanks!

I found this via Google.  Because I am deploying to AIR this seems like the
best option for me.

http://blog.earthbrowser.com/2009/01/simple-solution-for-mousewheel-events.html

Charles P.


On Wed, May 6, 2009 at 10:14 PM, Igor Costa  wrote:

>
>
> Charles
> As Alex said, you have to write your own VBox Class to update the scroll
> position. And other thing to keep in mind is that the default mouse wheel
> behavior in Mac OS doesn`t work correctly, look at google for a replacement
> for that.
>
>
> Hope you enjoy!
> Igor
>
>
>
>
>
> On Tue, May 5, 2009 at 5:00 PM, Charles Parcell 
> wrote:
>
>>
>>
>> I have a VBox and I want it to scroll using the mouse wheel and some arrow
>> buttons that I will build.  The problem is, if I set the
>> verticalScrollPolicy = "off" then the VBox does not scroll at all.
>>
>> How can I visually turn off the scrollbar and keep the ability to scroll?
>>
>> Thanks,
>> Charles P.
>>
>
>
>
> --
> 
> Igor Costa
>
> 
>


[flexcoders] Re: LinkButton themeColor

2009-05-07 Thread chandruflex
I am trying to implement a HTML  tag like thing using the LinkButton. When I 
move my mouse-cursor over the LinkButton, I see a Blue colored rectangle. This 
is the value of the "themeColor" style of a LinkButton. Setting the 
"themeColor" to a value that is the background color of the container in which 
the LinkButton is placed, does not look like a HTML  tag would.

Anyhow, I came to know about the "rollOverColor" style of the LinkButton. 
Setting its value to the background color of the container in which the 
LinkButton resides, does not show a rectangle.

Now, the only effort I have to put in is to set the "buttonMode" property to 
"true", the "textDecoration" style to "underline", and the "color" style to 
"#FF".

Thank you Tom.

--- In flexcoders@yahoogroups.com, Tom Chiverton  wrote:
>
> On Thursday 07 May 2009, chandruflex wrote:
> > Is it possible to remove the "themeColor" style of a LinkButton?
> 
> To what end ?
> 
> -- 
> Helping to vitalistically pursue services as part of the IT team of the 
> year, '09 and '08
> 
> Tom Chiverton
> Developer
> Tel: +44 0161 618 5032
> Fax: +44 0161 618 5099 
> tom.chiver...@...
> 3 Hardman Square, Manchester, M3 3EB
> www.Halliwells.com
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list 
> of members is available for inspection at the registered office together with 
> a list of those non members who are referred to as partners. We use the word 
> ?partner? to refer to a member of the LLP, or an employee or consultant with 
> equivalent standing and qualifications. Regulated by the Solicitors 
> Regulation Authority.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged. If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents. If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 2500.
> 
> For more information about Halliwells LLP visit www.Halliwells.com.
>




Re: [flexcoders] Re: Choppy Move effect..

2009-05-07 Thread Brad Bueche
tweenlite: VERY cool link. Thanks!  I LOVE this community!


brad



On Wed, May 6, 2009 at 10:18 AM, nathanpdaniel  wrote:

>
>
> You should really look into TweenLite
> http://blog.greensock.com/tweenliteas3/
> Adobe animations are good in certain situations but, if you really want to
> control the animation - TweenLite/TweenMax are a lot better suited.
>
>
> --- In flexcoders@yahoogroups.com ,
> "vinayakvijay_v"  wrote:
> >
> > Hi friends,
> >
> > In flex when i apply Move Effect to a jpg or png image , the effect is
> not smooth and image appears choppy.
> >
> > u can see it even in the example given by adobe.
> >
> > http://livedocs.adobe.com/flex/201/langref/mx/effects/Move.html
> > (bottom of this page)
> >
> > the image when move appears choppy.
> > i think you got what i mean.
> >
> > do any one know how to make it smooth..
> >
> > thanks in advance
> >
> > Vinu.
> >
>
>  
>


[flexcoders] Re: NativeDragManager and nested components

2009-05-07 Thread Cato Paus
http://www.mikechambers.com/blog/2007/11/07/air-example-native-drag-and-drop/ 


--- In flexcoders@yahoogroups.com, "Yves Riel"  wrote:
>
> Thanks Alex but I need to be able to drag from the Desktop to the App
> too. However, maybe I can dynamically swap the NativeDMI for the regular
> DMI and vice-versa when I need it. I'll have to look into this. I'll try
> to find the tech note but if you have the link, it would be handy.
>  
> Thanks!
>  
> Whyves
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Alex Harui
> Sent: Thursday, May 07, 2009 2:53 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] RE: NativeDragManager and nested components
> 
> 
> 
> 
> 
> There are different "rules" to doing drag/drop totally internally
> (DragManagerImpl) and having to work with many OS platforms
> (NativeDragManagerImpl).  We just couldn't find enough common ground.
> 
> However, if you don't need to drag from your AIR app to the desktop, you
> can replace NativeDMI with regular DMI.  There's a technote or
> documentation on how to do it.
> 
> Alex Harui
> 
> Flex SDK Developer
> 
> Adobe Systems Inc.  
> 
> Blog: http://blogs.adobe.com/aharui  
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
> Behalf Of Yves Riel
> Sent: Wednesday, May 06, 2009 10:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] NativeDragManager and nested components
> 
> 
> 
> 
> 
> 
> The DragManagerImpl and NativeDragManagerImpl behaviours are so
> different that it drives me nut! I have a Flex component that is
> embedded in a Flex and AIR app. So, I used the IDragManager interface to
> access the methods and used the standard events. Unfortunately, I can't
> get a consistent behaviour across both platforms.
> 
> One of my biggest problem is that in AIR, if a parent UIComponent
> accepted the drag, a child cannot cancel it through the standard
> IDragManager interface. I have a container that can accept or refuse a
> drag operation and I have children of the container that can do the
> same. So, when I move the mouse over the container, if it accepts the
> drag and that I move the mouse over a children and that the children
> cannot accept the drag, I simply cannot get the no drag icon over the
> child.
> 
> I could possibly try to use the NativeDragEvents to do the trick but
> since I want my component to be cross platform, I cannot use AIR only
> classes. I'm starting to think that Adobe didn't think about this use
> case when designing both drag managers.
> 
> Anyone has an idea or overcame this issue?
> 
> Thanks!
> 
> Yves
>




RE: [flexcoders] RE: NativeDragManager and nested components

2009-05-07 Thread Yves Riel
Thanks Alex but I need to be able to drag from the Desktop to the App
too. However, maybe I can dynamically swap the NativeDMI for the regular
DMI and vice-versa when I need it. I'll have to look into this. I'll try
to find the tech note but if you have the link, it would be handy.
 
Thanks!
 
Whyves



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alex Harui
Sent: Thursday, May 07, 2009 2:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] RE: NativeDragManager and nested components





There are different "rules" to doing drag/drop totally internally
(DragManagerImpl) and having to work with many OS platforms
(NativeDragManagerImpl).  We just couldn't find enough common ground.

However, if you don't need to drag from your AIR app to the desktop, you
can replace NativeDMI with regular DMI.  There's a technote or
documentation on how to do it.

Alex Harui

Flex SDK Developer

Adobe Systems Inc.  

Blog: http://blogs.adobe.com/aharui  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Yves Riel
Sent: Wednesday, May 06, 2009 10:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] NativeDragManager and nested components






The DragManagerImpl and NativeDragManagerImpl behaviours are so
different that it drives me nut! I have a Flex component that is
embedded in a Flex and AIR app. So, I used the IDragManager interface to
access the methods and used the standard events. Unfortunately, I can't
get a consistent behaviour across both platforms.

One of my biggest problem is that in AIR, if a parent UIComponent
accepted the drag, a child cannot cancel it through the standard
IDragManager interface. I have a container that can accept or refuse a
drag operation and I have children of the container that can do the
same. So, when I move the mouse over the container, if it accepts the
drag and that I move the mouse over a children and that the children
cannot accept the drag, I simply cannot get the no drag icon over the
child.

I could possibly try to use the NativeDragEvents to do the trick but
since I want my component to be cross platform, I cannot use AIR only
classes. I'm starting to think that Adobe didn't think about this use
case when designing both drag managers.

Anyone has an idea or overcame this issue?

Thanks!

Yves




[flexcoders] implementing flicker functionality in flex

2009-05-07 Thread vn_gangireddy
Hi Everyone,

I am beginer to the flex development. Actually i need to implement the flicker 
functionality in flex. If anyone have idea, please give me some guidance to 
achieve this. Any help is highly appreciated.
Thanks in advance.

Regards,
Venkat.



[flexcoders] LCDS: can two assemblers use same entity object?

2009-05-07 Thread Rajeev Goel
hi All,

I am using LCDS 2.6 with Flex SDK 3.2.

One of my existing assemblers (say EmployeeAssembler) is using entity object
called Employee.
Is it possible to have another assembler (say ManagerAssembler) which also
uses Employee object ?

data-management-config.xml:

 
  
  
   employeeAssemblerBean
   spring
   


   
  
 
  
  
  
   managerAssemblerBean
   spring
   


   
  
 

The primary key attribute is "uniqueId" and of type string.
To prevent manager assembler from getting confused, code adds a prefix to
the unique id for differentiation. this way uniqueId should never clash.

Issue is that server pushes on ManagerAssembler are not showing up on
client. Also its uid is mangled (sample value:
09C348F9-3DEB-45F0-33F4-19D033896417).
Usually uid contans assembler's name.

Could someone point me to right direction ?

thanks,
Rajeev


[flexcoders] Re: Choppy Move effect..

2009-05-07 Thread vinayakvijay_v
hey this on is relay cool.
thanks.

just adding a link 

Flex Application Performance: Tips and Techniques for Improving Client 
Application Performance

http://www.adobe.com/devnet/flex/articles/client_perf_09.html

may be it helps someone 

have  a nice day

vinu.

--- In flexcoders@yahoogroups.com, "nathanpdaniel"  wrote:
>
> You should really look into TweenLite
> http://blog.greensock.com/tweenliteas3/
> Adobe animations are good in certain situations but, if you really want to 
> control the animation - TweenLite/TweenMax are a lot better suited.
> 
> 
> --- In flexcoders@yahoogroups.com, "vinayakvijay_v"  wrote:
> >
> > Hi friends,
> > 
> > In flex when i apply Move Effect to a jpg or png image , the effect is not 
> > smooth and image appears choppy. 
> > 
> > u can see it even in the example given by adobe.
> > 
> > http://livedocs.adobe.com/flex/201/langref/mx/effects/Move.html
> > (bottom of this page)
> > 
> > the image when move appears choppy.
> > i think you got what i mean.
> > 
> > do any one know how to make it smooth..
> > 
> > thanks in advance 
> > 
> > Vinu.
> >
>




Re: [flexcoders] Re: how open .doc (words )file

2009-05-07 Thread Weyert de Boer

By unzipping it.



On 7/05/2009, at 5:03 AM, securenetfreedom wrote:


How would you gain access to the .doc XML?





[flexcoders] Re: Choppy Move effect..

2009-05-07 Thread vinayakvijay_v
Hey thanks yar.
this one is cool..
--- In flexcoders@yahoogroups.com, "nathanpdaniel"  wrote:
>
> You should really look into TweenLite
> http://blog.greensock.com/tweenliteas3/
> Adobe animations are good in certain situations but, if you really want to 
> control the animation - TweenLite/TweenMax are a lot better suited.
> 
> 
> --- In flexcoders@yahoogroups.com, "vinayakvijay_v"  wrote:
> >
> > Hi friends,
> > 
> > In flex when i apply Move Effect to a jpg or png image , the effect is not 
> > smooth and image appears choppy. 
> > 
> > u can see it even in the example given by adobe.
> > 
> > http://livedocs.adobe.com/flex/201/langref/mx/effects/Move.html
> > (bottom of this page)
> > 
> > the image when move appears choppy.
> > i think you got what i mean.
> > 
> > do any one know how to make it smooth..
> > 
> > thanks in advance 
> > 
> > Vinu.
> >
>




Re: [flexcoders] LinkButton themeColor

2009-05-07 Thread Tom Chiverton
On Thursday 07 May 2009, chandruflex wrote:
> Is it possible to remove the "themeColor" style of a LinkButton?

To what end ?

-- 
Helping to vitalistically pursue services as part of the IT team of the 
year, '09 and '08

Tom Chiverton
Developer
Tel: +44 0161 618 5032
Fax: +44 0161 618 5099 
tom.chiver...@halliwells.com
3 Hardman Square, Manchester, M3 3EB
www.Halliwells.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of 
members is available for inspection at the registered office together with a 
list of those non members who are referred to as partners. We use the word 
?partner? to refer to a member of the LLP, or an employee or consultant with 
equivalent standing and qualifications. Regulated by the Solicitors Regulation 
Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged. If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents. If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.Halliwells.com.
 

[flexcoders] Re: TileList dataprovider change bug?

2009-05-07 Thread Ritu Raj Tiwari
This is definitely a pointer in the right direction. I found that my item 
renderer was not redrawing things under certain conditions. Fixing that fixed 
the problem.

Many thanks to all who took the time to help me out!

-Raj
--- In flexcoders@yahoogroups.com, "Amy"  wrote:
>
> --- In flexcoders@yahoogroups.com, "Ritu Raj Tiwari"  wrote:
> >
> > I am seeing some strange behaviour with TileList. I am hoping someone can 
> > shed some light on this:
> > I have a TileList where I assign it an ArrayCollection for its 
> > dataProvider. As I add objects to this collection, the tile list updates 
> > faithfully.
> > 
> > The problem happens when I switch the dataProvider to a new one. I start 
> > with an empty array collection and sure enough, the tile list is empty. 
> > When I add the first item to the new dataProvider, I see the last item from 
> > the previous dataProvider as the first entry in the list. As I add more 
> > items, I see more items from the previous data provider.
> > 
> > Has someone else encountered this? It is definitely a bug, I am wondering 
> > if there is an easy workaround, like, say, creating my own TileList 
> > subclass that clears the right thing?
> 
> http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf
> Q2
>




RE: [flexcoders] Are you using the Marshall Plan?

2009-05-07 Thread Gregor Kiddie
Seeing as no-one else has replied to you yet Matt...

 

*Disclaimer, its well known that I dislike the Marshall Plan, so feel
free to dollop large amounts of healthy skepticism on my words*

 

We do not use the Marshall plan, though we have a business case where we
may have to satisfy similar conditions.

*   The overhead in terms of architecture that the plan demands
means it's easier to bring a module built with an older version of the
SDK upto the latest version than it is to rewrite it to fit into how the
plan works.
*   I still think there are issues when sending events containing
data of a type the receiving app doesn't have in it's SDK (Vectors for
example).
*   Lastly, the security considerations are still arbitrary. It
still doesn't stop man-in-the-middle attacks, it just pushes them
further up the food chain (meaning that the host swf becomes the target
of the attack rather than a sub app)

I understand that Adobe have a healthy paranoia about security concerns.
If I had my software running on 90+% of all the machines in the world, I
would too!

However, in my opinion, this is still the wrong approach.

 

Oh and describing my dreams involving Alex would probably get me banned
from this list and / or a court order ;)

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:   01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact is.helpd...@inps.co.uk



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Matt Chotin
Sent: 06 May 2009 19:24
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Are you using the Marshall Plan?

 






Are you building apps in a modular fashion where those modules need to
support different Flex versions? Do you have nightmares where Alex is
explaining SecurityDomains and ApplicationDomains and
SWFLoader.loadForCompatibility?

Please let me know (email me at mcho...@adobe.com
 ), we're trying to evaluate
some pain points and whether I need to bribe the Player team to solve
them
ASAP or if it can wait a release.

Matt





[flexcoders] LinkButton themeColor

2009-05-07 Thread chandruflex
Is it possible to remove the "themeColor" style of a LinkButton?