Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 6th, 2003, 03:31 PM
ndigs ndigs is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 1 ndigs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
URL as a variables to populate dynamically

help!

hey guys..i was wondering if there is any actionscript that would read a URL, and use that to populate text boxes in the movie.

I am not sure if I am clear but what I am looking to do is email a Url. What I am wondering is if when the Url gets clicked can that URL be read by an swf to populate text boxes dynamically?

????????????????????????????????????????????????????

Reply With Quote
  #2  
Old August 13th, 2003, 11:52 AM
jamieB jamieB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2002
Posts: 592 jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 1 h 56 m 16 sec
Reputation Power: 17
to get variables into flash this way then need to be appended as a querystring onto the embed and object tags in your page, or flashparam tags, so you would need to use a server side language or javascript to dynamically write the page with the querystring variables in the right place in the html.......eg consider I have a php page with a movie in it and I load it with

mysite/movie.php?name=jamieB

then I can make use of that variable in flash by going:

Code:
//the html generated when I published the movie........
< OBJECT classid="clsid:.........."
 WIDTH=550 HEIGHT=400>
 <PARAM NAME=movie VALUE="breakout.swf?<?=$_GET["name"]?>"> 
<PARAM NAME=quality VALUE=low> 
<PARAM NAME=bgcolor VALUE=#CCCCCC> 

<EMBED src="breakout.swf?<?=$_GET["name"]?>" quality=low bgcolor=#CCCCCC  WIDTH=550 HEIGHT=400 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://.........">
</EMBED>
</OBJECT>


Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > URL as a variables to populate dynamically


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway