homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

"null" is null or not an object
"null" is null or not an object

5+ Year Member

Msg#: 3730229 posted 7:04 am on Aug 25, 2008 (gmt 0)


When i am running the following file with Flash Player 9.0,it showing the error in status bar in IE 6.0.


"null" is null or not an object

But when i am using Flash Player 8.0,it is not showing the error.

<?php $flash_vars = array ( "file" => "http://www.example.com/images/stories/videos/silence_movie.flv",
"autostart" => "true", "fullscreen" => "true");

<object type="application/x-shockwave-flash" style="width:300px;height:200px;" data="http://www.example.com/mambots/content/jw_allvideos/players/mediaplayer_4.0.46.swf">
<param name="movie" value="http://www.example.com/mambots/content/jw_allvideos/players/mediaplayer_4.0.46.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="" />
<param name="autoplay" value="true" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="<?php echo $flash_vars;?>" />
<embed src="http://www.example.com/mambots/content/jw_allvideos/players/mediaplayer_4.0.46.swf" quality="high" bgcolor="#000000" width="685" height="385" name="example" align="middle" FlashVars="file=http://www.example.com/images/stories/videos/silence_movie.flv,image=http://www.example/images/stories/videos/silence_movie.jpg,autostart=true,fullscreen=true" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />


[edited by: encyclo at 10:04 am (utc) on Aug. 27, 2008]
[edit reason] use example.com in code examples [/edit]



WebmasterWorld Senior Member dreamcatcher us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3730229 posted 6:38 am on Aug 27, 2008 (gmt 0)

I would recommend you use swfobject to display flash.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved