Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there an event for a movie coming into focus/view?

Status
Not open for further replies.

Goldstone

IS-IT--Management
Aug 11, 2003
3
US
Is there's a specific event similar to "onFocus" that gets triggered when a movie comes into view within the browser window?

The intent is to pause a movie until the user gets to the bottom of the web page, then un-pause.

Example:
A web page loads but flash movie is on bottom of page. It takes users a variable amount of time to scroll, page-down, arrow down, mouse-wheel to the bottom of the page so a timed pause is not ideal.
 
Don't really know but doubt it, although a javascript wiz kid may know a script to determine if the browser is at or nearly at the bottom of a given page, and then it would just be a question of starting off the paused movie, through javascript and Flash Methods.

But why not simply have a "Play" button with an animation of some sort looping to attrack the attention of the user?

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
nothing in flash to do this but with javascript you can easily get the mouse position on the page.

once the mouse was at certain y trigger the loading of the flash movie.


 
I was hoping to avoid Javascript. I was also hoping that there was a simple actionscript method but I dont' see any. B-(

The play button will certainly do the trick, the requirement is to have it done automatically and without looping. It's for ads, the requirements are to minimize annoyance factor to readers.

Thanks.
 
what if you had the event triggered in flash by a mouseOver event. The thing with ads, is most people ignore them...But if they are made in such a way that moving the mouse over the item makes it interesting, then you would actually have people checking it out.

just make it a button state with the mouse over state running the movie clip of the ads.
 
Not a bad idea! But it would still have to be mouseovered for it to actually start playing... Not automatic!

Anyhow most of those "annoying" Flash adds, are now embedded on a higher division (transparent mode), are automatically started at one point, and do not rely on the user's scrolling to be started.

Regards,

cubalibre2.gif

[bigcheeks] I'm Bill Watson's biggest fan!
[bigcheeks]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top