Flash components, flash files, the best flash components source, download flash components and flash extensions, sell flash components, buy flash
 
Search

home » flash components » user interface » flash border »

Flash Border

Open in larger window:
600x360 or 800x480
FlashStore rating:
User rating: Not rated yet.
Date: 21-05-07
Submited by: papusharu
Skill: beginner
Price: $ 14.97
 
About
FlashBorder is a flash component made especially to simplify the process of adding borders, overlays and/or masks to MovieClips such as images, static and animated MovieClips, photos, icons, movies, both static and dynamic, for both beginners and advanced users.

There are 2 ways to add FlashBorder to your MovieClips:

1. Beginner mode.
Simply drag the component to the stage for as many borders/overlays you want, Drag and drop the FlashBorder component to the target MovieClip on which the border/overlay will be applied (the target will automatically set itself), set the border/overlay and/or the mask that will be used in runtime.

2. Advanced Mode.
Use the addFlashBorder method on any MovieClip with the following syntax: myMc.addFlashBorder(myBorderMcId:String[,myMaskMcId:String]):FlashBorder (an instance of the component should be dragged and dropped in the first frame of the flash movie in order to use addFlashBorder prototype)
UI Access
The FlashBorder component can be accessed from Components/FlashBorder
Support address
Download documentation
Flash Border documentation (3.99 KB)
Code samples
Properties:
_targetInstanceName:String = the name of the target movieclip that will use this border
borderMcId:String = the linkage id of the MovieClip (from library) that will be used as border
maskMcId:String = the linkage id of the MovieClip (from library) that will be used as mask

Methods:
(Applied directly on the target MovieClip)

myMc.addFlashBorder(myBorderMcId:String[,myMaskMcId:String]):FlashBorder
Adds a FlashBorder object to a specific MovieClip.

myMc.removeFlashBorder();
Removes the FlashBorder object from a target MovieClip.

myMc.refreshFlashBorder();
Refreshes the FlashBorder after the target MovieClip has been moved or resized.

myMc.removeBorder();
Removes the border only from a FlashBorder object.

myMc.removeMask();
Removes the mask only from a FlashBorder object.

myMc.setPropVal(property, value);
You can use this method to set any property of the target MovieClip that may move or resize the MovieClip, so it will need to refresh the FlashBorder too. (Used as an alternative to refreshFlashBorder method)

myMc.setBorderMcId(myBorderMcId:String)
Sets the borderMcId of the FlashBorder object (component)

myMc.setMaskMcId(myMaskMcId:String)
Sets the maskMcId of the FlashBorder object (component)

Note.
When FlashBorder is used in a flash file containing Macromedia V2 Components, you should not use the FlashBorder component inside the same MC (movieclip) where a component is used, because of the removeMovieClip() method wich fails because of the DeptManager class used by V2 Components. You should first encapsulate the movieclip that will be used as target for FlashBorder component, inside a new MC (wich does not include a Macromedia V2 component) or the FlashBorder attached will not be removable.
Features
add your own border/overlay to any flash movieclip
add your own mask to any flash movieclip
very easy and fast


Buyer reviews

No reviews.


User Comments

No comments.
login to post your comment  

Advertising

Credentials

FlashStore is now Adobe Solution Partner for Flash Components

As seen advertised at theFWA.com