Re: [flexcoders] rotate button

2009-10-04 Thread Vivian Richard
Thanks Tracy. I have tried both ways and they work as long as you are not resizing the parent canvas. But my requirement is that the parent canvas needs to be resizable. In simple language all I am looking for is a vertical label at the left side of the parent canvas that will stay a

[flexcoders] Unable to use a source path with a number in it?

2009-10-04 Thread biosmonkey
I have discovered an unusual problem with Flex and the use of workspace linked resources (Window/Preferences/General/Workspace/Linked Resources). If you have a source path that is partially a linked resource (ie ${MYPATH} and another part is a number, then Flex cannot find the path. For example

Re: [flexcoders] Rotation/Zoom effect applied to the Image looks too aliased! How to fight it?

2009-10-04 Thread Keith H
If you are talking about loaded images like "png" "gif" or "jpg" in an Image or SWFLoader UIComponent they are Bitmap. and you can try setting its "smoothing" property to true. Bitmap(imageComponent.content).smoothing=true; -- Keith H -- www.keith-hair.net lytvynyuk wrote: > > Is there any l

RE: [flexcoders] alteratif of if else function

2009-10-04 Thread Tracy Spratt
Or a loop. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Yesaya handoyo Sent: Sunday, October 04, 2009 4:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] alteratif of if

RE: [flexcoders] rotate button

2009-10-04 Thread Tracy Spratt
Two ways to do this. The one I have used is to put the thing you want to rotate on a canvas and assign negative x,y values to it so its center is at the 0,0 of the canvas.. Thus, the rotation about the top/left of the parent canvas become becomes rotation about the center of the child. The oth

[flexcoders] Sessions, Saving, Aviary Drawing and Multiple Flex apps

2009-10-04 Thread kristiansalvesen
I am trying to create a system of applications where the user must perform some actions in a flex applications, then when that is completed the user will be taken to an Aviary application to make a drawing or edit a drawing. When done with that a php file will be called that saves the Aviary dra

[flexcoders] Resize triggers reloading of Loader instance in UIComponent

2009-10-04 Thread thedauntless_ff
Hi, My situation: - viewStack (creationPolicy=all) - canvas - canvas - - hbox - - canvas - - customVideoPlayerComponent - - - hbox - - - canvas (id=holder) I want to play youtube video's in a chromeless player. I'm using this Youtube AS3 wrapper: http://www.ovidiudiac.ro/blog/2009/03/youtube-as

[flexcoders] abt reading the header of swf file

2009-10-04 Thread dimple
Hello, i want to read the framecount and frame size of an swf file..want code for this.. plz replyy

[flexcoders] Accessing an XML attribute using AS3 in Flex builder 4

2009-10-04 Thread Barry Gee
Hi. I'm having a little trouble getting the value of an attribute in an XML string. I am trying to get the value of 'url' out of the following XML: http://newsimg.bbc.co.uk/media/images/46491000/jpg/_46491622_mcarthur_pa.jpg />" I am using a HTTPService request to get the feed as follows: h

Re: [flexcoders] alteratif of if else function

2009-10-04 Thread Yesaya handoyo
On 10/4/09, Yesaya handoyo wrote: > Why don't u use switch case? > > On 10/4/09, cholid cholid wrote: >> Hi all >> i want to ask something about alternatif if else function >> >> i've 100 checkbox that  the syntax >> >> if(data.d[1] == '1') >>   image1.visible = true; >>     else

Re: [flexcoders] alteratif of if else function

2009-10-04 Thread Yesaya handoyo
Why don't u use switch case? On 10/4/09, cholid cholid wrote: > Hi all > i want to ask something about alternatif if else function > > i've 100 checkbox that  the syntax > > if(data.d[1] == '1') >   image1.visible = true; >     else >   image1.visible = false; > if(data.d[1] =

[flexcoders] alteratif of if else function

2009-10-04 Thread cholid cholid
Hi all i want to ask something about alternatif if else function i've 100 checkbox that  the syntax if(data.d[1] == '1')   image1.visible = true;     else   image1.visible = false; if(data.d[1] == '1')        image2.visible = true;     else   image2.visible