[Flashjs] Call ActionScript onload

Zath zathras333 at yahoo.com
Sun Sep 25 14:06:23 PDT 2005


Now why did on load come out to be on filtered?  Must be a yahoo email filter thing.

Zath <zathras333 at yahoo.com> wrote:Sorry, the body onload didn't come through...
 
 b o d y  onload="getUser('Zath');" 

Zath <zathras333 at yahoo.com> wrote:
If I create a button and call a function in javascript like this...
 
>From html (aspx) page...
 
< INPUT id="user" type="button" value="Show User" onclick=getUser('test'); >
 
function getUser(user){ 
     flashProxy.call('currentUser', 'test'); 
} 
 
This will work.  It does call the actionscript function currentUser.
 
But, if I try to do this with onload....
 
 < body onload="getUser('test');" >
 
It won't work.
 
Is this not possible?
 
Thanks,
 
Zath



---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort. _______________________________________________
Flashjs mailing list
Flashjs at osflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org


---------------------------------
Yahoo! for Good
Click here to donate to the Hurricane Katrina relief effort. _______________________________________________
Flashjs mailing list
Flashjs at osflash.org
http://osflash.org/mailman/listinfo/flashjs_osflash.org


		
---------------------------------
Yahoo! for Good
 Click here to donate to the Hurricane Katrina relief effort. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/flashjs_osflash.org/attachments/20050925/4fe1c98e/attachment.htm


More information about the Flashjs mailing list