Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-02-2008, 08:30 AM   #1
jraydan
Registered User
 
Join Date: May 2008
Posts: 1
Question Flash Lite 1.1 and loadVars.

Hello.
I have this problem with a little flash app I am making.

When it loads I have this line

ActionScript Code:
loadVariables ("name.txt", "/");

the only content of name.txt is

ActionScript Code:
visiting=teamname

Then I have a dynamic textbox that takes its data from the variable visiting and that works perfectly.

The problem comes when I try to use the visiting variable within the code.

like assigning it to other variable , like

ActionScript Code:
team = "away :" add visiting;

that is not working at all. that traces as

ActionScript Code:
away:

I am not sure if I am hitting some sort of limitation about external variables or what. I was counting on being able to load variables from an external file and use them within the code for my app.

I will appreciate any help or suggesstions. Remember this is flash lite to be used as a standalone app on a symbian s60 phone.

Thanks in advance.
jraydan is offline   Reply With Quote
Old 11-11-2008, 07:58 AM   #2
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Msg is too old to reply, but will definetly help others.

Change your code to below and the thing will work:

ActionScript Code:
team = "away: " add String(visiting)

As ever,
Vinayak Kadam

Last edited by vinayak.kadam; 11-11-2008 at 07:59 AM. Reason: variable name changed!
vinayak.kadam is offline   Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
one template, many looks? subquark ActionScript 1.0 (and below) 1166 10-29-2013 06:18 PM
phpBB and Flash integration loadvars JWilson Server-Side Scripting 15 02-28-2007 12:34 PM
Sending a SQL query from Flash to PHP with LoadVars. Character problems! str3ber Server-Side Scripting 3 04-27-2006 02:05 PM
Differences with LoadVars in Flash 8? vanboke ActionScript 2.0 0 04-23-2006 04:42 PM
How to replicate LoadVars() in Flash 5 ??? nightwing79 Server-Side Scripting 2 04-19-2003 06:20 AM


All times are GMT. The time now is 07:30 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.