Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

loadVars?

 
Jump to:  
 
javono
PostPosted: Sat Aug 30, 2008 10:59 am    Post subject: loadVars?
       
HI all

I am new to using loadVars, I have read through the language reference for
loadVars and looked back at some of the previous posts.

My question is simple, can loadVars pull down variables from the address bar
or do I have to explicitly load them from a PHP file on my server.

John Walsh
LINK
 

 
kglad
PostPosted: Sun Aug 31, 2008 12:36 am    Post subject: Re: loadVars?
       
flash can't read the address bar. you'll need to use javascript and the externalinterface class.
 

 
javono
PostPosted: Mon Sep 01, 2008 2:05 pm    Post subject: Re: loadVars?
       
Thanks kglad

I have already dabbled with the externalInterface class, will invest some more time reading up on it!
 

 
kglad
PostPosted: Mon Sep 01, 2008 3:27 pm    Post subject: Re: loadVars?
       
you're welcome.
 

 
Björn Ritzl
PostPosted: Tue Sep 02, 2008 9:43 am    Post subject: Re: loadVars?
       
javono skrev:
Quote:
Thanks kglad

I have already dabbled with the externalInterface class, will invest some more time reading up on it!

Isn't the best solution to use javascript to extract the needed URL
parameters and pass them as parameters to the SWF at startup, using
SWFObject or similar framework for embedding SWF content? No need for
external interface meddling then.

/Björn
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

meble Spotkania ze Zbawicielem. Posługa słowa na Adwent tanie kredyty gotowkowe Tanie Hotele Chorzów bet at home