Jump to content
Search Community

fakeartist

Members
  • Posts

    17
  • Joined

  • Last visited

fakeartist's Achievements

0

Reputation

  1. Wow! Thanx a lot for your fast and complete answer! Guess I'll dig in ColorProps plugin then. Thanx again! Cheers
  2. Hi! I was wondering, I have a btn like this: #my_btn { background-image: -moz-linear-gradient(top, #3e3e40, #252122); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0.00, #3e3e40), color-stop(1.0, #252122)); background-color: #DDDDDD; } How can I animate the background gradient on roll over? I tried the code below but it doesnt work. var mybtnOnOver = $('#my_btn'); mybtnOnOver.hover(function() { //mouseover TweenLite.to($(this), 1, { css:{ backgroundImage: '-moz-linear-gradient(top, #ACAC8F, #ACAC8F)' } }); },function() { //mouseout TweenLite.to($(this), 1, { css:{ backgroundImage: '-moz-linear-gradient(top, #3e3e40, #252122)' } }); }); In general where can I find the css properties that are supported? Thanx a lot for any answers! Cheers!
  3. Thanx a lot Carl! As always, fast response and to the point!!! I'll try masking blitMask. By the way, I really enjoyed your blitMask tutorial!!!! Keep up the great work! Cheers
  4. Hi! I want to try out blitMask and I was wondering. Can I use Blitmask to create a non-rectangle mask (I want to make a mask with rounded corners)? Thanx for any advice! Cheers
  5. I always go for 60fps. The animations are much smoother than in 30fps. The difference is obvious. And considering the technology progress (as Carl mentioned in the previous post), 30fps seems so outdated... You only have to take care of memory optimization. But memory optimization is something every flash developer should do, no matter the number of fps. So, no problem! One thumbs up for 60fps! cheers
  6. You are the man!!! That does trick. I never thought I could not use the new statement and still create the instance. Guess it makes sense considering that TweenMax.from is static. I have another question too. What if i want to do: private var:myArrayTween:Array; private function initTween():void { planningTween = TweenMax.allFrom(tweensArray, 1, { alpha:0, paused:true } ); } private function doTweenWhenNeeded():void { planningTween.play(); } The play function does not work cause I have an array of tweens right? Is there any function similar to this for TweenMax.allFrom and TweenMax.allTo? What is the right way to start the animations? Thanx a lot for your feedback! You saved my day...
  7. Hi. I have a noob question. Say that I have this tween: TweenMax.from( myClip, 1, { alpha:0 } ); I want to make an instance of this (when I initialize my site), and then, play this animation whenever I want, reverse it or whatever. With the TweenMax classic syntax this is done easily by: var myTween:TweenMax = new TweenMax( myClip, 1, {x: 100, paused:true} ); // play it whenever you want myTween.play(); // reverse it whenever you want myTween.reverse(); // etc. But this is basically TweenMax.to. How can I do the same with TweenMax.from? I hope I made my point clear. Thanx a lot for any feedback!
  8. Hi to all! I'm at a loss here! I'm trying to load a swf (with tlf textfield on it) as below. Here is my document class. package { import com.greensock.loading.SWFLoader; import flash.display.Sprite; public class Main extends Sprite { public function Main():void { var loaderTest:SWFLoader = new SWFLoader( 'content/mySwf.swf' ); loaderTest.load(); } } } Here's is the error that is driving me nuts! Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml. The 'secure' attribute is only permitted in HTTPS and socket policy files. I'm using Flash CS5.5. I read somewhere that there have been some corrections in tlf in Flash CS5.5. So I ask, is loadermax compatible with swf files created with flash CS5.5 (that have TLF textfields)? Has anyone the same issue or is it just me? Thanx in advance for any feedback. By the way, greensock rules!
  9. For once more, thank you very much. Now I got it right. Cheers!
  10. Hello to all! I want to load a 50KB photo. Say that progressBar is a horizontal line with width 800 px. private var loaderMax:LoaderMax = new LoaderMax( { name:"photo"} ); progressBar.scaleX = 0; loaderMax.append( new ImageLoader(path, {onProgress:onLoadingProgressHandler}) ); private function onLoadingProgressHandler(event:LoaderEvent):void { progressBar.scaleX = event.target.progress; } But my horizontal loading bar moves in a jerky way (jumps). Is it possible to smooth it (eg. ease in and ease out)? In the greesock tutorials you say that Seems that I'm missing something here. Do I have to use tweening in progressBar? Please help. Thanx in advance.
  11. Hello to all! I have a newbee question. Say I have a large MP3 (10MB). I want to load it, but I do not want to load the whole sound. I want to load a part of it (say 500Kb), and after that the sounds starts playing while it keeps loading the rest of it. Any solutions? Thanx in advance...
  12. By the way, what if I want to load an AS2 swf to an AS3 project using LoaderMax? Can I do this?
  13. Well, that was not the case, but I solved it. My flash website is made using Actionscript3, but the swf I was trying to load and play was made using Actionscript2!!!! I recompiled the swf using AS3 and all works good now! Thanks anyway. Without your 'security error' description I wouldn't have thought to check the swf language.
  14. Hello. I load a swf using: var loaderMax:LoaderMax = new LoaderMax({name:"main-site", auditSize:false}); loaderMax.append( new SWFLoader("assets/swf/mySwf.swf", { name:"mySwf_loader", estimatedBytes:20000, autoPlay:false } ) ); After the swf has succesfuly loaded, I try to play it using as you suggest in another forum LoaderMax.getLoader("mySwf_loader").rawContent.play(); BUT... it returns error [Fault] exception, information=ReferenceError: Error #1069: Property play not found on flash.display.Loader and there is no default value. Why?? It has driven me nuts. Please help!
×
×
  • Create New...