[flexcoders] Re: Calling functions

2005-08-23 Thread bhaq1972
shouldn't that be --- In flexcoders@yahoogroups.com, Prasad Dhananjaya <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a small question. > I want to call function "line()" and function "arrow()" from > function "drawlines&Arrows()". I tried sevaral ways. But failed. > Can someone tell me how

[flexcoders] Re: Calling functions from an itemRenderer

2006-08-14 Thread Doug Lowder
I think you could have also used outerDocument.launchDetailsWindow (), as per http://livedocs.macromedia.com/flex/2/langref/mxml/component.html --- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote: > > Douglas Knudsen wrote: > > > > > > extract the URLRequest() call to a AS m

[flexcoders] Re: Calling functions on loaded SWF

2006-09-24 Thread tomkrcha
Hi Hilary, it's apparently just for AS3 (FP9) swfs. I tried to load there SWF which is not FP9, but I think FP6 animation and it caused an error: TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::[EMAIL PROTECTED] to flash.display.MovieClip. What the hell Adobe thinks? T

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > What if you explicitly passed null? > > theFunction(null,null,'bar'); The defaults aren't always null, and MPO is that the developer shouldn't need to know what the appropriate default is to make the default behavi

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > Amy, > > Fotis is right--if you want to specify a param that has a default, you > need to specify all parameters to the left of it in the argument list. > > Depending on your function and how many parameters it h

[flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > If you pass a null value to an optional parameter, the function uses the > default values defined in the declaration. Great, Tracy. Way to make me feel like a dope ;-). BTW, how do you get such pretty formatting?

[flexcoders] Re: Calling functions with optional parameters

2008-11-15 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith <[EMAIL PROTECTED]> wrote: > > You can write either > > MyClass.foo = bar; > > or > > MyClass["foo"] = bar; > > to set a static property of a class. Cool, thanks :-). This has really been a learning week for me.

[flexcoders] Re: Calling functions with optional parameters

2008-11-19 Thread Amy
--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Huh, my turn for the Doh! Funny how often we see what we expect, rather > than what is there. > > > > So, Amy, we have not solved your problem, and hopefully not caused you > much inconvenience. No, I had alread

Re: [flexcoders] Re: Calling functions on loaded SWF

2006-09-24 Thread EECOLOR
Hello,   like the compiler said, the movie you loaded is typed as AVM1Movie. You cannot directly communicate to an AVM1Movie from within AS3 (AVM2 or maybe AVM3, hehe), what you can do however is communicate with those movies via a LocalConnection. If you want more dynamic control you could buil

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
groups.com Subject: [flexcoders] Re: Calling functions with optional parameters --- In flexcoders@yahoogroups.com<mailto:flexcoders%40yahoogroups.com>, Maciek Sakrejda <[EMAIL PROTECTED]> wrote: > > Amy, > > Fotis is right--if you want to specify a param that has a

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Gordon Smith
Optional parameters must come after required parameters. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Friday, November 14, 2008 2:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-14 Thread Tracy Spratt
mber 14, 2008 5:02 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Calling functions with optional parameters --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > What if you explicitly passed

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-17 Thread Tracy Spratt
] Re: Calling functions with optional parameters --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > If you pass a null value to an optional parameter, the function uses the > default values def

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
D] On Behalf Of Tracy Spratt Sent: Friday, November 14, 2008 5:38 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters If you pass a null value to an optional parameter, the function uses the default values defined in the declaration. http:

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Gordon Smith
g null to 0. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, November 18, 2008 1:15 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters This produces the

RE: [flexcoders] Re: Calling functions with optional parameters

2008-11-18 Thread Tracy Spratt
that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Tuesday, November 18, 2008 4:25 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: Calling functions with optional parameters > If you pass a null va