:: Interactive experiences to work across multiple platforms
Adobe & Mozilla extending Interactive experiences to work across multiple platforms
check here :: http://www.mozilla.org/projects/tamarin/
a bit about javaFX
Just looking at Flash and new baby Silverlight, Sun had come back to client side to be in the play Click here
typecasting generic object to Specific VO
for (var prop:String in obj)
{
if (hasOwnProperty(prop))
this[prop] = obj[prop];
}
Solving Problem with V2 components
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;
Problem with posting variable with value having URL “Http://”
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);
problem in accessing Navigator controls indexs for the first time.
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.
croping bitmapData in 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.
(IDEA) how to create image of size >2500*2500 diamention
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.
