dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Instance of question

Hybrid View

  1. #1
    Senior Member
    Join Date
    Mar 2002
    Location
    New York City
    Posts
    175

    Instance of question

    how exactly is instance or instance of used? can anyone show me an example or tutorial
    Last edited by dkriese; 06-05-2004 at 09:38 PM.
    WildChili.com

  2. #2
    SWiSHer extraordinaire
    Join Date
    Dec 2000
    Location
    Australia
    Posts
    3,900
    Draw a red square at top left of stage area
    Give it a name in the shape panel (eg fred)
    Right click on it, and select make instance
    You now have another red square
    Click on the original red square
    Go to shape panle and change the color
    The instance color will change as well
    Draw a circle
    Give is a name differnt from the square (eg tom)
    Select you instance of the square
    In the Sprite panel, select the circle name as the instance of
    You instance changes from square to circle.
    Roger Onslow - SWiSHmax: its here!

  3. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    New York City
    Posts
    175

    Instance of

    Thanks I see, I have both Swish 2.01 and Swoshmax, you're explanation worked beautifully in swishmax.

    In Swish 2.01which I still use for the older sites I have made, it seems you need to turn the object into a sprite before you can use "instance" Is there a tutorial for 2.01 somewhere?

    I can never say it enough, you guys are the best, thanks you!
    WildChili.com

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