This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2006 > javascript and flash?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author javascript and flash?
jinglebell

2006-04-20, 6:55 pm

So, im working on this html website which has a flash movie embedded inside it.
when i click on the links, this javascritp code tells the movie to go to a
specific frame, which then displays the content of the link. for example, when
i click on bio, the bio frame of my flash movie displays the bio. each link has
a specific animation to it. so when i created scrolling images for the "graphic
design" link, however, it doesnt work. its a movie clip within the "graphic
design" frame. my movie clip works fine when I publish it with Flash 8, like
the scrollbar works and everything, but once i post it online, the initial
animation works but the scrollbar business doesn't work.

im using this javascript code to get the frame:

function playgraphic() {
thisMovie('portfolio').GotoFrame(22);
}

whithin that frame, i have the scrolling images. they show up but the
scrolling doesnt work. hope that was clear enough and hope someone can help!
thanx!!

OlyaL

2006-04-21, 5:22 am

Jinglebell, I have just the same problem. But I use XML file in flash for info
about what image to take. All it works inside flash, but when I try to send
number of picture from JavaScript, it don't work:(
Connection from JS to flash works for textInput fields, but I dont' know why
it don't work for pictures:(

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews