first commit
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 120 B |
+12
@@ -0,0 +1,12 @@
|
||||
function onUnload()
|
||||
{
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnClipDestroyed"),"");
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
var initContent = {_type:qualifyName(this,"Render"),_x:shape._x,_y:shape._y,_width:shape._width,_height:shape._height};
|
||||
var contentClip = attachMovie("SimpleRenderingSurfaceContentPlaceholder","content",0,initContent);
|
||||
initialized = true;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
_visible = false;
|
||||
}
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
function Raise()
|
||||
{
|
||||
_visible = true;
|
||||
}
|
||||
function Lower()
|
||||
{
|
||||
_visible = false;
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete Raise;
|
||||
delete Lower;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
_visible = false;
|
||||
intialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
}
|
||||
stop();
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
function OnContentLoaded(clip)
|
||||
{
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnContentLoaded"),Pointer.encode(clip));
|
||||
}
|
||||
function LoadContent(url)
|
||||
{
|
||||
this.createEmptyMovieClip("content",0);
|
||||
this.content.loadMovie(url);
|
||||
}
|
||||
function UnloadContent()
|
||||
{
|
||||
content.removeMovieClip();
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete OnContentLoaded;
|
||||
delete LoadContent;
|
||||
delete UnloadContent;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
initialized = true;
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
}
|
||||
stop();
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
function AttachContent(contentType)
|
||||
{
|
||||
contentClip = attachMovie(contentType,"content",0);
|
||||
contentClip._x = placeholder._x;
|
||||
contentClip._y = placeholder._y;
|
||||
contentClip._width = placeholder._width;
|
||||
contentClip._height = placeholder._height;
|
||||
return Pointer.encode(contentClip);
|
||||
}
|
||||
function DetachContent()
|
||||
{
|
||||
if(contentClip != undefined)
|
||||
{
|
||||
contentClip.removeMovieClip();
|
||||
}
|
||||
}
|
||||
function onUnload()
|
||||
{
|
||||
delete AttachContent;
|
||||
delete DetachContent;
|
||||
delete onUnload;
|
||||
}
|
||||
if(!initialized)
|
||||
{
|
||||
// Forbidden
|
||||
getURL("FSCommand:" add qualifyName(this,"OnInitialized"),"");
|
||||
initialized = true;
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
onClipEvent(load){
|
||||
_visible = false;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
1;Dummy
|
||||
2;LoadMovieStage
|
||||
4;RenderImageDisabled
|
||||
6;RenderImage
|
||||
8;AttachMovieClipStageContentPlaceholder
|
||||
8;AttachMovieClipStageContentPlaceholder
|
||||
9;AttachMovieClipStage
|
||||
11;BlackRectangle
|
||||
13;SimpleRenderingSurfaceContentPlaceholder
|
||||
15;WhiteRectangle
|
||||
15;WhiteRectangle
|
||||
16;SimpleRenderingSurface
|
||||
19;InputShield
|
||||
|
Reference in New Issue
Block a user