.swf doesn't work at all

Hi,

I've try to export some picture slide from keynote to .swf file.but it shown in the finder a square and black image with the text swf but doesn't work everywhere i preview even insert into the iWeb.

Any problem?

When open in safari it work well.
the kind of file named HTML document and the size is 3.5mb mean it's not empty file.
What's wrong with it?

Posted on May 6, 2008 12:56 AM

Reply
50 replies

May 10, 2008 11:07 PM in response to Wyodor

Man you are really the best! I had to leave home that's why I didn't write earlier. After studying more in depth your code I understood what was really going on with mine. So for all others, here's how it works:

1. Insert the files, *.swf and the *.flv into iWeb, not by drag and drop.
2. Publish the site.
3. Visit the site.
4. In the iWeb window go to Web Widgets and click on the Snippets.
5. Copy-paste Wyodor's script which is really well made. Here's the thing. Since both file formats (.swf and the *.flv) were uploaded to the actual site, visit the site and copy-paste the addresses to the code written by Wyodor. Change size to your specs. There are two separate lines which have an address on Wyodor's code, something like this,

<param name="src" value=" /jorge.vazquez.smith/TheAAP/Welcomefiles/cap.swf? file= /jorge.vazquez.smith/TheAAP/Welcomefiles/capflv.flv&amp;autostart=true" />

So the bold indicates the placing of the actual address of your files.

6. Apply snippet.
7. Publish

My problem right now is that the animation is no longer working I don't know why. Today is the first time I attempt to do something like this, in particular using Adobe Flash, which should explain the setbacks. At one time it did work but the video was displayed once the link was pressed as the original files (step 1) were now working. So I got into fixing and probably that's where I messed up.

Read the posts by Wyodor and carefully understand what the code is all about.

Hope this helps!


Thanks a lot Wyodor for the time and patience, respect for you!


Georgie

Message was edited by: Testageorgie

May 11, 2008 7:47 AM in response to Testageorgie

Wrong file and it has nothing to do with my creation.

http://web.mac.com/wyodor/_Discussions/Capstone.html

In Safari type Cmd-Alt-U to display the source of the page.

Copy the OBJECT code and paste it in the HTML Snippet.

You have to download the player too and put in in a convenient place on the server. Then replace my dotMac username with yours.

And adjust the path to the player too.

I would place the flv file in a separate folder too. Outside of the The_AAP folder.

I use a folder named _Flash for that stuff.

May 11, 2008 8:42 AM in response to Wyodor

+You have to download the player too and put in in a convenient place on the server. Then replace my dotMac username with yours.+

OK so now I am really confused. I have c-p the code to a snippet, replaced the stuff and clicked apply. The player part I do not know nothing at all. If it is a Macromedia or Adobe flash player where do I store it, in a new page inside the website in iWeb? Will it work in both Mac & PC?

+I would place the flv file in a separate folder too. Outside of the The_AAP folder.+

The flv file, also in a different page inside the same website? I have a folder in my desktop named Flash in which I've stored all flash related things (+capflv.flv, cap.swf, .js, etc+.). I am sorry it has been taking this long but I have not found local help.

May 11, 2008 10:13 AM in response to Wyodor

YEEEEEEEEEEEEEEESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!!!! you're the best!!!! I finally understood your message and that was the problem: the lingo! I am too familiar with this type of stuff so it is now done!

How do I hide the controllers, to have a the flash animation window as the playback button? Is it possible?

I have to thank you for your patience and hopefully from this point on I may help others as you've done with me!

web.mac.com/jorge.vazquez.smith

See for yourself!

May 11, 2008 11:15 AM in response to Wyodor

Wyodor...

Huh..finally i did it!
I realise something,the file must be in the iDisk/userid/folder/flash.swf !!
And,the file must be name in flash.swf instead of FLASH.swf or Flash.swf...

Everything fine now...

Question:
1)How to order the file into loop mode?i've try to added <param name="loop" value="True" /> ,but doesn't work...

2)Is the quality of the .swf conversion that BAD?Do you think i can apply it as my Banner for the quality?

May 12, 2008 9:57 AM in response to Wyodor

Hi Wyodor,

Sorry for disturb again!!
I read again and again the link you gave me..and all your teaching steps...now i can figure out something in iWeb html snippet for flash...thanks a lot!!

One thing i didn't understand.for example:the flash embed below that you provided

Object for Flash movies with player.

The outer object is for Safari.

The inner object is for Firefox/Camino.

This sample uses a Flash player. There are several Flash players around you can use.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="320" height="260" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab #version=8,0,0,0">

<param name="src" value="http://url/to//anpplayer.swf?file=movie.flv&amp;autostart=true" />
<param name="autoplay" value="true" />
<param name="loop" value="false" />
<param name="controller" value="false" />
<param name="kioskmode" value="false" />
<param name="cache" value="true" />
<param name="scale" value="tofit" />

<object type="application/x-shockwave-flash" data="http://url/to/anpplayer.swf?file=movie.flv&amp;autostart=true" width="320" height="260">

<param name="autoplay" value="true" />
<param name="loop" value="false" />
<param name="controller" value="false" />
<param name="kioskmode" value="false" />
<param name="cache" value="true" />
<param name="scale" value="tofit" />

</object>

</object>

Since the Outer code is for safari, so i use the one...after i replace the url of .swf the flash movie shown and play well...but the controller (play,pause,volume...button) was lost...

What s'ld i do on that case to re-order the controller place on the flash?
Thanks and appreciate!!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

.swf doesn't work at all

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.