LOGIN Don't have an account yet?   Register

Forgot password?
 
07 Apr 2010

Using crossdomain.xml


You double checked all your paths and everything seems right, except that the content doesn’t load?

Make sure you have the following crossdomain.xml file in the root of your server, which will allow any server to connect to your server and get the files they need. This is useful when you want to host your files on a server, and the swf files on a different server.




  

Get the file from here: Download!

22 Jan 2010

duplicateMovieClip and getNextHighestDepth in AS3


For all of us that used AS2 for a long time, we want some things to remain as simple as they were in AS2. So we created our own functions which we use as Prototypes! :-)

duplicateMovieClip

// var mc : MovieClip = mcRating.duplicateMovieClip(new mcStar(), "mcStar" + j);
MovieClip.prototype.duplicateMovieClip = function(obj : *, pName : String = "mcItem") : Object
{
       this[pName] = this.addChild(obj);
       this[pName].name = pName;
       return this[pName];
};

getNextHighestDepth

Make sure that mc is inside mcImages (or whatever movieclip you are using).

// mc.getNextHighestDepth(mcImages);
MovieClip.prototype.getNextHighestDepth = function(scope : Object) : void
{
	scope.setChildIndex(this, (scope.numChildren - 1));
};

Hope this help! :-)

21 Jan 2010

Step 1: Easy Debugging


Our Flabell Support team gets a lot of emails asking the same question “why doesn’t the content load?”. We decided to share a little knowledge with you, which will help you understand and fix the problem on your end.

Information

First, please make sure you read the article posted here, if you need to move the content files in different folders than the default structure we provide. The pathToFiles variable is very important, and you must follow the steps described in the article precisely.

Safari

In order to use our easy debugging solution, you must download Apple’s free browser, Safari.

Safari has a feature called “Activity”, which opens a window and shows you the entire activity of your browser. it’s under Window>Activity.

Read the rest of this entry »

09 Jan 2010

Size Priority


If you downloaded any of our Flash Components, you already know we define the size in the HTML code, as well as in the XML code. Well, let me tell you we define the size in the ActionScript code as well, and if we don’t, we resize the component to take the entire Stage size.

I’ll briefly explain why we do this, and what are the advantages of doing it like this.

The way the Flash Component resizes, is by reading the componentWidth and  componentHeight values, but the priority is:

  1. HTML.
  2. XML.
  3. Stage size (or ActionScript passed).

Read the rest of this entry »

18 Dec 2009

9-slice scaling a mask


If you ever tried to apply 9-slice scaling to a mask, you probably noticed it doesn’t work.

The solution is this:
1. Use a movieclip and apply 9-slice scaling to it. (let’s say mcShape)
2. Add this movieclip into the mask. (so you would have mcMask.mcShape)
3. Apply cacheAsBitmap to mcMask and mcObject, where mcObject is the object you want to mask.
4. Apply the mask with ActionScript: mcObject.mask = mcMask; (do not apply 9-slice scaling to mcMask)

Hope this helps! :-)

Page 2 of 4«1234»
blog entries RSS Feedproducts RSS Feed

Categories

Popular Files

  • Compact Flash Mp3 Player
  • Horizontal Image Slide on Mouse Move
  • Accordion Menu with Images from XML
  • Accordion Banner Rotator
  • Continuous Image Slider
  • Photography Portfolio Template
  • Dynamic Flash Video Gallery
  • Accordion Gallery
  • Flash Ken Burns Effect Slideshow
  • Horizontal Scroller Slideshow
  • Simple AS3 Flash Video Player
  • Zoom Gallery

Download the plugin above
Read more about Flabell WordPress plugin

Archives

Search the blog