Hey

In the embed code below, thistext will be available as _root.thistext  with a
value of "Staff Forum" once the movie is loaded. loadVariablesNum is not needed
here.

Then get your AS to do something like field.text = _root.thistext

This method is Flash Player 5+ based.
Steve's method is Flash Player 6 and 7 based.

Remember to add it to your object tag as well. Of course, embed isn't really
needed at all unless you need to target Netcrap 4 (urgh).
Mozilla, Opera 7, safari et al supports the w3c object tag far better than IE
supports it.

James Ellis
www.webqs.com
---
WSG - http://webstandardsgroup.org | Web Standards Group
syd::php - http://sydney.ug.php.net | Sydney PHP Developers
---
#300 - http://www.sitepoint.com/articlelist/300
---

---------- Original Message -----------
From: "Ben Yee" <[EMAIL PROTECTED]>
To: "Flash Developers List" <[EMAIL PROTECTED]>
Sent: Thu, 16 Oct 2003 13:30:21 +1000
Subject: [fugli] RE: an easy one first up...

> Hey Steve,
>  
> you put in your action script code
>  
> var staffForum_txt = loadVariablesNum ("youCFForm.cfm", 0, "GET");
>  
> where staffForum_txt is the variables assigned to your dynamic text box
>  
> cheers
> ben
> 
>  -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 16 October 2003 10:08 AM
> To: Flash Developers List
> Subject: [fugli] an easy one first up...
> 
> hey'all,
>  
> I would like the value of a URL variable passed to a swf displayed in 
> a dynamic text box in the swf.
>  
> so if the embedded swf is something like:
>  
> <EMBED src="lms6.swf?thistext=Staff Forum"....
>  
> how do I get "Staff Forum" to appear in my dynamic text box?
>  
> thanx... steve c
> ---
> You are currently subscribed to fugli as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> 
> MX Downunder AsiaPac DevCon - http://mxdu.com/ 
> 
> ---
> You are currently subscribed to fugli as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> 
> MX Downunder AsiaPac DevCon - http://mxdu.com/
------- End of Original Message -------


---
You are currently subscribed to fugli as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to