Jump to content
GreenSock

Vicware

Members
  • Posts

    50
  • Joined

  • Last visited

Reputation

0 Newbie
  1. Thanks again Jack for your good product and your great support. Vic
  2. Jack and friends - I just want to thank GreenSock. I've done some dozen projects over the last couple years. They all use max/lite/timeline for parts of every one. I finally got up my new home page (first revamp in 10 years). I always push the limits of software. On my 3ghz (w/9400GT card) it runs ok, but anything slower than that is not great, but that's ok. I built my new web site for things going forward. www.vicware.com Thank you very much. I'm a big fan of your product and especially your support. Vic
  3. That's incredible. YOU'RE THE MAN! That's what I call support. It wasn't that big a deal and I accepted that it was likely it was just going to be a limitation, but perhaps you figured out quickly you could add this behavior for blendMode without too much trouble. You can see it in the attached swf, which I'm still putting together. (The big "PHOTOGRAPHY" at the top). Like I said, still working on it. SUPER - THANK YOU, Vic
  4. I'll check it out right away. Thanks - Vic
  5. When I setup a textfield and describe a blendmode for it, and then assign a blitMask, the blitmask works fine with scrollx, etc., but the blendmode is gone. If I bypass the blitmask, the blendmode works fine. I saw in the API that there are some things that won't work with blitmask (i.e. kerning) but didn't see anything about blendmodes being nullified. Blendmodes do not work when you're using blitmask on objects? Thanks - Vic After several more hours on this, I pretty well confirmed that blendmodes just don't work while the mc is blitmask'd. If I animate the mc, and at the end have onComplete:blitMaskA.disableBitmapMode, the blendmode effect instantly reappears. That is an acceptable limitation. I'll just do my thing a different way. Vic
  6. I wasn't asking for validation of any specific code. I just wanted to make sure I understood what the code can and cannot do, as far as performance. That was good you confirmed that the pngs are not recognized for anything but another bitmap, and that my assumption that this was going to be faster than having dynamic dropshadows was correct. The posts the last 24 hours have been very helpful to me. btw, there is a slight performance difference between IE and FF. I also tried running this in Safari, which I don't normally test for, and it was horrible. I guess that's why I don't care very much about Safari. Thanks for your help. Vic
  7. UPDATE: I spent the last 24 hours trying to find the best solution for getting the smoothest tweening I could get for this swf. It started off badly, because when I went to increase fps it had no effect and I couldn't understand why. I haven't done too many nested swfs inside a main swf - I was unaware that any child swfs get their fps from the root, mother swf and ignores the fps set for any individual, child swf. That, of course, screwed up the timing of my other child swfs and I couldn't afford to raise the fps too far, so after experimenting between 30-100 fps, I settled on 40fps, which was the best compromise between everything going on. The main problem I have with this is I need to have a dropshadow for each image, and when you use any of the filters, the element is cacheAsBitmap'd. I understand from your last post that I can't take advantage of the sub-pixel smoothing with BlitMask because if the image has a filter attached to it, cacheAsBitmap is turned on, and I can't get the sub-pixel smoothing I want when the tween runs. So, I spent a bunch of time and changed all my images to PNGs, with the dropshadow as part of the image, and therefore I could get rid of all the dropshadow assignments in my AS3. Theoretically that should allow me to get the full benefit of the sub-pixel rendering as the clips slowly move down the screen. I'm not sure how using semi-transparent images (the pngs) is implemented in flash. Perhaps in theory it's no faster than having the dropshadows implemented in AS3, or maybe images with transparencies are automatically cacheAsBitmap'd maybe. All the work I've been doing and referring you to has been standalone, but this swf is part of a larger "show" of swfs that I'm assembling for my unpublished home page. You can see this at: http://www.vicware.com/mainsite/vicware1.html It's the third swf that runs (at the top of the page). You can see I have another constantly running swf (the atom) which is competing for cpu cycles, I'm sure. Aside from my query about transparent pngs as the source, I'm hoping you would look at this and tell me if you think I'm doing the best you can do with these animations, under the circumstances. Thanks, once again, for your time. Vic
  8. A fabulous response - thank you. I knew the best results I got for doing this particular animation was with blitMask. I've been trying to keep my swfs running at 30fps, and for some reason it didn't occur to me to try upping the frame rate to see if i get smoother performance. Also I'll immediately do the update. Once again, I have to say how pleased I am with your support. I'll post results. Vic
  9. I just went back and did the same thing as you did, as a doublecheck of what I had done previously... There is a significent quality difference, at least as it looks here, of the images being tweened via blitMask than it does with any other method. I know it wasn't exactly meant for what I'm using it for, but I experimented with every method - scrollRect, transformMatrix, and just plain tweening like you did, and the smoothest result I get is using blitMask to describe the images with the subtle, slow tweening I'm doing is significently smoother using this method. I would be surprised if you didn't see the performance difference between using my blitMask method compared to just regular tweening. Please remember you have to see this running from the swf - not the Flash IDE to see the true results. I know you put some time in looking at my code. Thank you very much for that. Vic
  10. Does anybody have an opinion about this?
  11. I'm working on this swf. I'm wondering if there's anything else I can do to smooth out the motion of the BlitMasks - it doesn't look terrible, but I do get occasional jitters. I may be pushing this tool further than it's meant to go. As far as tweenLite in general, I'm not doing anything different or special. The compiled swf runs much smoother than it does in the Flash IDE. I'm not worried about the loading process - I might use LoaderMax or maybe leave it as it is, but I'm just want to know if I'm missing anything as far as making the animation as smooth as possible. Please tell me what you think. Thank you, Vic
  12. Well, Carl - I couldn't get it to work in my code, so I made a simple proof (I attached it for any other needy users). Of course, it worked perfectly. In my code I did everything as you have it. No matter what I do, the line tempLoader.rawContent.rollGO.play(); keeps giving me the same error: #1009 Cannot access a property or method of a null object reference. I can't understand why I'm getting this. The only thing that is a little different is that I make the container for the parent SWFLoader a movieclip (so I can adjust its position) like so: tempLoader = new SWFLoader(addTemp, {name:addTemp, estimatedBytes:40000, onComplete:compSWF, container:bitTmpSWF}); I'm not sure if this effects the tempLoader.rawContent.rollGO.play() function. I've tried lots of things like bitTmpSWF.play(); , etc. So other than that I don't know what to do. The code for this is much to much to have you bothered looking at it. Don't know if I can make a pared down version. If you have any other ideas, please let me know. Thanks - Vic
  13. If you wanted to get the swf to play when you call calledFromMain() from the main swf, how do you do that? i.e.: rollGO = new TimelineMax({paused:true, onComplete:rollDone}); yada yada... function calledFromMain():void{ rollGO.play(); trace("calledFromMain"); } This of course doesn't work. No matter what I do (i.e. making rollGO public, etc.) I can't get rollGO to be recognized as anything but null within calledFromMain() function. I need for the main swf to tell the sub-swf to play itself. Can't figure it out. Help. Thanks - Vic
  14. The paused:true solved my problem of keeping the swf from playing automatically. But, this problem of telling the swf you want to play is a big problem. rollGO is in the swf. The swf is loaded from my document class with swfLoader. When onComplete is fired after the swf is loaded, it goes there and makes the swf into the mc, and then displays it. That all works fine: private function compSWF(evt:Event):void { bitTmpSWF = evt.target.rawContent as MovieClip; bitTmpSWF.x = 10; bitTmpSWF.y = 9; trace("Hello"); addChild(bitTmpSWF); //bitTmpSWF.rollGO.play(); (your suggestion) } Except, like you said, the function has no idea what rollGO is - rollGO is in the swf. I've spent over the last 3 years so many late hours figuring out how to get variables shared and/or passed between classes. But this is different, because this in in a loaded swf, not another class. So just making rollGO public won't work as far as I know. I thought of some convoluted code that would signal the html via ExternalInterface/javascript to then communicate to the swf through vars or whatever to tell it to play, but I have no idea if that would work. I was just wondering if you have any ideas on this? Thanks, again - Vic
  15. Great information. Thank you for all the time you put in to give me some of the intricacies of how to get done what I need to do. It seems about a couple times a year when I venture into new areas of the TM universe I run into problems that stem more from the conceptual rather than the syntactical. I might have one more question about combining append, insert, etc on the timeline. I'll try to trudge forward and figure it out. Thanks for your help. Vic
×