FlashWhip
Jun
25

Flash CS3 JSFL Bugs: timeline.setSelectedFrames()

I’ve decided to put up a post for every bug I find in the current Flash Extension API - there’s a lot of them and it’s worth jotting stuff down for other Flash JSFL developers. (All 3 of us *wink*). This bug is in the timeline.setSelectedFrames() method.

Certainty: 98% certain it’s a JSFL bug. I usually mess with this stuff more to be sure, but I have found it getting tweaky on me in about 6 different Flash extensions I’ve been working on, and I’ve stopped the code in mid-stream at the point that the API should have made it’s frame selection using the “setSelectedFrames()” command… but no luck.

Problem: Run some JSFL code, somewhere in it I use the timeline.setSelectedFrames([layernum,startFrameNum,endFrameNum]) format of the command. I haven’t pinpointed the specific bug-trigger, but I suspect it has something to do with how the API has problems updating it’s view of the currently active timeline. I will explain this more in another post about a JSFL bug having to do with adding multiple keyframes to a timeline. For now, be aware that this method works 95% of the time… but in some odd circumstances it just refuses to work properly. If you encounter it, you can test it by stopping the code just after the line where you make your selection call. (Test the values for layernum, startFrameNum, endFrameNum just to be sure, but you will find they are legal and it’s a language bug, not a problem with your code logic.)

As a side note, other forms of the command don’t seem to cause the same errors. That is a damn good thing, too, cuz it makes the work-around a snap.

Bug Workaround: Fortunately, the solution is very simple. Use the same values as before and make use of following commands instead…

timeline.currentLayer = layernum;
timeline.setSelectedFrames(startFrameA,startFrameB);

So there you have it. This is one of those cases where knowing of a bug is more important that finding a solution to it, cuz the solution is so obvious. But man, I can’t tell you what a pain-in-the-arse it is to not know of it. Avoid using the extended form of the timeline.setSelectedFrames() method, and you will breathe easier.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Bumpzee
  • del.icio.us
  • Facebook
  • Furl
  • Mixx
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google

Posted in JSFL bugs | No Comments »

Jun
25

Flash CS3 Extensions - Flash MX, 8, or CS3? You decide.

So it’s been a few weeks since my last post, and I’ve got the new version of the Symbol-To-Frames command ready for release. The code is tighter. Less prone to bugs. Fewer calories. Tastes great. If you’ve already got it, I suggest getting it again as this version is better…

But before I send you to the updated Flash extensions link, I need your opinion. It’ll only take you 30 seconds, and if you don’t do it you will start kicking people in the head later on for not doing it. Including yourself. Friends don’t let friends kick themselves in the head. So read on or skip down to the survey link and take the 30-second survey. If you’re in a hurry, only the first 2 questions are required:

Flash Extension Version and OS Survey

Otherwise, read on. Here’s the current challenge:

I used to develop these extensions for Flash 8, before Flash CS3 arrived. And ever since CS3 was released, I switched over… figuring that as long as I stuck to the Flash 8 API command-set (don’t worry if this sounds mumbo jumbo, it will all get clear in a second), whatever extensions I built in CS3 would work in Flash 8. Not true. The Flash API is what makes building these extensions possible. And, er, impossible…

Fact: The Flash Extensions API is a tweaker. It’s more jittery than Grandma on meth. There are lots of bugs in the JSFL programming langauge itself, and while I can find ways to get around a lot of these… it takes a lot of time to do so. The real problem is that depending on which version of Flash you use, the bugs are different. And if that wasn’t tedious enough, the operating system you use can throw different bugs as well.

Here’s one potential solution: Develop for fewer platforms…

Stop developing for Flash 8, Macs, and/or older Mac & PC operating systems. That could be YOU. Either way, I decided to set up one of those survey monkey questionaires to collect the answers and make my decision. I’m doing the cheapo free version of Survey Monkey, so after the first 100 answers, it ends. (And I already emailed the awesome folks on my list, so time is running out!) So please, if you are reading this, take 30 seconds and answer a few very quick questions. In return, you’ll get cool free Flash extentions that work on your version of Flash. Here’s the link:

Flash Extension Version and OS Survey

Thanks for taking the time… and if you have any thoughts about extensions you’d like to see developed, there’s room for ideas on the survey.

Now then, the latest version of the FlashWhip SymbolToFrames extension only works with Flash CS3 (and it’s now available on the downloads page). If you want me to keep building for 8 or MX 2004, be sure to fill out the survey.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Bumpzee
  • del.icio.us
  • Facebook
  • Furl
  • Mixx
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google

Posted in Adobe Flash Extensions, Main Content | No Comments »

Jun
8

Important FlashWhip extensions updates

Some important news for you folks regarding more FlashWhip Flash extensions and updates:

 

First: My blog comment system has been on the fritz. After a little tweaking, it is working again. I’m really bummed it has been down the last few weeks cuz I really want to get as much feedback as I can so that I can keep building cool tools. If you have any important Flash extensions that you want, PLEASE leave me your thoughts and comments…

Second: There is an upgrade to the FramesToSymbol flash extension available in the downloads page.

Third: There is a small glitch in the SymbolToFrames command that I built. Not a big deal. If the symbol you are extracting from does not have layers of equal length, those layers are pasted in with equal length when they are extracted via the SymbolToFrames tool. That means it adds extra frames to the end in some cases. I will fix this when I have a chance next week.

Fourth: this is important–some folks have reported trouble installing the Flash extensions which could be due to a lack of the proper Adobe Extension Manager. OR it could be something to do with the version of Flash that you are using. OR I could have mussed the pooch and built the MXP file wrong. I hoped I would have a chance to work on this today before my web contact is gone, but I had to get my comment system going again.

Fifth: I’m going to be out of radio contact for a few days. No easy access to web or cell or nothin’. (Yes, there are still places like that on this Earth– unbelievable, ain’t it?) So if I’m slow to respond to folks, please understand that I’ll respond to all your questions as soon as I return. If you want an update, I will be sending out to my list as soon as I am back and I have a chance to fix all those errors.

 

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Bumpzee
  • del.icio.us
  • Facebook
  • Furl
  • Mixx
  • NewsVine
  • Reddit
  • StumbleUpon
  • YahooMyWeb
  • Google

Posted in Adobe Flash Extensions, Main Content | No Comments »

  • connecticut 97.7connecticut attorney general
  • cheverolet
  • freida pinto jeansfreida pinto kissing
  • chicago bears posters
  • search comcast net
  • search 4
  • cspan journal
  • masquerade
  • goodwill
  • chad ochocinco ultimate catch cast
  • bengals new uniforms 2012
  • charlies
  • connecticut 7 day weather forecast
  • tunning
  • vince young uncle rico gif
  • tea party hobbits
  • chad ochocinco to patriots
  • venezuela
  • balanced
  • c span video contest
  • c span 4 to 5
  • zara phillips baby
  • vince young 2008
  • search tumblr
  • search 78search 800 numbers
  • dis x
  • bengals record 2010
  • freida pinto glamour 2011
  • dis unplugged show notes
  • randy moss college
  • randy moss mix
  • new england patriots helmet
  • bea luna
  • beep
  • bengals xxiii
  • chicago bears 08 record
  • hp support contact us
  • freida pinto 1995
  • la ink upcoming episodes
  • connecticut education
  • bea spells a lot
  • chicago bears media relations
  • la ink tattoos
  • 5000
  • mtv dougie
  • nautilus
  • chicago bears 61
  • vince young released
  • hp support repair
  • gasket
  • hp support monitors
  • search with image
  • hp support hard drive replacement
  • ohms
  • search chuck norris
  • beagle
  • tea party gifts
  • vince young endorsementsvince young foundation
  • hp support venezuela
  • personalized
  • hp support englandhp support forum
  • greg olsen vancouver
  • hp support englandhp support forum
  • tea party medicare
  • bengals undraftedbengals vs steelers
  • athletes
  • connecticut renaissance faire
  • finishes
  • c span ii
  • chad ochocinco 15
  • search jail inmates
  • follower
  • search engines non tracking
  • la ink corey
  • zara phillips royal wedding picture
  • search engines no follow
  • vince young 99 yard video
  • mtv website
  • randy moss legal issues
  • mtv jams
  • redeem
  • andnot
  • connecticut department of labor
  • connecticut sun
  • search dog foundation
  • snapping
  • vince young football camp
  • increases
  • bengals images
  • search and seizure
  • tea party table settings
  • greg olsen university of miami
  • chennai
  • tea party hats
  • bengals youth jerseys
  • mechanical
  • bengals arrests
  • new england patriots 65
  • freida pinto dev
  • search engines watch
  • new england patriots offense
  • battleship wilmington nc
  • connecticut post
  • connecticut statutesconnecticut tigers
  • battleship excel
  • brackets
  • greg olsen 2009 calendar
  • blackjack
  • bea binene
  • la ink price list
  • killa
  • chicago bears zip hoodie
  • c span yesterdayc span zelaya
  • bengals hard knocks episode 1
  • beta
  • wylde
  • tea party 8 28 09
  • mtv live
  • battleship ipad
  • cspan streaming
  • zara phillips wedding hat
  • flyers
  • wings
  • vento
  • bengals 80's
  • disconnects
  • bengals tryouts
  • bengals qb situation
  • molecular
  • randy moss wonderlic
  • holidays
  • la ink bam margera
  • zara phillips dating
  • la ink map
  • tea party young people
  • vince young rivals
  • disloyaldis magazine
  • chad ochocinco xpchad ochocinco youtube
  • la ink ink
  • battleship bismarck wreck
  • panda
  • augustine
  • bengals visits
  • greg olsen website
  • disassembledis boards
  • connecticut 104.1
  • bea zuberbühler
  • hp support 6930p
  • commodore
  • randy moss height
  • bea 71 series staples
  • chicago bears football club
  • dis v44
  • search engines zuula
  • mtv american idol
  • bengals insider
  • connecticut food bank
  • randy moss combine results
  • barrett
  • battleship aurora
  • vince young jersey texas
  • vibe
  • search engines questions
  • hp support driver downloads
  • new england patriots 1997 roster
  • search protocol host
  • zara phillips tongue
  • dillon
  • bea per capita income
  • c span kozol
  • hp support 6500a plus
  • chicago bears pictures
  • greg olsen dustin keller
  • cspan hosts
  • connecticut law tribune
  • acme
  • beau coup
  • naval
  • freida pinto zac posen
  • search engines of the world
  • hp support greece
  • search lsu.edu
  • la ink 03x05
  • randy moss football cards
  • zara phillips and the queen
  • champion
  • search 990 filings
  • randy moss wallpaper