Web Design and Development Forums

Code that will change variable name of Dynamic Text

This is a discussion on "Code that will change variable name of Dynamic Text" within the Flash & Multimedia Forum section. This forum, and the thread "Code that will change variable name of Dynamic Text are both part of the Design Your Website category.


Go Back   Webforumz.com > Design Your Website > Flash & Multimedia Forum

Welcome to Webforumz.com.
Register Now Register now!

Reply
 
LinkBack Thread Tools Rate Thread
Old Mar 5th, 2008, 17:54   #1 (permalink)
New Member
 
Join Date: Mar 2008
Location: providence
Posts: 1
Question Code that will change variable name of Dynamic Text

Hi,

I've set up a map using 39 towns as buttons, which onClick go to labeled keyframes. On each frame I have multiple dynamic text boxes which pull their information from a single text file created from a database. My problem is that whenever I want to change the layout of the text boxes I have to change it on the keyframes of 39 towns, since each set of text boxes has a different variable name. For example town1cat1a, town2cat1a.

What I'm hoping to do is to create one set of text boxes, and write some code that will change the variable name according to which keyframe you are on. For example townxcat1a, and if you are on town 1's keyframe, there will be a command that x=1. That way I only have to change one set of text boxes (the x's) and x will be swapped out for the town code.

I'm not a programmer, so any help on how to write this would be much appreciated!

Here's one example where I changed all the buttons by hand

http://www.projo.com/extra/2008/muni...s_pay/pay_map/

Thanks!
Kathy
KathyDeV is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
change a PHP variable by clicking? WebNinja PHP Forum 4 Dec 31st, 2007 10:36
(javascript)dynamic value to variable in src alexrozario JavaScript Forum 0 Jul 13th, 2007 07:02
masking dynamic text frankieb233 Flash & Multimedia Forum 1 Aug 22nd, 2006 02:41
Change from dynamic to static pages? swiftmed HTML Forum 4 May 31st, 2006 15:18
js to change applet code curlious JavaScript Forum 3 Feb 2nd, 2004 14:58



Latest Updates

All Points SEO Security Advisory - CHECK YOUR SITE NOW!

Creative Coding :: February 2008

Webforumz is sponsored by: WESH UK Web Hosting
All times are GMT. The time now is 11:32.

Sleep Study Scoring :: Free Bet :: Website Templates :: Online Betting :: Bookmakers :: Funny Quotes :: Internet Recruitment Software :: Microsoft CRM Experts :: Online Casino :: Decorated Christmas Trees :: Midwife Forums :: Football Betting :: Ecommerce Software :: Web Hosting :: Football Stats :: Dry Cleaning Collection :: xtreme wales - extreme clothing :: Apuestas :: Sharepoint Consultants :: Website Optimisation :: Office Clearance London :: Sharepoint Experts :: Sports Betting :: Casino :: Website Templates :: Web Design Development India :: Online Gambling

Powered by: vBulletin Version 3.7, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
© 2003-2008 Webforumz.com : All Rights Reserved
Search Engine Friendly URLs by vBSEO 3.2.0 RC6


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59