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 October 19th, 2003, 06:24 PM
Lunatech3d Lunatech3d is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Location: Utah
Posts: 44 Lunatech3d User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Question: Using variables in a URL path?

I am getting a variable from a PHP page and trying to use that number in loading an image in flash. Here is the code.

Code:
imgNum=_root.newNum;
loadMovieNum("/images/small/"+imgNum+".jpg", 2);


Currently it is not working. I have a dynamic text field showing the correct number using 'imgNum' as the var:

The code works fine if I use:
Code:
imgNum=1;
loadMovieNum("/images/small/"+imgNum+".jpg", 2);


What am I doing wrong here? Thanks for any help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Question: Using variables in a URL path?


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