Hola, a mí me salía siempre el mismo error, hablo de Flash CS4. Tras mucho buscar y no encontrar, caí en que tenía el CS3 en mi casa, así que cogí el archivo dichoso toplevel.as de esa instalación de CS3, y lo copié en la carpeta Common/First Run/Classes de Flash CS4. Tras eso, en Preferencias de Flash / ActionScript /ActionScript 2.0 definí una nueva ruta para las Casses (Archivos de programa/Flash CS4/Common/First Run/Classes), y listo. Hay que dejar también las rutas relativas que ya tiene el programa por defecto. Más ayuda en: http://livedocs.adobe.com/flash/9.0_es/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000775.html
Por si os falta el archivo toplevel.as: http://www.experimentando.es/toplevel.as
Contenido del archivo:
************************************************************************* // ActionScript Standard Library // Top-level functions //****************************************************************************
intrinsic var _focusRect:Boolean; intrinsic var _global:Object; intrinsic var _highquality:Number; intrinsic var _quality:String; intrinsic var _root:MovieClip; intrinsic var _soundbuftime:Number;
intrinsic var $version:Number;
intrinsic var Infinity:Number; intrinsic var NaN:Number;
intrinsic function call(frame:Object):Void; // param 1 can be String or Number intrinsic function clearInterval(id:Number):Void; intrinsic function duplicateMovieClip(target:String, newName:String, depth:Number):Void; intrinsic function escape(value:String):String; intrinsic function eval(expr:String):Object; intrinsic function fscommand(command:String, parameters:String):Void; intrinsic function getProperty(movieClip:Object, property:Object):Object; intrinsic function getTimer():Number; intrinsic function getURL(url:String, window:String, method:String):Void; intrinsic function getVersion():String; intrinsic function gotoAndPlay(sceneOrFrame:Object, frame:Object):Void; // parameters can be different types intrinsic function gotoAndStop():Void; // parameters can be different types intrinsic function int(num:Number):Number; intrinsic function isFinite(value:Object):Boolean; intrinsic function isNaN(value:Object):Boolean; intrinsic function loadMovie(url:String, target:Object, method:String):Void; intrinsic function loadMovieNum(url:String, level:Number, method:String):Void; intrinsic function loadVariables(url:String, target:Object, method:String):Void; intrinsic function loadVariablesNum(url:String, level:Number, method:String):Void; intrinsic function nextFrame():Void; intrinsic function nextScene():Void; intrinsic function parseFloat(value:String):Number; intrinsic function parseInt(value:String,radix:Number):Number; intrinsic function play():Void; intrinsic function prevFrame():Void; intrinsic function prevScene():Void; intrinsic function profile(enable:Boolean):Void; intrinsic function print(target:Object, boundingBox:String):Void; intrinsic function printAsBitmap(target:Object, boundingBox:String):Void; intrinsic function printAsBitmapNum(level:Number, boundingBox:String):Void; intrinsic function printNum(level:Number, boundingBox:String):Void; intrinsic function random(num:Number):Number; intrinsic function removeMovieClip(target:Object):Void; intrinsic function setInterval():Number; intrinsic function setProperty(movieClip:Object, property:Object, value:Object):Void; intrinsic function showRedrawRegions(enable:Boolean):Void; intrinsic function startDrag(target:Object, lockCenter:Boolean, left:Number, top:Number, right:Number, bottom:Number):Void; intrinsic function stop():Void; intrinsic function stopAllSounds():Void; intrinsic function stopDrag():Void; intrinsic function targetPath(mc:MovieClip):String; intrinsic function toggleHighQuality():Void; intrinsic function trace(value:String):Void; intrinsic function unescape(value:String):String; intrinsic function unloadMovie(target):Void; intrinsic function unloadMovieNum(level:Number):Void; intrinsic function updateAfterEvent():Void;
intrinsic function MMExecute(expr:String);
#endinitclip
|
Por experimentando
Envíale un mensaje privado Web
|