Jump to content

How Do They Do That


unplugged_web

Recommended Posts

What are u referring too?

Link to comment
Share on other sites

For the counter, you just need to keep summing to the number on every frame. They're getting the amount from the result of a perl script on the server-side and then passing it to the Flash document.

Link to comment
Share on other sites

For the counter, you just need to keep summing to the number on every frame. They're getting the amount from the result of a perl script on the server-side and then passing it to the Flash document.
That's what I'm not sure about - I can set a cron up to get the number I want, but how do I get that number into Flash?
Link to comment
Share on other sites

Through flashvars.I'm not very proficient in ActionScript, but in HTML you would add a <param> element to the <object> tag that has the flashvars in it:

<param name="flashvars" value="num=10000">

In ActionScript 2.0, I think you can access the value using _level0.num

Link to comment
Share on other sites

Through flashvars.I'm not very proficient in ActionScript, but in HTML you would add a <param> element to the <object> tag that has the flashvars in it:
<param name="flashvars" value="num=10000">

In ActionScript 2.0, I think you can access the value using _level0.num

Thanks
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...