User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 427,811 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,819 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1799 | Replies: 3
Join Date: May 2006
Location: NJ
Posts: 37
Reputation: sandbox is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
sandbox's Avatar
sandbox sandbox is offline Offline
Light Poster

using javascript to communicate with flash

  #1  
Mar 10th, 2007
i've been doing some research on fs command, but i haven't found a true answer to my problem. What i would like to do is load an image into a flash file using the loadMovie("image.jpg") command. I want to do this so i could use the same flash container on each of my pages, but change the image that appears each time. Any ideas how i could do this?

I guess i was looking for something like this:

<script language = "JavaScript"><!--
function PassFlash(){
    window.document.movie.SetVariable("text", "hello");
}
//-->
</script>

But the only problem with this script is that i need to assign a button with this variable name and i need to click it to make the image load. This is also an old script (for an older version of Flash Player). All i want to do is have the image load when i start the page.

Thankyou in advance.
piratemon.day.be - My grass is always greener
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 2:29 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC