Comunidad de diseño web y desarrollo en internet online

incluir componente en flash

Citar            
MensajeEscrito el 29 Sep 2010 09:48 pm
Hola!

Me he bajado este componente: http://www.flashxml.net/video-player.html#swmi-flash-install

Me gustaría q alguien pudiera decirme cómo puedo incluirlo en mi web hecha completamente en flash. He probado a crear un fla con una carga externa en el primer frame:

Código ActionScript :

var contenedor1:Loader=new Loader();     
contenedor1.x = 0; 
contenedor1.y = 0; 
contenedor1.load(new URLRequest("player.swf"));   
contenedor1.contentLoaderInfo.addEventListener(Event.COMPLETE, insertMovie);
function insertMovie(evt:Event):void{ 
   addChild(contenedor1);
}


Pero me da estos errores:

TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
at VAPlayer()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()

Espero q alguien pueda explicármelo, gracias!

Por natig

76 de clabLevel



 

chrome
Citar            
MensajeEscrito el 30 Sep 2010 02:35 am
En la documentación dice:


You can watch an installation video tutorial of a very similar component in Flash (3D Carousel Menu FX) by clicking here.

In this video you will see:
- how to create an instance of the component on the stage: from the Components panel (Ctrl+F7) drag & drop the component on the stage
- how to give a name to that instance for further use in ActionScript: click on the component instance on the stage and from the Properties panel (Ctrl+F3) enter a name in the text input
- how to access the properties of the component (read or modify) during different moments of your Flash application


Como dice en la primera línea, lo instancias o directamente lo traes desde el Component Panel, no lo cargues externamente
Y asegúrate que sea AS3, que no veo claramente para que lenguaje ha sido

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 30 Sep 2010 02:06 pm
Acabo de darme cuenta de una cosa. Yo me he bajado la versión gratuita, pero en la versión de pago pone: plus a Flash component (AS3) which can be used in Flash projects, eso significa q no puedo usar el componente dentro de un proyecto Flash??? más q nada porq en los archivos q me he bajado, no existe tal componente...

Por natig

76 de clabLevel



 

chrome
Citar            
MensajeEscrito el 30 Sep 2010 03:12 pm
El primero te lo regalan, el segundo te lo venden ;)

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox
Citar            
MensajeEscrito el 30 Sep 2010 03:52 pm
Si es q me pasa lo mismo con todos los componentes.

Hace poco escribí con el mismo problema pero con un componente q es un reproductor, pero en la página donde lo descargué venía un vídeo q explicaba cómo hacerlo: http://vimeo.com/13795654

Con el componente del mp3, al hacer lo q dice en el video me salen errores de estos:

TypeError: Error #1010: Un término no está definido y no tiene propiedades.
at com.vuzum.list::List()
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at com.vuzum.list::Playlist()
at flash.display::Sprite/constructChildren()

Sería mucho pedir q alguien se descargara el componente del mp3 (http://www.flabell.com/flash/Flash-Mp3-Player-29) e hiciera lo del vídeo a ver si le sale???

Gracias!

Por natig

76 de clabLevel



 

chrome
Citar            
MensajeEscrito el 30 Sep 2010 03:57 pm
No problem, en cuanto tenga un ratito

Jorge

Por solisarg

BOFH

13669 de clabLevel

4 tutoriales
5 articulos

Genero:Masculino   Bastard Operators From Hell Premio_Secretos

Argentina

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.