PDA

View Full Version : Trouble with Flash controller in iweb




bbydon
Nov 26, 2007, 10:28 AM
I posted this in another mac app forum but got no replies so i am trying here...

I embeded a flash movie onto my iweb page. I used the code found here http://web.mac.com/catucker/InsideOutside/iWeb.html

So i made my movie in flash and put the swf, flv,html page and swf controller that flash published in a folder on the server for the code to reference. The movie works fine but the contoller is not there. All the files are in the same folder on the server.
When i view the html page that flash made it works but not when published in iweb.

The site is __erased__ there are flash movies on the main page and the links at the bottom lead to flash movies. All show up fine but no swf controller.

Also here is a link to just the html page for the movie to see it working there.
__erased_

Here, the controller is over the movie, on the other pages it is below outside of the movie.

Any ideas?



jproberts
Dec 5, 2007, 02:47 PM
Hey. I'm running into the same problem. I've scoured the net looking for a clue to what's causing this and haven't been successful. Have you found a solution?

Thanks.

jproberts
Dec 5, 2007, 03:25 PM
Hey. I just found a temporary solution. I went back to the iWeb tips and tricks site (http://web.mac.com/catucker/InsideOutside/iFrame.html) and decided to try adding an iFrame into my iWeb page instead of embedding the swf directly. I just linked it up to the .swf movie I already uploaded to my idisk folder and it works great. The flv plays and I have my controller back. Still no clue as to why it doesn't work when you embed the swf file but this works for me.

bbydon
Dec 6, 2007, 08:58 AM
Im gonna try it this weekend, but wow, how did u figure that out.
thanks a ton!

jproberts
Dec 7, 2007, 12:09 AM
No problem! I had actually given up on finding a solution to it and was just going to add a simple "replay" button. I was just checking out some of the other tips on that site and when I read about the iframe one. I figured that I might as well try it and see. Sure enough, it worked like a charm. I'd still like to find out why the controller doesn't show up when you embed a swf movie though. Anyway, I'm glad that there's a work around for this. Hope it works for you this weekend. If you have any questions, let me know and I'll be happy to walk you through what I did. Have a great weekend!

SrWebDeveloper
Dec 7, 2007, 02:18 PM
I hate to add this, but maybe that's not the best solution. The IFRAME tag is not supported through all browsers, especially older ones. It's a proprietary MSIE convention.


I suggest you create the .swf/.flv and all controls using a commercial utility that produces good code, cross browser compatible, with excellent features and controls to enhance the user's control interface.

I detailed a PC and Mac solution in another post you might find useful to your situation:

http://forums.macrumors.com/showthread.php?t=393020#8

-jim

Sayer
Dec 7, 2007, 03:54 PM
I found this working on a programming job recently involving Flash/JavaScript:

http://blog.deconcept.com/swfobject/

Basically this is a pre-made JavaScript library that helps to embed Flash content in a web page. A *lot* of sites now use SWFObject, and I can understand why; it is really easy to add a flash object with it.

I honestly don't know about using JavaScript libraries with iWeb, so you are on your own for that part.

jproberts
Dec 8, 2007, 09:26 AM
Hi Jim and Sayer. Thanks for the additional info! I'm an animator and illustrator and only know enough about coding to be dangerous. :) I'll check out those flash optimizers and that javascript code later today. Thanks again!

jp