Skip navigation
Sign in
0
Search forums only
Search forums only
Cancel
Adobe
Support Home
Forums Home
News
People
Product
Menu begins
Adobe Creative Cloud
Downloading, Installing, Setting Up
Adobe Experience Cloud
Adobe Flash Player
Acrobat Reader
Adobe Acrobat
Adobe Photoshop
Adobe Photoshop Lightroom
Adobe Photoshop Elements
Adobe Dreamweaver
Adobe Muse
Adobe Animate CC
Adobe Premiere Pro
Adobe After Effects
Adobe Illustrator
Adobe InDesign
View all communities
Explore
Menu begins
Meet the experts
Learn our products
Get inspired in the lounge
Read the blog
Error: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page.
Please enter a title.
You can not post a blank message. Please type your message and try again.
More discussions
in
ActionScript 1 and 2
All Communities
Adobe Animate CC - Home
ActionScript 1 and 2
3 Replies
Latest reply
on Aug 17, 2008 8:18 AM by Newsgroup_User
variable instead of a string
vinnio
Aug 17, 2008 5:04 AM
How can I make a variable instead of a string. I want to load XML date in ns.play(link[0]); for example. Only a string works. Is there a way to fix this?
I have the same question
Show 0 Likes
(0)
This content has been marked as final.
Show 3 replies
1.
Re: variable instead of a string
Newsgroup_User
Aug 17, 2008 5:16 AM
(
in response to vinnio
)
XML is text... you can use parseInt() / parseFloat() to turn a string into a
number.
--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
2.
Re: variable instead of a string
vinnio
Aug 17, 2008 6:37 AM
(
in response to Newsgroup_User
)
Could you make an example for me in my content? many thanks for your help!
3.
Re: variable instead of a string
Newsgroup_User
Aug 17, 2008 8:18 AM
(
in response to Newsgroup_User
)
var n:Number = parseInt("3");
--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/
Actions
More Like This
Retrieving data ...
Legend
Correct Answers
- 10 points