Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sat May 25, 2013 7:39 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
flash white box and not looping
Author Message
 Post subject: flash white box and not looping
PostPosted: Thu Jul 02, 2009 6:58 pm 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwa ... on=8,0,0,0" width="550" height="400" align="middle"> <param name="movie" value="http://web.mac.com/yourdotmacname/flash/myflashfile.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="550" height="400" align="middle"
src="http://web.mac.com/yourdotmacname/flash/myflashfile.swf" allowScriptAccess="always"></embed>
</object>

I used the above code, but there are two problems for me. a white box appears on my black background before the flash executes, and it won't loop. so i tried the tweaks below (see bottom), and they don't seem to have changed anything.

As for the flash file, i'm not sure i need to do any of the following but i have tried it just in case: I have set the background in the flash file to black. I have tried to attach an action script to the flv in flash to make it loop but i get "current selection cannot have actions applied to it"

this is the site i'm working on that should loop and not have a white box:
http://christopherlmorris.com/Home.html

this page is just having the white box problem, ann doesn't need to loop:
http://christopherlmorris.com

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwa ... on=8,0,0,0" width="530" height="398" align="middle"> <PARAM NAME="LOOP" VALUE="true"> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf"> <param name="allowScriptAccess" value="always"> <param name="bgcolor" value="#000000" /> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="530" height="398" align="middle" loop="true"
src="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" allowScriptAccess="always"></embed>
</object>


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Thu Jul 02, 2009 10:49 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
With the following code

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="530" height="398"
id="mymoviename">
<param name="movie"
value="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" />
<param name="quality" value="high" />
<param name="loop" value="true" />
<param name="bgcolor" value="#000000">
<embed src="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" quality="high" bgcolor="#000000" loop="true"
width="530" height="398"
name="mymoviename" align="" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>

to me it looks like the white box displays for less time. I don't think there is a way to avoid the white.

As for the loop: What application did you use to build the presentation?
When you export the presentation there should be a preference to set "loop" somewhere. I guess you need to set it in the application you used to built the presentation since it doesn't work with the code.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Fri Jul 03, 2009 3:12 am 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
I made the animation in photoshop, exported FLV, imported to flash
there is no place to set loop, and all forums say i have to do it in an action script
I have tried to attach an action script to the flv in flash to make it loop but i get "current selection cannot have actions applied to it"

there has to be a way to avoid the whit box. nowhere else on the web have i seen one precede a flash


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Fri Jul 03, 2009 11:51 am 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
The problem with the background is not a Flash code problem. It's an iWeb problem. I guess you used HTML Snippets to embed the code and that's what's causing the white box to appear. What HTML Snippets do is create a new blank page in which the code is placed and this blank page is embedded into the page you added the snippet to. The new page that gets created for the snippet has a white background (this can't be changed in iWeb) and that's the white you see.

To avoid that you need to enter the code into the page manually after publishing or using MassReplaceIt (read my Alternative HTML FAQ) and not use HTML Snippets.

As for the loop it doesn't work the way it usually does (code) hence I don't know and I can't help you.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Sat Jul 04, 2009 11:50 pm 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
do you think if i open the widget's page's HTML and edited that page to have a black background it would help instead?

the HTML for the widget's page is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head><title></title></head><body><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwa ... on=8,0,0,0" width="530" height="398" align="middle"> <PARAM NAME="LOOP" VALUE="true"> <param name="wmode" value="transparent" /> <param name="movie" value="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf"> <param name="allowScriptAccess" value="always"> <param name="bgcolor" value="#000000" /> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="530" height="398" align="middle" loop="true"
src="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" allowScriptAccess="always"></embed>
</object></body></html>

I'j just need to know where i could put new background color code and the right phrasing, if you wouldn't mind helping with that--might be worth a try


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Sun Jul 05, 2009 1:45 am 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Put the following code into the HTML Snippet:

<html>
<head>
<title>Untitled</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
-->
</style>
</head>
<body>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="530" height="398"
id="mymoviename">
<param name="movie"
value="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" />
<param name="quality" value="high" />
<param name="loop" value="true" />
<param name="bgcolor" value="#000000">
<embed src="http://www.ChristopherLMorris.com/Flash/HarvestMed.swf" quality="high" bgcolor="#000000" loop="true"
width="530" height="398"
name="mymoviename" align="" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
</body>
</html>

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Sun Jul 05, 2009 7:32 pm 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
those two fixes appear to have solved christopherlmorris.com 's intro, the home page still has a flash of white. for my browser and connection speed this solves the problem. I'll let you know if i hear otherwise form Christopher.

thanks you so so much!


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Sun Jul 05, 2009 10:58 pm 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
I've now made another flash file with a controller, and i'd like it not to auto play. got a hint for me?


Top
 Profile Send private message  
 
flash white box and not looping
Author Message
 Post subject: Re: flash white box and not looping
PostPosted: Sun Jul 05, 2009 11:43 pm 
Offline

Joined: Thu Jul 02, 2009 6:53 pm
Posts: 7
OK, rather, i got the new one not to autoplay... but the controller doesn't show up. I've left the controller's SWF in what i think is the right folder, the one with the flash SWFs and FLVs
you can see a hint of where the controller would be, it is just blank. see Dannyzolli.com/test.html


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield