Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

How to deal with off-canvas items

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TDN169 - 27 Jul 2008 15:35 GMT
I am entirely new to flash, so please keep it simple ! ;-)

Can anyone tell me how to sort this out:

When an object goes over the edge of my flash applications and the swf file is
viewed on a 'show all' zoom, I see that the object is still displayed, even
ones off the normal region. How can I stop this happening?

Can you also tell me how to set a similar boundary on a movieclip symbol?

And, (this goes on) how to embed a compiled swf in a flash application?
Noelbaland - 28 Jul 2008 06:16 GMT
Hello,

You can use a mask layer.  A mask will cut out everything thats not within
it's boundary.

Create a new layer in your main timeline and call it Mask.  Drag this layer to
the top so that it covers all the elements on stage that you want to show.  Use
the Rectangle tool and draw a square the same size as the Stage. Position it in
the centre and then right-click on your Mask layer in the timeline and select
Mask from the menu that appears.  You'll notice that the layer directly below
it will be locked and be nested under the Mask layer.  What you want to do now
is drag any other layers that you want masked, up and under the Mask layer, so
that it's nested as well.  Then you want to lock that layer so the mask will
take effect.

You can do the same thing for your movieclip symbol except on that movieclip's
timeline.

Take a look in the Flash help for how to use the loadMovie or MovieClipLoader
methods to load external SWF movies.  Loading SWF files is a very common
question in this forum.

Hope that helps
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.