Entries Tagged as 'Flash'
Here’s how to show or hide the default items in the Flash Player context menu. If showMenu is set to true (the default), all context menu items appear. If showMenu is set to false, only Settings and About Adobe Flash Player items appear. Note that in actionscript 3 showMenu has been replaced by
showDefaultContextMenu
// Actionscript 2
stage.showMenu=false;
// [...]
[Read more →]
Tags:actionscript 2·actionscript 3·adobe flash player·context menu·Flash
August 25th, 2008 · Comments Off · Flash
In my recent posting on Flash Bitmap maximum width and height, I blog about how Flash bitmapData object has a maximum width and height of 2880 pixel . I was recently contacted by John Keyton who was really nice to point a work around created by Ronald LosbaƱes that would allow you to create a [...]
[Read more →]
Tags:Add new tag·bitmapdata·Flash·Height·Image·loader·maximum
An updated post has been posted , check it out at [Workaround] Flash Bitmap maximum width and height
Recently I was working with a flash image zoom application and realized that after launching the application it kept crashing when it was loading the larger image, I’ve checked every where and nothing seems to be wrong. File [...]
[Read more →]
Tags:bitmapdata·Flash·flash actionscript·image size·maximum height·maximum width
Recently I was working on a Flex project and realize upon having my project on the live server , I couldn’t retrieve the height and width property of my loaded image by doing below
var img:Image = new Image();
img.source = "image.jpg"
trace(img.height);
trace(img.width);
The trace statement above will just show 0 for both width and height. Of course after [...]
[Read more →]
Tags:dynamic image·Flex·Height·Image·Width
Recently I was writing an application for Flex which I wanted to know about client-machine’s capabilities in order to provide optimal experience on my application. After searching around, I found the Capabilities API in Action script 3. This became extremely helpful as I can know figure out a things on my client machine to make [...]
[Read more →]
Tags:action script·environments·flash player·support ssl·video support
Previously, in ActionScript 2.0, you could pass variables along the query string or using FlashVars and the variables would be available in _level0, in ActionScript 3.0, it is a bit different . In Actionscript 3 variables that are passed in through query string have been moved to the parameters property of LoaderInfo instance. Here’s a [...]
[Read more →]
Tags:flash variables·parameters·query string
Recently I was working on a flash project that was using Actionscript 2 and it was such a pain trying to use loadClip() and pass in the necessary variables through query string for loading the external swf into a movieclip. I figure I’ll post this here and hopefully someone who is trying to do [...]
[Read more →]
Tags:loadmovie·movieclip·query string
Wow , I just realized how long since I’ve actually written a post here. I’ve been extremely busy with work lately and I have not got a chance to update with my blog. I’ve been working with more .NET stuff than ever at work and also attended a Flash ActionScript 3 class.
ActionScript 3 is a [...]
[Read more →]
Tags:arcade games·flash action script·flash actionscript·object oriented programming language