RE: [flexcoders] Re: addChild doesn't effect for some reason REFdn2065133102

2009-10-30 Thread dennis
For god's sake. it works =) ! The button hasn't (at all) width and height! What is the difference between the addChild(buttonFromMainClass); and Application(Application.application).addChild(buttonFromMainClass); In the adding process??? Does any body knows? Thanks Amy anyway!!!

[flexcoders] Re: addChild doesn't effect for some reason REFdn2065133102

2009-10-29 Thread droponrcll
--- In flexcoders@yahoogroups.com, dennis den...@... wrote: In small test application I have the follow object. stack The Main.mxml loads the EntryClass.as - class EntryClass (that doesn't extends anything) - public static function Main(). This EntryClass.Main() function is

[flexcoders] Re: addChild using actionscript

2009-06-29 Thread Amy
--- In flexcoders@yahoogroups.com, ew6014 ew6...@... wrote: hi guys. i was reading flex3 for dummies page 221 on containers and it gave an example of adding childen using actionscript. it worked fine. but i thought about adding a removeChild function. but it doesnt seem to be working. can

[flexcoders] Re: addChild using actionscript

2009-06-29 Thread valdhor
You are not removing one of the checkboxes you added. If you check the documentation for VBox at http://livedocs.adobe.com/flex/3/langref/mx/containers/VBox.html you will see there are a couple of ways to remove a single child - removeChild and removeChildAt. removeChild would work if you had

[flexcoders] Re: addChild() (not addChildAt) throws RangeError: Error #2006: Thesupplied inde

2008-06-03 Thread valdhor
There are also UIComponents that must have children added at specific places. I can't remember what these components are off-hand but I did run into this same kind of problem with a window control bar that had to be added as the last child. If another child was added after it, then I got a range

RE: [flexcoders] Re: addchild

2008-01-21 Thread Gordon Smith
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Sunday, January 20, 2008 7:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: addchild I'm still missing something very basic. Why would you think

Re: [flexcoders] Re: addchild

2008-01-21 Thread Sherif Abdou
i practice was flash only actionscript examples. It does take a while to understand the whole framework so yaaa - Original Message From: Gordon Smith [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, January 21, 2008 2:58:38 PM Subject: RE: [flexcoders] Re: addchild Why

Re: [flexcoders] Re: addchild

2008-01-21 Thread [EMAIL PROTECTED]
Gordon Smith wrote: Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes completely ? It was just a guess, because the title didn't include the word Flex. Are you saying that this book actually does use

RE: [flexcoders] Re: addchild

2008-01-21 Thread Gordon Smith
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, January 21, 2008 6:03 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: addchild Gordon Smith wrote: Why would you think that a book called actionscript 3 animation uses only only flash

Re: [flexcoders] Re: addchild

2008-01-21 Thread [EMAIL PROTECTED]
] *On Behalf Of [EMAIL PROTECTED] *Sent:* Monday, January 21, 2008 6:03 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] Re: addchild Gordon Smith wrote: Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
: [flexcoders] Re: addchild I just use whatever I can get to work. I'm happy just using flex, and when I use some old flash its only because I don't know any better. The ball class is from the foundation action script 3 animation book and there is no import mx.core.UIComponent; in thier example. When

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
of [EMAIL PROTECTED] Sent: Sun 20/01/2008 15:56 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: addchild I'm still missing something very basic. Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
: [flexcoders] Re: addchild I'm still missing something very basic. Why would you think that a book called actionscript 3 animation uses only only flash.* classes throughout and avoids the mx.* classes completely ? Doesn't Flex use actionscript 3? Doesn't it do animation? I bought lots of other

Re: [flexcoders] Re: addchild

2008-01-20 Thread Sherif Abdou
That is if you do an ActionScript Project instead of a FlexProject - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, January 20, 2008 1:05:32 PM Subject: Re: [flexcoders] Re: addchild Thanks, that helps alot. Why isn't

Re: [flexcoders] Re: addchild

2008-01-20 Thread [EMAIL PROTECTED]
PM Subject: Re: [flexcoders] Re: addchild Thanks, that helps alot. Why isn't this in the documentation ? http://livedocs. adobe.com/ labs/flex3/ html/help. html?content= Drawing_Vector_ Graphics_ 6.html http://livedocs.adobe.com/labs/flex3/html/help.html?content=Drawing_Vector_Graphics_6

RE: [flexcoders] Re: addchild

2008-01-20 Thread Jim Hayes
that it pays of quite rapidly. It did for me. -Original Message- From: flexcoders@yahoogroups.com on behalf of [EMAIL PROTECTED] Sent: Sun 20/01/2008 21:20 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: addchild Yes I know, but where is the documentation for a flex project

Re: [flexcoders] Re: addchild

2008-01-19 Thread [EMAIL PROTECTED]
Of *rueter007 *Sent:* Thursday, January 17, 2008 10:12 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] Re: addchild you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent(); ballParent.addChild(ball); vbox.addChild(ballParent

RE: [flexcoders] Re: addchild

2008-01-18 Thread Merrill, Jason
This may help: http://weblogs.thekeunster.com/?p=6 Jason Merrill Bank of America GTO LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community

[flexcoders] Re: addchild

2008-01-17 Thread rueter007
you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent(); ballParent.addChild(ball); vbox.addChild(ballParent); and ofcourse, you have to set the width, height etc. - venkat http://www.venkatj.com --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
Ok thanks, I tried that, Now I get this error, Type was not found or was not a compile-time constant: UIComponent. rueter007 wrote: you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent(); ballParent.addChild(ball);

Re: [flexcoders] Re: addchild

2008-01-17 Thread Max Frigge
import mx.core.UIComponent; - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 5:28:02 PM Subject: Re: [flexcoders] Re: addchild Ok thanks, I tried that, Now I get this error, Type

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
mx.core.UIComponent; - Original Message From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, January 18, 2008 5:28:02 PM Subject: Re: [flexcoders] Re: addchild Ok thanks, I tried that, Now I get this error, Type was not found or was not a compile

RE: [flexcoders] Re: addchild

2008-01-17 Thread Gordon Smith
, 2008 10:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addchild you cannot add sprites directly that way. you can do the following. var ballParent: UIComponent = new UIComponent(); ballParent.addChild(ball); vbox.addChild(ballParent); and ofcourse, you have to set the width

RE: [flexcoders] Re: addchild

2008-01-17 Thread Gordon Smith
@yahoogroups.com Subject: Re: [flexcoders] Re: addchild I just use whatever I can get to work. I'm happy just using flex, and when I use some old flash its only because I don't know any better. The ball class is from the foundation action script 3 animation book and there is no import

[flexcoders] Re: addchild

2008-01-17 Thread javaguru_uk
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Max Ok thanks, I can finally see the ball. I did look on Max http://livedocs.adobe.com/flex/2/langref/mx/core/UIComponent.html Max It should have this line somewhere on this page: Max import.mx.core.UIComponent Max For

Re: [flexcoders] Re: addchild

2008-01-17 Thread [EMAIL PROTECTED]
I just use whatever I can get to work. I'm happy just using flex, and when I use some old flash its only because I don't know any better. The ball class is from the foundation action script 3 animation book and there is no import mx.core.UIComponent; in thier example. When you say: If you're

[flexcoders] Re: addChild(bitmap) problems

2007-12-16 Thread Ryan Frishberg
Containers are really containers of UIComponents (Flex stuff only). You could add to rawChildren, but I think what Jason did is a better idea. He created a UIComponent, and then just added the non-Flex component to that. -Ryan --- In flexcoders@yahoogroups.com, Daniel Thompson [EMAIL

[flexcoders] Re: addChild(bitmap) problems

2007-12-10 Thread Jason
Nevermind, I forgot I need to add a UIComponent inside the Canvas: mx:Canvas id=myCanvas x=10 y=10 width=774 height=463 borderColor=0xD4001A borderStyle=solid mx:UIComponent id=myUIComponent / /mx:Canvas Jason --- In flexcoders@yahoogroups.com, Merrill, Jason

[flexcoders] Re: addChild creationCompleteEffect

2007-10-25 Thread johantrax
What I have done is setting a breakpoint on the line of the move-effect-tag in which both width and height are 0. So Now I have added some 'debugging-alerts' (1) one in the creationcomplete-event of the popupwindowcomponent, before the inner form is added (2) one in the creationcomplete-event

[flexcoders] Re: addChild creationCompleteEffect

2007-10-18 Thread johantrax
Nobody with any tips? :( --Johan --- In flexcoders@yahoogroups.com, johantrax [EMAIL PROTECTED] wrote: Hi all, I create a TitleWindow with the PopupManager. The titlewindow should dynamically contain a canvas. So how did I do that. I gave the titlewindow a property called 'contentForm'

RE: [flexcoders] Re: addChild creationCompleteEffect

2007-10-18 Thread Joan Lafferty
, 2007 8:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addChild creationCompleteEffect Nobody with any tips? :( --Johan --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , johantrax [EMAIL PROTECTED] wrote: Hi all, I create a TitleWindow

RE: [flexcoders] Re: addChild creationCompleteEffect

2007-10-18 Thread Joan Lafferty
, 2007 10:06 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: addChild creationCompleteEffect Maybe try your effect on the showEffect rather than the creationCompleteEffect? I haven't tried this to see if it works... just a suggestion. Joan

[flexcoders] Re: addChild creationCompleteEffect

2007-10-18 Thread johantrax
: [flexcoders] Re: addChild creationCompleteEffect Maybe try your effect on the showEffect rather than the creationCompleteEffect? I haven't tried this to see if it works... just a suggestion. Joan

[flexcoders] Re: addchild error

2007-03-28 Thread wifi19
Hie, and thanks i'd like make a windows with every page that i want to print before printing to select it addpage is for print job isn't it ? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You can't add a child twice. Did you mean to call addPage?

RE: [flexcoders] Re: addchild error

2007-03-28 Thread Alex Harui
: [flexcoders] Re: addchild error Hie, and thanks i'd like make a windows with every page that i want to print before printing to select it addpage is for print job isn't it ? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: You can't

[flexcoders] Re: addchild error

2007-03-28 Thread wifi19
[mailto:[EMAIL PROTECTED] On Behalf Of wifi19 Sent: Wednesday, March 28, 2007 12:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addchild error Hie, and thanks i'd like make a windows with every page that i want to print before printing to select it addpage

[flexcoders] Re: addChild RemoveChild

2006-10-16 Thread learner
that helped , Thanks a lot Regards Ps On 10/16/06, learner [EMAIL PROTECTED] wrote: Hello all , Is there any way by which i can decide if the any component contains a particular component or not. something like this : box:: VBox = new VBox(); box.width = 100;box.height = 100;

[flexcoders] Re: addChild method in mx.core.Container

2006-02-23 Thread tyombria
--- In flexcoders@yahoogroups.com, Jens Halm [EMAIL PROTECTED] wrote: You can wrap your Sprite inside an UIComponent (code not tested): var s:Sprite = new Sprite(); var c:UIComponent = new UIComponent(); c.addChild(s); var b:Box = new Box(); b.addChild(b); I meant

[flexcoders] Re: addChild from String

2006-02-19 Thread pwhite40
Did you ever get an answer on this? I'm running into the same problem with getClassByName(MyCustomClass) blowing up unless I create a dummy instance of it first. Even when I do create a dummy instance first, it only works the first time I call the getClassByName(MyCustomClass) method. After

[flexcoders] Re: addChild from String

2006-02-19 Thread pwhite40
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pwhite40 Sent: Saturday, February 18, 2006 9:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: addChild from String Did you ever get an answer on this? I'm running

[flexcoders] Re: addChild from String

2006-01-18 Thread Brendan Meutzner
Hey Jens, Thanks for the help. It's now working (sort of)... If I create an instance of a built-in class (such as Button), the method below works fine. However, if I try creating a custom Class (eg. MyCustClass which extends from Canvas) like so: import custclasses.MyCustClass; var

Re: [flexcoders] Re: addChild from String

2006-01-18 Thread Johannes Nel
search the flash coders list for this, there are a ton of sollutions floating around in there. On 1/18/06, Brendan Meutzner [EMAIL PROTECTED] wrote:Hey Jens,Thanks for the help.It's now working (sort of)... If I create an instance of a built-in class (such as Button), themethod below works