Archive for the 'Flash Tutorials and ActionScript Solutions' Category

Mini Tip #2 Applying an Add To Favourites button in Flash MX 2004 via ActionScript

Create a button within your Flash movie and insert the following ActionScript onto that button.


your_btn.onPress = function(){
getURL("java script:window.external.AddFavorite(http://www.example.com, Example Site Title)");
}

Alter the URL and Example Site Title info to suit your needs, and don’t forget to give your button the same instance name as you used in the ActionScript – in our case; your_btn.

No comments

A few helpful forums

Ever needed that little bit of extra help solving a design/implementation problem?

Fear no longer, for here are a few helpful sites for you to get those all important answers you crave.

Kirupa.com

An online Flash/CSS/PhotoShop resource that provides useful tutorials, links, downloads, and support for all levels of expertise. The tutorials are very educational although personally, the forums, which are worth a try, aren’t the most welcoming for beginners of the ‘noob’ kind. Be prepared to bump your thread up until you get what you need!

The Ultrashock Forums

A great resource site for Flash Professionals. The forums are great, with many a helpful members willing to take time over any questions/problems you have.

PC Mech Forums

Wonderfully helpful forum. Any computer hardware issues and you’ll be sure to find help here. If we had a badge of approval we’d pin it here.

Joomla! Forums

This is the best place to find information about Joomla and solutions to any Joomla related problems you may have. The forums are massively popular and if you follow the forum rules you will find someone who can help solve your Joomla problems. But be sure to do a thorough search of the forums before you post a new topic - you will almost always find that someone has already solved your problem!

No comments

External flash movie with gallery and thumbnail scroller just will not work?

June 19th, 2008 | Category: Flash Tutorials and ActionScript Solutions

Recently whilst tweaking a project outsourced to us we came upon a problem with a Flash gallery. The gallery in question was an external movie loaded into the main ‘holder.swf’ when called upon.

The gallery worked fine when previewed seperately. Only when it loaded as an external movie, into the holder.swf did the gallery refuse to work. By this, I mean, the thumbnails, and the scroll bar they were placed in, would not respond to the mouse.

Now, theres possibly a few things to do at this point, but when working to a deadline, obviously, the quickest choice is the best choice. The ActionScript for the thumbnails worked with ‘_root.’ instructions, and appeared to be becoming confused with the holder.swf mistaking that as the main ‘_root.’ file.

Adding this: this._lockroot = true;

To the main timeline of the ‘gallery.swf’ corrects this confusion by making the timeline on the external movie the actual ‘_root.’ for the entire time the external movie is open.

This solution is quick, involves minimal coding and is easy to implement.

No comments