There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard netgear network printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless xbox
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Concatenation of Javascript Value in Flash CS3

Reply  
Thread Tools
fahadbht's Avatar
Junior Member with 2 posts.
 
Join Date: Mar 2009
Experience: Intermediate
23-Mar-2009, 11:42 AM #1
Unhappy Concatenation of Javascript Value in Flash CS3
Hi there
I am getting the data from XML file for each record, the XML node is as below:

Quote:
<img thumbEvents='true' thumbnail='The-Strangers.jpg' large='The-Strangers.jpg' TitleEn='The Strangers' ChannelName_en_gb='SHOWCINEMA 2' DateTime='February 14 March' Time='10:00' Id='123'/>
Each item has one Id which links to a more information page, I have taken the Id into a variable on first frame:

Quote:
_root.Id.text=obj.Id;
There is a button on stage, over which i have written this code to check if the value is passing into the variable or not by :

Quote:
Id = _root.Id.text;
on (release) {
//getURL("http://www.domain.com?Id=126");
getURL("javascript:alert('"Id"')");
}
But cant get it working even after uploading onto the FTP.

Can anyone help me fixing this concatenation issue, or correct me if i am putting the incorrect javascript in flash.

Much appreciated
Fahad
Reply

Tags
alert, flash, javascript

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:59 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.