Hi,
I have a flash application written in pure AS3 code (not created by Adobe Flash CS5 Studio), and i want to know how can my application use the Flash SDK.
I have written a small as3 program (the code is showed below), compile was success, but the Flash SDK does not work properly
(that means, after i uploaded my program to MediaSignage, the "Flash properties" do not show)
I know that MediaSignage CMS support pure as3 application to use the Flash SDK, can you give me more information on this?
This is very important to me coz my client (i'm a reseller of MediaSignage) is planning to integrate tons of his flash application with MediaSignage CMS, but his applications are written in pure as3 code, it is very hard for him to move his code to Adobe Flash CS5 Studio.
Thank!
=============== code ===============
package
{
import flash.display.MovieClip;
public dynamic class Main3 extends MovieClip implements IChildPlayer
{
protected var m_framework:Object;
protected var m_data:Object;
public function Main3()
{
addChild(tf);
}
public function set framework(i_framework:Object):void
{
m_framework = i_framework;
}
public function get framework():Object
{
return m_framework;
}
public function set data(i_data:Object):void
{
m_data = i_data;
}
public function get data():Object
{
return m_data;
}
public function refresh():void
{
}
public function start():void
{
}
public override function stop():void
{
}
public function dispose():void
{
}
public function getPropertyDefinitions():XML
{
return <Properties>
<Item key="logo" label="Logo mark & Title">
<Field key="file" type="resource"/>
<Field key="title" type="string" defaultValue="Here is title text."/>
</Item>
<Item key="footer" label="Footer">
<Field key="title" type="string" defaultValue="Here is footer text"/>
</Item>
<Item key="options" label="Options">
<Field key="delay" type="string" defaultValue="2"/>
</Item>
<ItemList key="entries" label="Entries" count="14">
<Field key="entry" type="string" defaultValue="Here is entry text."/>
<Field key="extra" type="string" defaultValue="Here is extra information text for this entry."/>
<Field key="file" type="resource"/>
</ItemList>
</Properties>;
}
public function onMetaData(info:Object):void
{
}
public function onCuePoint(info:Object):void
{
}
public function onXMPData(infoObject:Object):void
{
}
}
}