homepage Welcome to WebmasterWorld Guest from 54.243.23.129
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Visit PubCon.com
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
ravi




msg:3730231
 7:04 am on Aug 25, 2008 (gmt 0)

Hai,

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

error

"null" is null or not an object

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

CODING
<?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" />
</object>

by
ravi

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

 

dreamcatcher




msg:3732179
 6:38 am on Aug 27, 2008 (gmt 0)

I would recommend you use swfobject to display flash.
[code.google.com...]

dc

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved