Sunday_taz contacted me in the Articulate forums to ask how to get multiple Flash files to track the same information across multiple Articulate slides.
The key lays in Flash’s _global property. The _global property refers to an object that exists at the highest level of a swf and is therefore accessible by any other swfs loaded into it. We can take advantage of that by tucking our variables into it.
The two key things to remember here are:
- I needed to target Flash Player 7 (or higher) when I published my swfs.
- When inserting your swf choose the “Movie plays independently” option.
Here is a quick screenr on how to do it. Download files: global.zip
You may also be interested in:
Hi James, it is working now! =) So what I did exactly only changing the option to be “Movie plays independently” for my swfs.
So, the _global property will work for all script and link different swf movies properly within Presenter?
Thanks alot! ^-^
Thanks for sharing this tip. And I am now looing for a way to prevent user from viewing the content if he is not logon.
The idea behind is that user may download all the files into local hard disk then view the presentation, which I don't want it happen.
Is there a way that we set a flash varaible to indicate if user is logon, then check it for all slides and don't play the swf if not.
It would be kinda hard for someone to download all the Articulate files... cause of the way it breaks the course up into many, many swfs.
But if your concerned there is a way to check:
You can use the _url property to retrieve the URL of the swf. If it doesnt start with "http" then its local. Even better you could use this to ensure the content is being run off your own site by checking the full domain.
Tom Kuhlmann suggested I drop you a line to see if you could help with a project I am working on. Basically, what I need is for the learner to do some free brainstorming on what they think the basic needs of children are. Then, once they have their list, I need Articulate to save their entries, display them and then allow them to take their list and organize it into 3 categories. Does this make sense? Any help or guidance you could give would be great. Hey, I will even pay more than $8.00 if you are able to help with this! :-)
I downloaded the global.zip to find when I try to open it I get the "Unexpected File Format" error. I'm using Flash 8. Would this by any chance be in Flash CS4, and if so would it be possible to get the files in the previous Flash 8 version?
Understand if its not doable. It'd be an incentive to upgrade to the latest version :)
Good point. I was able to make a CS3 version. I hope that works for you.
Hi there, I've downloaded the global.zip file multiple times on a couple of different computers but get an error each time I try to extract. Could the file be corrupt?
Hmmm what is the error?
Using the Windows XP extractor, I get: "The compressed (zipped) folder is invalid or corrupted."
Using WinZip I get: "Warning: skipping "global\global_CS3\". The 32-bit CRC stored in the local header for this file is not the same as the 32-bit CRC stored in the central header."
If I try to skip the file using Winzip, then I get: "Error in file #1: bad Zip file offset (Error local header signature not found): disk #1 offset: 8424." If I continue, I get the same error for every file. #1, #2, #3, etc.
As I mentioned on my previous post. I have tried different computers from different locations and still get this error. It makes me think the global.zip file may be corrupt. Please advise if you can. I would really like to be able to see the content and code as this directly relates to a project I am working on. Any help appreciated. Thanks.
Wow, I didn't know about this - THANKS!
This one opens up all sorts of possibilities!
I'm looking at accumulating user entries across slides to display at the end.
I'm wondering how much work would be involved in attaching a scroll bar to the entry text box?
Is there a way keep the values entered into the fields even when you switch between slides and then clear them when you exit the presentation?