[flexcoders] Re: Type coercion failed for the same class

2010-03-18 Thread cosmin
on my blog. On 3/17/10 9:37 AM, cosmin flashcrow2...@... wrote: Hello all. This is a problem in Flash, actually, not Flex, but i think it might behave the same in Flex. Here's the scenario: I have 4 SWF files: main.swf, platform.swf, pluginLoader.swf and plugin.swf

[flexcoders] Type coercion failed for the same class

2010-03-17 Thread cosmin
Hello all. This is a problem in Flash, actually, not Flex, but i think it might behave the same in Flex. Here's the scenario: I have 4 SWF files: main.swf, platform.swf, pluginLoader.swf and plugin.swf. pluginLoader.FLA and plugin.FLA are in the same folder, and share some of the classes. At this

Re: [flexcoders] oval canvas

2007-04-11 Thread dordea cosmin
use the graphics property and draw an ellipse into it with the drawEllipse method - Original Message From: David Buitenveld [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, April 11, 2007 4:02:36 PM Subject: [flexcoders] oval canvas Hi

Re: [flexcoders]PHP and Flex questions

2007-04-04 Thread dordea cosmin
When a Flex application in a browser communicates with a php page for the first time a session is created. This is the same behavior as user receiving a PHP page in their browser. - true , but the session is created only if the php installed in your server is configured to auto start a session

Re: [flexcoders] getChildren

2007-04-03 Thread dordea cosmin
only objects that inherit the Container class have this functions. When i have a situation like yours, I usually do something like : if ( obj is Container) { //code here } and it works fine. It is possible not to work if your object was originally an Object , and you further created your

Re: [flexcoders] Drawing primitives in MXML

2007-02-21 Thread dordea cosmin
You can not use mxml to draw basic shapes because you have no components for these shapes. You have to use action script and draw into components graphics object. I needed once basic shapes at objects and created my own components that deal them, after that they could be used from mxml. regards

Re: [flexcoders] [Flex2] Binding an image using @Embed...

2006-10-05 Thread dordea cosmin
You also must check your build file for the 'use-network' flag. Quote :"A SWF file can access one type of external resource only, either local or over a network; it cannot access both types. You determine the type of access allowed by the SWF file using the use-network flag when you

Re: [flexcoders] Dynamically adding components to a panel?

2006-10-04 Thread dordea cosmin
Check the manuals , developers guide and building flex components , there is plenty of documentation.However , for your particular case , just add a click listener to the button , and on it do something likevar foo:Button = new Button();container.addChild(foo);for the shape thing , for each

Re: [flexcoders] Re: tabbing in flex

2006-09-26 Thread dordea cosmin
: http://livedocs. macromedia. com/flex/ 2/docs/0863. html But it probably deserves a section on its own. We should be able to add something for the next release. Stephen --- In [EMAIL PROTECTED] ups.com, dordea cosmin [EMAIL PROTECTED] .. wrote: Thanks for your reply. I wasn't aware

Re: [flexcoders] How does a component communicate with the Application

2006-09-25 Thread dordea cosmin
All visual components that extend the UIComponent have the parentApplication property which is what I think you need.For more information check http://livedocs.macromedia.com/flex/2/langref/mx/core/UIComponent.html#parentApplication- Original Message From: boy_trike [EMAIL PROTECTED]To:

Re: [flexcoders] Re: tabbing in flex

2006-09-24 Thread dordea cosmin
Thanks for your reply. I wasn't aware that you actually have to write in the code "implement IFocusManager" to have focus enabled. I took a look in the UI component source code and in the Button component source code and saw what I had to do.Now back to my original question, is this specified