Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-27-2009, 06:13 PM   #1
Join Date: Mar 2009
Posts: 2
Default external (local) data


This is my first post on this forum.


I'm fairly new to flash action script but have a reasonable working knowledge of the flash environment .

Presently I'm building an interactive CD-ROM based presentation for stand alone individual machines. I'm using AutoPlay Media Studio 7 to package a flash movie along with a licensed adobe reader and adobe flash player. One of the buttons on the autoplay package will install and create folders and files on a local machine.


I've uploaded a file for you flash gurus out there to look at, it may help to examplify what I'm trying to achieve.

What I'd like to do, is to be able to use a file (perhaps XML?) that the flash movie can reference and make changes to. If this is possible then such file would be included in the AutoPlay package (see background info above) and installed on the local machine.

Security is an extremely low key issue here and the username password is simply a means for flash to lookup and recognise an existing user (if there is one) and set the states of some variables.

Why? - The project is like an interactive training manual with questions and animated examples split into 8 modules. I would like to be able to provide users a means with the of not having to review previous modules by logging in at the login frame.

This is my humble attempt at some pseudo logic.

Assigned to 'signInUser' button

on (release) {

            if (user_name == storedUserName)  {
                    if (pass_word == storedPassword) {
                           module1 = storedXmlFileMod1value; // true or false
                           module2 = storedXmlFileMod2value; // true or false
                           module3 = storedXmlFileMod3value; // true or false
                           module4 = storedXmlFileMod1value; // true or false
                           module5 = storedXmlFileMod2value; // true or false
                           module6 = storedXmlFileMod3value; // true or false
                           module7 = storedXmlFileMod1value; // true or false
                           module8 = storedModXmlFile2value; // true or false
                 gotoAndStop ("content");
        else { gotoAndStop ("content"); }
// At the end of each module there is an 'end' button. 
// When this is clicked is it possible to write an update 
// to the XML file changing the value of the corresponding 
// module variable?

assigned to 'end' button - pseudo code

on (release) {
           mod1 = true;
           storedXmlFileMod1value = mod1;
           gotoAndStop ("content");
I'm sure this must be snap to many of you, but to me its a little beyond my current knowledge.

Help and advice would be fantastic,

many thanks
psypha 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading External Data XML or CSV? panrec ActionScript 3.0 8 01-20-2009 01:22 PM
External swf file not showing all the xml data. mizzou ActionScript 2.0 1 04-20-2007 01:14 PM
More External Data Questions SpiderArts ActionScript 2.0 1 07-05-2005 05:28 PM
checking for data when loading an external swf idpexec ActionScript 1.0 (and below) 0 09-19-2003 05:51 PM
Loading external data into an external swf donstylez ActionScript 1.0 (and below) 0 03-13-2003 11:54 PM

All times are GMT. The time now is 12:15 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.