Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-06-2003, 10:00 AM   #1
Registered User
Join Date: Jun 2003
Posts: 14
Default using variables in external text file while running *.exe


i've been finding a lot of stuff about using loadVariables but I don't quite know how I would use it.

i need to load the variables and variable data from a text file while running a projector file (.exe) because i can't keep republishing the flash file. so i might be on frame 50 or something before i use these variables to redirect me to different frames.

//text file
nextpage="5";lastpage="3"; etc....

//intended use in flash file
gotoAndStop(nextpage); //nextpage is determined

this is what my text file looks like right now as i'm not sure if the syntax is right, and i'm not quite sure of the exact code to use in the flash file to load the variable data from the text file while running the exe. hope someone cn help! thx!!

btw, i'm using flash 5

dartagnan324 is offline   Reply With Quote
Old 08-07-2003, 04:14 AM   #2
Addicted To FLASH
farafiro's Avatar
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro

the text file should look like this:

//text file
&nextpage="5&lastpage="3"& etc....

no spaces, commas, semi...........
‚€* GOD Is Near ‚€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
farafiro is offline   Reply With Quote

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

All times are GMT. The time now is 11:36 AM.

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.