hi
all
i just create a FLA in AS 2 and found whatever i want but when i change it in AS 3 it did’t work.
:twoface:
this is my code please help as soon as posiable
// ACTION SCRIPT 2//
[COLOR=Navy]fscommand[/COLOR]([COLOR=PaleGreen]“fullscreen”[/COLOR], true);
[COLOR=Blue]stop/COLOR;
onEnterFrame = function ()
{
trace( _root.mymenu._y );
trace(_root._ymouse);
//trace ( _root.botmenu._y );
// set the scroll _root._ymouse<80 || _root.botmenu._y -= 10;
if ( _root._ymouse>700)
{_root.mymenu._y -= 10; fad._alpha = 80; }//ifclose
//_root._ymouse>200 &&_root.botmenu._y += 20;
else if ( _root._ymouse<700)
{_root.mymenu._y += 20; fad._alpha = 0; }//elseclose
//set the bounds
if (_root.mymenu._y<=800)
{_root.mymenu._y = 800;}
else if (_root.mymenu._y>=830)
{_root.mymenu._y = 830; }//elseclose
convert to as3??
fscommand(“fullscreen”, “true”);
stop();
mymenu_mc.addEventListener(Event.ENTER_FRAME,myFunction);
function myFunction(event:Event)
{
if ( (root).mouseY>700)
{mymenu_mc.(root)._y -= 10; fad._alpha = 80; }
else if ( (root).mouseY<700)
{mymenu_mc.(root)._y += 20; fad._alpha = 0; }
if (mymenu_mc.(root)._y<=800)
{mymenu_mc.(root)._y = 800;}
else if (mymenu_mc.(root)._y>=830)
{mymenu_mc.(root)._y = 830; }
}
:genius:
where i was Rong ? for take my result please resolve this
Thanks
RAAz