LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-30-2006, 12:16 AM
cybercampbell cybercampbell is offline
Registered User
 
Join Date: Mar 2004
Location: London UK
Posts: 59
Rep Power: 10
cybercampbell is on a distinguished road
Passing Variables to Flash from HTML via Query String

Hi all

This is what i'm having trouble with:

these are the embeded flash movie options...

Code:
src="flashfile.swf"
or
src="flashfile.swf?page=cont1"
or
src="flashfile.swf?page=cont2"
or
src="flashfile.swf?page=cont3"
And in the flash file I need this sort of thing to happen:

Code:
if(page doesnot exist){
_root.gotoAndPlay(2);
} else{
_root.gotoAndStop(102);
}
so if

.swf?page=anything

it goes to frame 102

but if no Query String exists then goto frame 2

Any ideas?

Cheers
Cybercampbell
__________________
Successful people ask better questions, and as a result, they get better answers - Anthony Robbins
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The News From Adobe on the Future of Flash Platform FlashMove Chit Chat Lobby 0 11-10-2011 09:55 AM
Passing variables from Flash to Flash Twisted-Reality Newbies 2 10-05-2006 07:18 AM
Flash -> PHP -> mySQL -> PHP -> Flash schlumpf Web Platforms - PHP, JSP and .NET 1 07-27-2002 11:50 AM
floating flash in HTML page quackaroo Client Side 1 02-27-2002 02:38 PM
Javascript function passing variables into a flash movie swoop Client Side 10 11-12-2001 11:56 PM




All times are GMT. The time now is 08:16 AM.