Amy (usually) all programming languages that support something similar
support it from right to left, not with empty 'params'...
theFunction()
or theFunction(3)
or theFunction(4,5)
should work... i do not have access to the compiler at the moment thought,
so i have not checked
On Fri, Nov 14,
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 has, you may want
to add a class to represent your function arguments, construct that
object
What if you explicitly passed null?
theFunction(null,null,'bar');
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Amy
Sent: Friday, November 14, 2008 4:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Calling functions
Hi Tom,
Here is an example of Play() etc...
http://www.bridel.org/?p=9
Hilary
www.bridel.org
On 9/24/06, Tom Krcha [EMAIL PROTECTED] wrote:
Hi,
Does anybody know how to call functions on loaded SWF?
E.g.: I create my own animation in Flash IDE.
Then I load this swf with the animation
Rick- Whenever you declare a method such as click="someMethod()"...you cannot have double quotes between the wrapping double-quotes of the click. The compiler always assumes the second quote is the end of the method name. If you changed your code to -- click="callMethod()" and then above it
Rick,Have a look at the ExternalInterface functionality to call a _javascript_ function which resides in your HTML page which will satisfy your popup requirements...Brendan
On 8/14/06, Rick Root [EMAIL PROTECTED] wrote:
I've got an itemRenderer in a datagrid
extract the URLRequest() call to a AS method. make sure your mx:script block has the CDATA schtuffs.DKOn 8/14/06, Rick Root
[EMAIL PROTECTED] wrote:I've got an itemRenderer in a datagrid that's rendering a linkbutton
with a script.The following doesn't work because it's not valid XML, with the
Douglas Knudsen wrote:
extract the URLRequest() call to a AS method. make sure your mx:script
block has the CDATA schtuffs.
This is what I had done, as mentioned here:
I originally had a function defined in the same file that did that
and I
called like like this:
Hello,
You had several errors in your script, try this variant:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Panel width=732 title=MyPanel
mx:Canvas id =mycanvas width=715 height=408
backgroundColor=#FF
Hi,
Thank you very much for the reply.
I tried it. But still not working.(Didn't call line() and arrow() functions)
Any other errors?
Best Regards,
Prasad
?xml version=1.0 encoding=utf-8?
mx:Application
oût 2005 11:53À:
flexcoders@yahoogroups.comObjet: Re: [flexcoders] Calling
functions
Hi,Thank you very much for the reply.I tried it. But
still not working.(Didn't call "line()" and "arrow()" functions)Any other
errors?Best
Regards,Prasad--
: [flexcoders] Calling functions
Hi,
Thank you very much for the reply.
I tried it. But still not working.(Didn't call line() and arrow()
functions)
Any other errors?
Best Regards,
Prasad
?xml version=1.0 encoding
12 matches
Mail list logo