|
|||||||
New to SitePoint Forums? Register here for free!
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
SitePoint Member
Join Date: Oct 2004
Location: Indianapolis, IN
Posts: 21
|
Flash Satay: Flash Not Loading Properly
I have just used the Flash Satay method of putting my swf into my php page and all that shows up is a white space that is the size of my flash movie.
What part of it could I be doing wrong. Right now I have added the embed tag just to get it up and will switch it out once I have figured out this problem... The code I was using was this: <object type="application/x-shockwave-flash" data="c.swf?path=mediaPlayer.swf" width="780" height="240"> <param name="movie" value="c.swf?path=mediaPlayer.swf" /> </object> and I have a c.swf that calls upon this: _root.loadMovie(_root.path,0); in the first frame. Yet all I get is a white space that is the size of what my movie is supposed to be. Any idea what is not working? Thanks, Brad |
|
|
|
|
|
#2 |
|
SitePoint Enthusiast
![]() Join Date: Dec 2005
Location: Siberia
Posts: 61
|
Try to use:
_root.loadMovie(_root.path,"GET"); or _root.loadMovieNum(_root.path,0,"GET"); or <object type="application/x-shockwave-flash" data="c.swf" width="780" height="240"> <param name="movie" value="c.swf" /> <param name="path" value="mediaPlayer.swf" /> </object> |
|
|
|
|
|
#3 |
|
SitePoint Member
Join Date: Oct 2004
Location: Indianapolis, IN
Posts: 21
|
Since you took the time to post, I figured I would take the time to try each one independantly and see if they worked.
the first one "_root.loadMovie(_root.path,"GET");" -worked, but had some adverse effects, it gave everything a lighter hue Almost as if someone had taken whiteout and filled in areas. the second one "_root.loadMovieNum(_root.path,0,"GET");" had the same effect I was having in the first place. The movie would load, but only showed as a 780x240 whitespace on the screen. The third one alone did not bring about changes. However neither did it when I combined the other methods either. Anytime I added the "GET" I would be given partially what I wanted, but again pieces of the program would look washed out. I have decided, and tested, upon the following code <object type="application/x-shockwave-flash" data="mediaPlayer.swf" path="mediaPlayer.swf" width="780" height="240"> <param name="movie" value="mediaPlayer.swf" /> </object> It gets rid of the embed tag but also gets rid of the loader movie c.swf (the fix for IE). It works in IE right now as it is not a huge program, but I am eventually going to start working on a video player that may be taking up more room and when I do so, that might break IE when trying to load the flash movie. So any other ideas on why it is not working as it should? Thanks again madasan for the help and getting me in the right direction. |
|
|
|
|
|
#4 |
|
Once I was a Factory Worker
![]() ![]() ![]() ![]() Join Date: Dec 2004
Location: Sydney Australia
Posts: 552
|
|
|
|
|
|
|
#5 |
|
SitePoint Member
Join Date: Oct 2004
Location: Indianapolis, IN
Posts: 21
|
thanks for the resource, I will read that and see what I can come up with.
|
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
|
All times are GMT -7. The time now is 19:43.








Linear Mode
