Friday, April 2, 2010

SWF Loading Problem

For some reason when I preview my swf from Flash everything works fine and the button open the external swfs just fine, but when I embed my swf in the html document and then preview it in my browser nothing happens when I hit the buttons.?- and yes, all of the swfs are definialty in the correct location. Take a look at the non-functioning version at the follwing URL. (the buttons are located over the people in the image)

http://vojodesign.com/proofs/valuedWealthAdvisors/about.html

Here is a version that actually does work, but the entire site is Flash as opposed to the one above that is a smaller flash element embedded in the html. (for this one you need to click on the ''management'' button to go to the correct page)

http://ten31pro.com

This has really stumped me and I'm not sure what the problem could be. Any help would be MUCH appreciated.

Kit

SWF Loading Problem

those buttons (at vojo) look like they work.?what's the problem?

SWF Loading Problem

REALLY? What browser are you viewing it in?

works with ff and ie.

im using IE 7 and it doesn't work for me..

J.

your first link doesn't have any flash in it.?what are you looking at?

The buttons are the people and they don't work for me in IE or FF.?You might want to test in html on your PC by hitting f12.?I'd put a trace in the click handler to see if you get there.

Well, the really strange thing is that some people are able to click through on the buttons to launch the external swfs and some people arrnt.?In addition, like I said before, it works absolutley fine when I preview from Flash but not when I embed in the html doc and view in browsers.

Can I send anyone the FLA files to see if they can spot the problem?

Thanks in advance.

I think the way you worded your original post through some people off.?You said the links are over the people.?I and I suspect others thought you were refering to the links above their heads not actually over the people.?Sure upload the code.

See attached FLAs...team.fla is the main file that the other swfs load into.

I loaded all the swfs and the html from the team fla at

http://www.mespinach.com/vog/

I renamed rich.swf to see what happens when I click on it.

When I click on rich I get a waiting message the same as I get when I click on any of the people in the example you gave which makes me think that while you think the swf's are all there only the team.swf is in the folder.

Wow, this is really confusing.?So whay is it doing that??The code indicates that everything should work just fine.

Anyone?

So you're telling me your html and all your swfs are in the same folder??How much would you be willing to bet on that?

Oh right, I misunderstood what you were saying in your previous post. That works perfectly now.?I dont really understand why that effects it thought - since the swf file was pulling up the relative path swfs - all the swfs were in the same folder - how come that dosnt work?

Sorry it looks like everything is in the swfs folder.

click on this http://vojodesign.com/proofs/valuedWealthAdvisors/swfs/team.swf

These are the url's from the team.fla you uploaded here:

function goBob() {
?container.loadMovie(''bob.swf'');
}
function goRich() {
?container.loadMovie(''rich.swf'');
}
function goKen() {
?container.loadMovie(''ten31Ken.swf'');
}
function goBrent() {
?container.loadMovie(''brent.swf'');
}
function goGoli() {
?container.loadMovie(''goli.swf'');
}
function goRyan() {
?container.loadMovie(''ryan.swf'');
}

http://vojodesign.com/proofs/valuedWealthAdvisors/swfs/rich.swf?span> works

http://vojodesign.com/proofs/valuedWealthAdvisors/swfs/bob.swf works

http://vojodesign.com/proofs/valuedWealthAdvisors/swfs/ryan.swf works

The others don't so maybe everything's not in the swfs folder?

in your html you embed /swfs/team.swf maybe the links are being called from the prospective of the html in which case you might want to change ''bob.swf'' to ''swfs/bob.swf''?that doesn't explain why only 3 of the links can be accessed directly but I would try and see what happens.

OOPS......nevermind these last 2 post.?If I would've read your last post instead of just the last couple of words I would've realized the problem's solved.?I'm such a scaterbrain anyway all's well that ends well.

No comments:

Post a Comment