Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Animation and Effects

Thread Tools Rate Thread Display Modes
Old 08-11-2003, 10:20 PM   #1
annoying n00b
annoying n00b's Avatar
Join Date: Aug 2003
Location: it's metaphysical...
Posts: 58
Send a message via ICQ to annoying n00b Send a message via AIM to annoying n00b Send a message via MSN to annoying n00b
Default turning windowless mode on and off? (most likely not a Flash question, more js)

i made an animation and blends in with the background of the html page. in this animation, the background (or rather, a low layered colored box) of the flash changes, and i wanted to make the background of the html page change with it.

my first attempt used simple javascript with the fscommand to change document.bgcolor to the mc color. however, it didn't work very smoothly since the browser updated the color a split second shorter than the flash file ... or maybe it was the other way around. it's hard to tell, but regardless, you could see the edge of the flash.

my second try was to just use javascript thru fscommands and make the flash file with a transparent background.

this works fine for the effect, but since i have a bit of alpha and a high frame rate, it slooows down other parts of the animation.

is there a way to change the wmode parameter, obviously without having to load a different page?
annoying n00b is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 07:39 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.