A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Changing Symbol type with actionscript

  1. #1

    Changing Symbol type with actionscript

    Is it possible, (after adding a MovieClip to the stage), to change the Symbol type to a graphic?

    I want the clip to behave like a 'graphic' symbol so that it doesn't play independently, and animates with it's parent clip

  2. #2
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    Select the clip on stage - in the properties panel there is a pulldown that should say MovieClip - change that to Graphic.
    Please use [php] or [code] tags, and mark your threads resolved 8)

  3. #3
    Quote Originally Posted by neznein9 View Post
    Select the clip on stage - in the properties panel there is a pulldown that should say MovieClip - change that to Graphic.
    Thanks but I want to achieve this using Actionscript

  4. #4
    Knowledgable n00b BlueGeek's Avatar
    Join Date
    Nov 2006
    Location
    New York City
    Posts
    137
    Quote Originally Posted by friendlygiraffe View Post
    Is it possible, (after adding a MovieClip to the stage), to change the Symbol type to a graphic?

    I want the clip to behave like a 'graphic' symbol so that it doesn't play independently, and animates with it's parent clip
    The best way to do this would be to use the MovieClips built in play() and stop() functions. Tell it to stop until it's needed then play it.

    If you REALLY need it to be a Graphic, I'd suggest making another Graphic object and switch them out when needed. You cannot retype an object like that. You SHOULD be able to create a NEW Graphics object based on data from, say, frame 1 of the MovieClip object.

    How action script savvy are you?
    "...there were only two good books in the hotel gift shop and I had written both of them."
    -Douglas Adams

  5. #5
    Thanks for your reply. I ended up using actionscript to achieve this as I realised it isn't really possible to change it to a graphic

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