A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Question about Live Preview in MX Component

  1. #1
    Junior Member
    Join Date
    Sep 2001
    Location
    Decatur, IN USA
    Posts
    21

    Question about Live Preview in MX Component

    Does anyone know if it's possible to load other movies in a live preview for a component so that at design time, you could set a property to something and it would do an attachMovie or something like that?

    I'm just curious if I'm going down an impossible road or of it's attainable...thanx a lot

    Microsoft .NET MVP

  2. #2
    Senior Member
    Join Date
    May 2000
    Posts
    122
    hey, I was wondering if anyone found the answer to this yet? this would help me out a lot.

  3. #3
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    The live preview is only to see how the component looks like. You can probably import any swf, since it only asks you to import an swf. I don't understand the sense though to do such a thing.
    - The right of the People to create Flash movies shall not be infringed. -

  4. #4
    Senior Member
    Join Date
    May 2000
    Posts
    122
    well, i have my reasons for it

    anyway, i am trying to do it but it doesnt seem to be working out. I have a mc with a placeholder jpg inside it, then try to load a new jpg inside live preview:

    Code:
    //function to change settings
    function onUpdate(){
    	modTitle = _root.xch.modTitle;
    	ccText = _root.xch.ccText;
    	screenshot = _root.xch.screenshot;
    	loadMovie (screenshot, "screenshot_mc");
    }
    i also tried using screenshot_mc.loadMovie () but that didnt work either....so im guessing this sint gonna work. waaa, please help me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center