Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

bluebill1049

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

0 Newbie

About bluebill1049

  • Rank
    Member
  1. 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 : 'proportionalInsi
  2. 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
  3. 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?
  4. 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
  5. Thanks very much, i looking into it now!
  6. Hi, just wondering if there is a way use imageloader to load ByteArray? Many Thanks Bill
  7. how can i skew image perspective, using transformMatrix any help would be very appreciated. Cheers Bill
  8. Thank you very much for all your help. you have a great day~ it workes
  9. 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 a
  10. 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
  11. 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()
×