Kingsley eLearning Solutions

You have big dreams for your eLearning.
We'll make them come true.

image of Kingsley

Track Flash Variables across multiple #Articulate slides (screenr screencast)

Submitted by Kingsley 👑 on Fri, 11/06/2009 - 10:47

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:

Comments

Submitted by Triana (not verified) on Mon, 11/09/2009 - 00:08

Permalink

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! ^-^

Submitted by Lawrence Gong (not verified) on Mon, 11/16/2009 - 08:18

Permalink

Hi, James,

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.

Thanks,
Lawrence Gong

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.

James,
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! :-)
Thanks!

Submitted by Kevin (not verified) on Tue, 01/05/2010 - 12:08

Permalink

Hi James!
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 :)

Submitted by Kingsley 👑 on Tue, 01/05/2010 - 12:23

In reply to by Kevin (not verified)

Permalink

Good point. I was able to make a CS3 version. I hope that works for you.

Submitted by Saxman (not verified) on Wed, 01/13/2010 - 21:06

Permalink

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?

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.

Submitted by robjw (not verified) on Wed, 04/13/2011 - 04:23

Permalink

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?

Submitted by Amy (not verified) on Thu, 07/05/2012 - 00:55

Permalink

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?

Submitted by Cecilpypob (not verified) on Sun, 11/26/2017 - 10:50

Permalink

<a href=http://www.converseschoenenkopen.nl/295-all-stars-maat-25-tweedehands.h… Stars Maat 25 Tweedehands</a>
Build a scalable and trustworthy site. As technology advances and monitors always keep changing, you can't try out your web site over all websites and display screen styles. Ensure that the design and style, internet hosting, and program code is scalable. Accomplish this through making positive it's mistake-free and generating the packing clean. This can help you build a excellent design that works well for most scenarios.

<img>https://www.catharijne-concerten.nl/images/baz2/15564-adidas-schoenen-t…;

Is your home-based business paying back? With the time you might be spending on it, the remuneration may seem lower. But in case you are figuring your by the hour amount of pay out compared to an outside work, don't neglect to physique in travelling efforts and the expense of fuel. The Internal Revenue Service figures consumption of your car or truck at about 55 cents every mile. You must as well. The savings from being at house can make your on an hourly basis price of pay out appearance much better!

<img>https://www.converseschoenenkopen.nl/images/sie2/9494-converse-star-pla…;

Submitted by WilliamFub (not verified) on Sun, 11/26/2017 - 21:02

Permalink

<a href=http://www.cafedewestlander.nl/421-hoge-hakken-laars.html>Hoge Hakken Laars</a>
Business vouchers together with your friends or family members. Often it could be really worth your time to clip good discount coupons that you will not be using to enable you to industry them with other folks for vouchers that you can use. This can help everyone to save lots of a lot more, along with the coupon swaps can provide a fun explanation to acquire together.

<img>https://www.asicssneakers.nl/images/djw2/7529-asics-gel-noosa-tri-11.jp…;

As mentioned earlier mentioned, asthma attack can be a problem which is inherited or it can happen because of environmental leads to. People of all ages and cultural backdrops can be vunerable to the ravages from it. By educating yourself using the facts in this article it is possible to want to deal with your asthma episodes and the negative effects of them.Cease Pests From Bugging You Using These Tips

<img>https://www.abercrombietekoop.nl/images/bea2/8082-hollister-internet-be…;

Submitted by Sergiowes (not verified) on Mon, 11/27/2017 - 19:39

Permalink

<a href=http://www.websolutions.com.au/Scripts/cache.php?r=33-Levitra-Avis,Dure… Avis</a>
Life insurance is one thing that people neglect mainly because they don't consider death in the near future. Truthfully, nobody does, and that is why families are still destitute and struggling as soon as the a mother or father or partner dies all of a sudden. Life insurance is actually a means of taking care of your loved ones when you no longer are on this page. This informative article can respond to questions and help you get the insurance coverage you will need.
<a href=http://www.raderscreations.com/css/client.asp?t=29-Levitra-10mg-Acheter… 10mg</a>
Usually remember to brush your teeth for no less than two moments. You simply aren't going to get to each of the nooks and crannies in your jaws exactly where oral plaque wants to conceal. Be sure to give yourself the required time in the morning and evening to carefully smash your teeth correctly so as to avoid any oral plaque buildup.
<a href=http://www.cookseker.com/Scripts/client.asp?x=1-Kamagra-100-Mg-Bijwerki… 100 Mg Bijwerking</a>
Tension could be a trigger for anxiety and anxiety and panic attacks. Too much stress can contribute to hyperventilation and anxiety that can bring about a whole-blown panic attack. Should you suffer from anxiety and stress, get methods to loosen up, inhale profoundly and go on a time-out. If your anxiety is significant, it is prudent to talk to a health care provider.
<a href=http://www.aliraif.com.tr/admin/class.php?t=17>Kamagra Belgie</a>

Add new comment