-
7 May 2009 8:44 AM #501"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 May 2009 8:50 AM #502
Yes. Now replace from google svn, but size and date was identical.
-
7 May 2009 8:56 AM #503
Got a public site URL to snoop at it?
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 May 2009 9:21 AM #504
No, but this example in firebug also dont work. I can send flash file if its need.
ExtJS 2.2.1, mediapanel-latest.PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>SeaHopes</title>
<link href="/seahopes/inc/js/extjs/resources/css/ext-all.css" media="all" type="text/css" rel="stylesheet" />
</head>
<body>
<script language="javascript" src="/seahopes/inc/js/extjs/ext-base.js"></script>
<script language="javascript" src="/seahopes/inc/js/extjs/ext-all.js"></script>
<script language="javascript" src="/seahopes/inc/js/ext-ext/uxmedia.js"></script>
<script language="javascript" src="/seahopes/inc/js/ext-ext/uxflash.js"></script>
<div id="test"></div>
<script language="javascript">
Ext.onReady(function(){
new Ext.ux.FlashPanel({ renderTo : 'test',
width :230,
height :310,
id :'userFlash',
externalsNamespace : 'Data',
mediaCfg:{
url :'/seahopes/inc/flash/duel_geroy.swf?userOrEnemy=user',
width :'100%',
height :'100%',
boundExternals : ['refreshBattle'],
controls :true,
scripting : true,
eventSynch : true,
allowScriptAccess: "always",
start :true,
params:{
wmode:'opaque',
bgcolor : '#FFFF'
}
}
})
})
</script>
</body>
-
7 May 2009 9:27 AM #505
That would be the only way to tell what's going on. PM me the SWF object, and I'll take a look at it when I get a chance.
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 May 2009 9:28 AM #506
And where is your body tag. That HTML doesn't look right !
"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 May 2009 10:10 AM #507
-
7 May 2009 10:24 AM #508
You have to wait for things to render..
You have to wait for things to render..
Code:new Ext.ux.FlashPanel({ renderTo : 'test', width :230, height :310, id :'userFlash', externalsNamespace : 'Data', mediaCfg:{ url :'/seahopes/inc/flash/duel_geroy.swf?userOrEnemy=user', width :'100%', height :'100%', boundExternals : ['refreshBattle'], controls :true, scripting : true, eventSynch : true, allowScriptAccess: "always", start :true, params:{ wmode:'opaque', bgcolor : '#FFFF' } }, listeners:{ //Must wait until the Flash object is rendered and initialized ! flashinit: function(panel){ panel.Data.refreshBattle(); },delay : 100 } });"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.
-
7 May 2009 10:39 AM #509
See now. Console.log() dont passed. on loaded page in console print "panel.Data.refreshBattle(); " and error "panel.Data undefined" already exist.
-
7 May 2009 10:55 AM #510
@Makor -- You're not using the right version. You need 2.1 for ExternalInterface binding.
See: http://code.google.com/p/uxmedia/sou...state%3Dclosed"be dom-ready..."
Doug Hendricks
Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.
Got Sencha licensing questions? Find out more here.






Reply With Quote
