?
Solved

ActionScript: At 33% of FLV - Do This >>  ??

Posted on 2007-08-10
1
Medium Priority
?
145 Views
Last Modified: 2012-05-05
How do I call an event at a Defined bytesLoaded Amount?

The function below should work, but how do I have that checked throughout the playback?
Or is there a better approach?

Sample:
============
function showAd(){
      if(ns.bytesLoaded > 50){
            goFullScreen();
      }
}
0
Comment
Question by:n8dog
1 Comment
 
LVL 39

Accepted Solution

by:
blue-genie earned 1500 total points
ID: 19675738
how are you loading your flv?
if you look in the flash help there's an example on creating a loading progress bar.
you can use that.

blu
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question