:: Interactive experiences to work across multiple platforms

February 29, 2008 at 5:22 am (Uncategorized)

Adobe & Mozilla extending Interactive experiences to work across multiple platforms

check here ::  http://www.mozilla.org/projects/tamarin/

 

Permalink Leave a Comment

a bit about javaFX

February 21, 2008 at 9:03 am (Uncategorized)

Just looking at Flash and new baby Silverlight, Sun had come back to client side to be in the play Click here

Permalink 1 Comment

typecasting generic object to Specific VO

February 20, 2008 at 7:07 am (flash) (, )

for (var prop:String in obj)
{
if (hasOwnProperty(prop))
this[prop] = obj[prop];
}

Permalink Leave a Comment

Solving Problem with V2 components

February 18, 2008 at 1:01 pm (flash)

If we load external swf with a combobox in a movieclip.
The combo box does not works
You will have to use the lockroot property in the main file for it to work properly

Main.swf à comboHolder_mc
Sub.SWf à V2 based combo box.

Main.swf
comboHolder_mc.loadMovie(“sub.swf”);
comboHolder_mc._lockroot = true;

Permalink Leave a Comment

Problem with posting variable with value having URL “Http://”

February 11, 2008 at 7:59 am (Flex)

With flex there is a security sand box error when you try to post a variable with value having Http://

i.e. Val=http://www.google.com;
The solution to this is below.

Just escape the value and post it.
i.e Val=escape(http://www.google.com);

Permalink 4 Comments

problem in accessing Navigator controls indexs for the first time.

February 7, 2008 at 6:55 am (Flex)

Navigator controls like Accordion,tablist ect. we can not access the different indexs other then 0 for the first itme.

This is because the bydefault only 0 index is intialized and others are not intialized so use creationPlocy=”all” to do that.

Permalink Leave a Comment

croping bitmapData in flex

February 6, 2008 at 7:53 am (Flex) (, )

have a dummy bitmapData object of same diamnetions as ur source and another of what u want;

var bitmapData1:BitmapData = new BitmapData(100,100);
bitmapData = new BitmapData(50,50);

draw the whole source or part of source into bitmapData1

bitmapData1.draw(this,myMatrix,null,null,new Rectangle(0,0, 100, 100));

Copy required pixels from your dummy biitmap data

bitmapData.copyPixels(bitmapData1,new Rectangle(50, 50, 100, 100),new Point());
bitmapData1 = null;

* The same can be achived with 1 bitmapdata object also using matrix object.

Permalink Leave a Comment

(IDEA) how to create image of size >2500*2500 diamention

February 6, 2008 at 6:14 am (Uncategorized) (, )

image height = 5000;

var number of images = Math.round( image height / 2000)
// result = 3
so we will create 3 images of dianmentions
1) (0,2000) * (0,2000)
2)(2000,4000)*(2000,4000)
3)(4000,5000)*(4000,5000)

you can create above diamention images after croping the unwanted area. (see how to crop in anothe post)

and combine the same using some server side lanugauge.

as soon as i make a proto type i will put it on web for refrence but this is the idea how we can achive this.

Permalink Leave a Comment