This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?showtopic=440&mode=threaded&pid=2562 as retrieved on 27 Jul 2007 11:11:28 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:zXF4vsmEyqkJ:www.flashsandy.org/forum/index.php%3Fshowtopic%3D440%26mode%3Dthreaded%26pid%3D2562+site:www.flashsandy.org+showtopic&hl=en&ct=clnk&cd=90


Google is neither affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: showtopic 

Welcome Guest ( Log In | Register )

> MovieSkin using an external SWF, Is an external SWF supported?
zeusprod
post Apr 5 2007, 03:03 PM
Post #1


Advanced Member
***

Group: Members
Posts: 220
Joined: 14-February 07
Member No.: 801



I'm trying to get an external SWF to work as a MovieSkin. It looks like the Sandy 1.2 MovieSkin.as class intends to support this but it doesn't seem to work.

Can anyone confirm whether Sandy 1.2 (or 1.1) supports this?

Does anyone have a working example?

Cheers,
Bruce
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
zeusprod
post Apr 5 2007, 05:42 PM
Post #2


Advanced Member
***

Group: Members
Posts: 220
Joined: 14-February 07
Member No.: 801



I figured it out.

I wasn't using the callback properly.

In Sandy 1.2, it is something like this:

CODE

        private function someHandler() {
        var skin1:MovieSkin;
          skin1 = new MovieSkin( "externalExample.swf", true);
          skin1.addEventListener(SkinEvent.onUpdateEVENT, this, skinMe);
        }

    private function skinMe (target:Object) {
        var o2:Object3D = new Plane3D(100, 100, 2, "tri");
        o2.setSkin(target._oT);
                // Assumes bg is the root group stored in a variable that is in scope
        bg.addChild( o2 );
    }


I'm not sure if it requires any patches to the MovieSkin.as class.

See also the thread

http://www.flashsandy.org/forum/index.php?showtopic=347
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 27th July 2007 - 10:52 AM
phpMyVisites