Away3D MovieMaterial from embedded SWF + access to buttons

Cancelado Publicado Aug 10, 2009 Pagado a la entrega
Cancelado Pagado a la entrega

I am just trying to figure out the scope of an embedded swf in a flex AS3 project.

I can't get the syntax quite right to set up event listeners for buttons instances on the stage of the embedded swf. These button instances need to do functions in the main project, so the functions and listeners cannot be contained in the published embedded swf. The button instances must be targeted from the main actionscript that embeds the swf in the first place.

I know this is possible, perhaps its the Shake and Bake Method as described on sites where the swf is embedded but with generic mimetype, and then is put through the loader.loadbytes...

it has to do with 'casting', and I have successfully made a timeline intact embed with my movie, but i have no idea how to target the buttons.. so they do nothing yet...

What i want is:

1. self-contained SWF (and accompanying FLA) with 1 button instance named say.. "home" on the stage.

2. apply the embedded SWF as a MovieMaterial to a Plane as the same movieclip scope in the next step.

3. access to that button instance of "home" on the stage when i embed... make an event listener with trace for when "home" is clicked so i can see how it is scoped.

Renderización 3D Adobe Flash Flex Diseño de juegos

Nº del proyecto: #485374

Sobre el proyecto

2 propuestas Proyecto remoto Activo Aug 11, 2009

2 freelancers están ofertando un promedio de $263 por este trabajo

sethfoto

Hi Please check PM -Seth

$125 USD en 0 días
(41 comentarios)
6.1
pgcoding

WE are ready,pl check pmb

$400 USD en 20 días
(1 comentario)
2.1