Skip to Content »

FlashApe » archive for September, 2006

 Cross-browser.com

  • September 30th, 2006
  • 9:32 am

I like the idea behind javascript/css development, but usually the implementation drives me crazy, which makes me hate it.  The issue to this day is cross-browser compatibility,  When searching for a solution for some js problem today I came across the site cross-browser.com, which provides “Thousands of lines of cross-browser Javascript”. Some of the items found at the site:

  • X Library -  is a collection of cross-browser Javascript functions and objects. It contains core DHTML functions, utility functions, objects such as menus and tab panels, and also has some experimental stuff.
  • xAnimation Preview - a new animation engine.
  • xSplitter - a nestable, dual-pane splitter.

Looks like there’s lots of good stuff over there, so check it out.

 Scrolling Accordion Segments

  • September 29th, 2006
  • 5:08 pm

There's probably a better (or more correct) way to do this, but here's how I got scrolling segments in the v2 Accordion component:

Actionscript:
  1. function buildSegments(){
  2. for (var i=0; i<7; i++){
  3. var pane = my_acc.createSegment("ScrollPane", "s"+i, "Segment "+i);
  4. pane.contentPath = "mcLinkageID"; //the content to scroll
  5. }
  6.  
  7. resizeScrollers();
  8. }
  9.  
  10. function resizeScrollers(){
  11. for (var i=0; i<7; i++){
  12. var pane = my_acc.getChildAt(i);
  13. pane.setSize(pane._parent.width, my_acc.calcContentHeight())
  14.  
  15. }
  16. }

i had to break it up into two separate loops, since the results from my_acc.calcContentHeight() would return a different value after each new segment was added.

 Gugga - A New Flash Framework

  • September 26th, 2006
  • 3:26 pm

I'm not exactly sure if this is in response to Jesse Warden's post calling for it, but we now have a new framework for building sites with Flash. The Gugga Flash Framework appears to be aiming at developers of flash websites, as opposed to applications... ARP or Cairngorm usually are used for that purpose, and implementing them into a normal multipage flash web site is a bit of a shoehorn.

Going over the package structure it seems like there's been a bit of work already put in there. I've downloaded the framework and started playing with it,  I'll post more after I get my hands dirty with it.

 Make your NetConnection Debugger work all the time

  • September 18th, 2006
  • 1:30 pm

I'm probably way behind on this one, but I found this and wanted to share.  I do a lot of remoting work, and was always frustrated by the flakiness of the NetConnection debugger..sometimes it would work, most of the time not. However, I found that if you turn the debugger swf into a projector, it works 100% of the time. On the mac, the swf can be found at /Applications/Macromedia Flash 8/First Run/WindowSWF/NetConnection Debugger.swf.  Just open that and choose File > Create Projector.

 10 Programming Languages You Should Learn Right Now

  • September 17th, 2006
  • 12:04 am

Funny, last week there was a good discussion on Flashcoders about the general lack of solid actionscripters out there despite the fact that the market for Flash is really booming. Then this article on eWeek suggests some programming languages to add to your resume:

By picking the brains of Web developers and IT recruiters, eWEEK selected 10 programming languages that are a bonus for developers to add to their resumes.

They go on to list C and AJAX, but no mention of Actionscript...wow.