Avatar of liseperu
liseperu

asked on 

cant get on(release) and on(rollover) on same button

hi
i dont seem to be able to put a on(release) on(rollover) action on the same button
only the on(rollover) works

this is my code-----------------------------
on (rollOver)
{
#include "scrolldown.as"
      gotoAndStop("Scene 2",8);
}
on (release)
{      
      user.data.scene = "Scene 2";
      //put the current scene on the array
      backbutton.push([user.data.scene]);
      //increment the array back button position
      bbpos++;
      trace("posistion of array is    " +bbpos);
      trace("this is    "+backbutton[bbpos]);
      trace("________________________");

      _root.gotoAndStop(aRolloverGOTO[arrCount+1]);
}

-------------------------------------
any ideas arrCount is set in the on(rollOver)
thanks
liseperu

ps will increase the poitns to whatever i have left thanks
Adobe Flash

Avatar of undefined
Last Comment
liseperu
Avatar of Member_2_1840827
Member_2_1840827
Flag of Switzerland image

Hi Liz,
Is it okay you send the .fla to me? plz look at my profile for my email.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Member_2_1840827
Member_2_1840827
Flag of Switzerland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of liseperu
liseperu

ASKER

sorry for the delay
thats great works a treat
thanks dude
:)
Adobe Flash
Adobe Flash

Adobe Flash (formerly Macromedia Flash) is a cross-platform multimedia and software platform used to embed animations, video, and interactive applications into web pages and desktop and mobile applications and games. Flash displays text, vector and raster graphics to provide animations, video games and applications. It allows streaming of audio and video, and can capture mouse, keyboard, microphone and camera input. The ActionScript programming language allows creation of interactive animations, video games, web applications, desktop applications and mobile applications.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo