bluebill1049
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by bluebill1049
-
-
Thank you Jack.
-
Hi,
Just a quick question, TweenLite and TweenMax which one actually performance the better? I am a bit confused, i saw heaps example use TweenLite. But then i watched the demo on the site, TweenMax actually have better performance... Any suggestion?
Cheeers
Bill
-
Wow thanks very much Carl
-
Hi Carl,
Thanks for your quick reply u always very helpful.
ThrowPropsPlugin.to(_panelContainer.mc_productContainer, {throwProps:{ y:{ velocity:yVelocity, max:25, min: -(_panelContainer.mc_productContainer.height - _MINIHEIGHT), resistance:50 } },onUpdate : function(){ _scrollBar.y = -(_botScroll/_yOverlap * (_panelContainer.mc_productContainer.y - 25 )); checkPosition(_panelContainer.mc_productContainer.y); }, ease:Strong.easeOut }, 5, 0.3, 1);
How do i kill it in this situation?
-
Hi
I would like to kill the ThrowPropsPlugin when the user click on a button. Couldn't find in the API document http://www.greensock.com/as/docs/tween/com/greensock/plugins/ThrowPropsPlugin.html
Just wondering is there a way you work it around?
Thanks
-
Thanks very much, i looking into it now!
-
Hi,
just wondering if there is a way use imageloader to load ByteArray?
Many Thanks
Bill
-
Thanks for the info
-
how can i skew image perspective, using transformMatrix
any help would be very appreciated.
Cheers
Bill
-
Thanks buddy i will give it try.
-
Thank you very much for all your help. you have a great day~ it workes
-
Hi,
i am very new to greensocks loader.
i have load this XML and would like to loads all the images.
var productXmlLoader:XMLLoader = new XMLLoader(_XMLDIR + productCate + 'Products.xml', {
onComplete:xmlCompleteHandler,
estimatedBytes:50000
});
private function xmlCompleteHandler(e:LoaderEvent):void{
_categoryChildren = e.target.getChildren();
//trace(_numberOfXmlChildren);
for(var i = 0; i <_categoryChildren.length; i++){
did trace _categoryChildren return me with a loader i think, but i dont know how to add them to the stage.
is there a way you can go like addChild(******)
}
}
-
var stageProductImageLoader:ImageLoader = new ImageLoader(_IMGDIR + e.target.parent.parent.productCategory + '/' + e.target.parent.parent.productId + ".png",
{container: _allTempleProducts[0].mc_stageProductContainer,
height:80,
x:-15,
y:0,
onComplete:onImageLoad,
hAlign: 'left',
vLaign: 'top',
scaleMode: 'proportionalInside',
centerRegistration: false
});
private function onImageLoad(e:LoaderEvent):void{
//trace(e.target.rawContent.width/e.target.rawContent.scaleX)
trace(e.target.rawContent.width/e.target.rawContent.scaleX);
}
i had this but it doesn't return me the right width, anything wrong i did?
Cheers
Bill
-
when i have this rawContent. i go this term undefined error. Thanks for the help
TypeError: Error #1010: A term is undefined and has no properties.
at src.products::ProductsList/createProductOnStage()
-
Hi there,
var stageProductImageLoader:ImageLoader = new ImageLoader(_IMGDIR + e.target.parent.parent.productCategory + '/' + e.target.parent.parent.productId + ".png",
{container: _allTempleProducts[0].mc_stageProductContainer,
height:80,
x:-15,
y:0,
hAlign: 'left',
vLaign: 'top',
scaleMode: 'proportionalInside',
centerRegistration: false
});
is there i way i can get the image's original width and height, cause i want to know the ratio of the image.
Thanks
Bill
Greensocks Imageloader how to check if a image exist before loading the image
in Loading (Flash)
Posted
I would like like to replace a spirte's image.
But before that, i want to check if the image exist in the directory or not. Is there a way to do it?
newImage = new ImageLoader(dir + temChild.category + '/' + temChild.productUrl + '.png', {
container : temChild,
height : 80,
width : 80,
scaleMode : 'proportionalInside',
onComplete : onColorImageLoad,
centerRegistration : true,
noCache: true,
autoDispose : true
});