Go Back   kirupaForum > Flash > ActionScript 3.0

Reply
 
Thread Tools Display Modes
Old 11-22-2009, 03:58 PM   #1
MattGrannary
Registered User
Issue on a mac when browser is deselected

Hi All,

I'm having a really weird issue happening to my project that I can't seem to find any information about online. The problem is when I'm viewing my project online in a browser (on a mac only) and I go to another application while the browser is still open. It seems that my enter frame event stops and my variables are set to zero.

I'll try to explain the project as quick and simply as I can. I've created a website that is using a 3d carousel created with papervision3D 2. The pages are actually these disco balls that spin around automatically and when one is clicked it spins around to the front position of the carousel then opens to reveal the content pages. When the disco balls are closed the carousel is set to spin automatically at a specified rate and exponentially with the mouse position at a certain point.

The problem I'm experiencing is when the carousel is set to "autoRotate = true" and the enter frame event is firing away setting the degrees for each disco ball and then I deselect the browser by clicking on another application window, all the disco balls in the carousel end up at the front position...

I know this isn't an issue directly with my code because I've tested the site on a pc and tried switching applications and the problem doesn't happen. But when I tested it on Firefox for mac as apposed to Safari the problem does occur.

Please, can anybody help? I'm stumped..

you can view the site in it's current state at http://www.barcelonanights.ca/index2.html
MattGrannary is offline   Reply With Quote

Sponsored Links (Guests Only) - Register | Need Help?
 

Old 11-22-2009, 05:49 PM   #2
0L4F
Registered User
Location The Hague, The Netherlands

Posts 82
Hi MattGrannary,

A weird issue that I've never heard of before, but maybe you can try to trap it with the MOUSE_LEAVE event.
For example: stop rendering papervision frames on MOUSE_LEAVE. Has the benefit of being processor friendly to people who want to check their mail while on your site, etc.

Your site looks great so far, but if I can say one thing: maybe the transitions between sections when clicking on the menu are a bit slow. The animations look great, but could easily be twice as fast and snappy.
0L4F is offline   Reply With Quote
Old 11-22-2009, 06:30 PM   #3
sekasi
[ Fiscal conservatist ]
 
sekasi's Avatar
Location Melbourne + Stockholm

Posts 1,822
Tap in to Event.ACTIVATE / DEACTIVATE.

__________________
* [ Flash portfolio ] http://www.erikhallander.com/
* [ Flash blog ] http://www.erikhallander.com/blog/
* [ Work @ ] http://www.visualjazz.com.au
sekasi is offline   Reply With Quote
Reply

Tags
browser issue, enterframe, papervision3d


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:41 PM.

SUPPORTERS:

kirupa.com's fast and reliable hosting provided by Media Temple. flash components
Creative web apps. Make your own free flash banners and photo slideshows.
Check out the great, high-quality flash extensions. Buy or sell stock flash, video, audio and fonts for as little as 50 cents at FlashDen.

Flash Transition Effects

Flash Effect Tutorials

Digicrafts Components
Flash effects. Art without coding. Upload, publish, deliver. Secure hosting for your professional or academic video, presentations & more. Screencast.com
Streamsolutions Content Delivery Networks Flipping Book - page flip flash component.
Flash-Gallery.com - Get your flash photo gallery (flash component or swf gallery Learn how to advertise on kirupa.com
 

cdn
content delivery network (cdn)

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd. Copyright 2010 - kirupa.com Copyright 2010 - kirupa.com