473,748 Members | 2,551 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use Javascript to change the color of a Flash movieclip

11 New Member
Hi!

I know there is a way to control a flashmovie using javascript, but
I wonder if there is a way to access a movieclip instance in a flashmovie
using javascript.

I have a site with a flashmovie embedded then I have a javascript menu
that enables the user to change the backgroundcolor of the site.
The backgroundcolor of both the html-page and the flashmovie needs to be
changed. The background of the html-page is easily changed with the help
of css but I'm lost concerning the flashmovie.

Thx
Jun 22 '07 #1
1 1627
acoder
16,027 Recognized Expert Moderator MVP
You could consider using the Flash/Javascript Integration Kit.
Jun 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
4432
by: veenathi | last post by:
i am trying to write code for coping a certain portion of movieclip into another movieclip. for that i draw big stage movieclip. (stage_mc).Then i draw small rectangle movieclips on the stage movieclip. (rect_mc) Now what i want, is that the area of the stage_mc that the rect_mc is drawn on, should be made into another movieclip. So that portion of the stage_mc which had been selected by the rect_mc, becomes a new movieclip newMC_mc. ...
2
3743
elamberdor
by: elamberdor | last post by:
Hi All! Well, i'm modifying a dynamic map, with lat and long datapoints, my problem is it loads in text perfectly onto exact points I specify on the map, ..well now I want to load in icons(images) instead of text. (yes i'm being difficult) and i'd like the text to load into a static placeholder symbol instead. Problem is, I can get images to load in a separate file, text to load in a separate file, and text to appear in a static...
1
4171
by: Vinnie | last post by:
let's say that i have a table on my masterpage, a 4x4. Now, in one of those cells, i one insert a movieclip that i did with Flash? can i do that? how? Thanks
6
1567
by: Vinnie | last post by:
i'm learning asp.net 2.0 and when i want to import a flash movieclip, what i do is this: I) First: a) create the movieclip that i need with Flash; b) publish the Flash movieclip; II) Then with ASP.NET c) open the website in design view with VWD (That i was working on before creating the MovieClip with Flash);
0
3560
by: sschus1 | last post by:
I keep getting a "Missing ; from statement" Also how do you reference the linkage id? I'm completely stuck. What i am trying ot do is write a script that selects a movieclip from the library, exports it as a Flash movie (swf) to an external folder and names the swf as the linkage ID in the moveiclip, then iterate through the rest of the movie clips in the library until it has exported all movieclips in the library. Here is what i have so...
0
2377
by: diegocami | last post by:
Hi everyone!, I need some directions on how to get my "sweeping bar effect" to work, Iīll try to explain myself: Situation: I have a couple of buttons that should attach (thatīs the method Iīm using)different movieclips (one each) to an empty "mc_container" on stage. There is an attached movieclip by default (letīs call it "mc_1") . So when the user clicks on the "button_2" for example, thereīs a bar that "sweeps" over (or covers...
0
1656
by: SpaceyFace | last post by:
i'm using AS3....i'm trying to change the color of a movie clip after i select a color from the color picker component. when i uncomment the two added lines i get errors. am i just really bad at syntax? i have no idea. this is the ONLY code in the file....i'm close to a deadline on this and i'm at a wall. if someone could guide me i'd REALLY appreciate any help i can get. i uploaded the flash file here just in case:...
0
1639
by: Intios | last post by:
Hi, this is my story, I am very new with flash and xml so please forgive the stupid questions, I have a flash carousel and need to link the images to a url, I tried everything I can think about, can anyone please help me? This is my flash script: import mx.utils.Delegate; var numOfItems:Number; var radiusX:Number = 300; var radiusY:Number = 75; var centerX:Number = Stage.width / 2; var centerY:Number = Stage.height / 2; var...
1
2363
AutumnsDecay
by: AutumnsDecay | last post by:
Hey there. I have a flash project that I'm working on and I'm getting a weird error. I have a flash document with two movieclips. Inside each movieclip is a dynamic text field, which will allow me to load text via variables. My issue is this: when I have both movieclips, flash cs 4 crashes. if I delete on of the layers the problem doesn't exist. The code for movieclip layer 1 is:
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4608
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.