Interactive - When The User Mouses Over The Globe Is Stops Rotating - Button
Jul 9, 2009
I made an interactive rotating globe that shows all the continents (using CS3 and AS3). The globe rotates automatically. When the user mouses over the globe is stops rotating and they can use left/right arrows to rotate it manually to get to a continent. When the mouse rolls over a continent (Australia for instance) it changes color and should be clickable and go to a website but it's not working. It doesn't return any errors. The basic structure of it is this:
[Code]...
View 3 Replies
Similar Posts:
Jan 3, 2011
i've made some buttons that on mouseover shows a larger picture above the button. when the cursor leaves that button though the picture disappears until the user mouses over the button again. is there a way to ensure that the picture stays up until the user mouses over another button (then they would see another image)?
View 9 Replies
Mar 15, 2009
I am trying to get when a user mouses over the button some content shows up and moves with the mouse until that user moves off the button..does anyone know how i can acheive this...
View 13 Replies
Feb 23, 2011
I've got several MC's on the stage set up so that when you Mouse Over one, another MC will popup with more info. However, the MC the pops up overlaps the original MC, so if the user moves their mouse over the popup (while still remaining over the original MC), it makes the popup go into an flickering loop since the roll over/roll off events are triggered over and over again to add/remove/add/remove the popup.
How do I make it so that Flash ignores the popups if the user mouses over them? I only want the popup to disappear if the user mouses off the original MC. So even if they mouse over the popup, the popup stays until the mouse is actually off of the original MC.
EDIT: I had to set mouseEnabled to false along with mouseChildren to false. I only had mouseEnabled turned off...but the MC's inside the popup were still accepting mouse events.
View 0 Replies
Apr 14, 2009
I'm trying to play a sound when a user mouses over text displayed in my SWF, but I don't hear anything. Here is my code:
[Code]....
My code compiles without error. The text displayed on screen is generated from an external AS file.
View 2 Replies
Jun 21, 2009
I've got a globe which I'm adding markers too and then I allow the user to spin the globe by click-dragging it. Actually, the globe and markers don't move, the camera moves around them. Anyways, what I need is to be able to spin the camera around to a markers position when it's clicked on.
Code:
package {
import flash.display.BitmapData;
import flash.display.Loader;
import flash.events.Event;
import flash.events.MouseEvent;
[Code] .....
View 2 Replies
Jan 1, 2007
I have a button that has a controller in order to make it interactive as the user rolls over and out. The button is actually a movie clip, containing a video that simply has a build in and out effect which is triggered by the following:
this.music_bk.onRollOver = function() {
music_bk.gotoAndPlay("_over");
}[code]....
View 7 Replies
Jul 10, 2006
my boss gave me the difficult project. he wants me spin the globe.now i can spin the globe forward and backward. but has one error that the globe cannot play backward continuous when my mouse is move more than 1/2 of stage width.it's should be
forward :: frame 1, 2, 3, 4, ..., 24
backward :: frame 24, 23, 22, 21, ..., 1
no have error when play on frame 1 - frame 23
find the error when play frame 24
it is forward :: frame 1, 2, 3, 4, ..., 24 and not play backward and the problem can found when play until the last frame.here is code
Code:
stop();
//forward
MovieClip.prototype.playForward = function() {[code]........
View 1 Replies
Jun 26, 2006
I have a question regarding creating a master fuction that when called deletes a whole bunch of other functions.To better visualize what I'm explaining below, view this URL: http:[url]... It'll be huge in a browse..r since its just a swf file.
To explain a little further:I downloaded the trial version of the Flash Timer component from FlashLoaded. I needed something that counts down to do a kind of a rotating banner. The best example on the web is ESPN's rotating headline thing halfway down the page. Notice how it switches, yet once something is clicked, it stops rotating? So, with that said, the best and quickest way my novice ActionSript knowledge could muster is to have multiple timers that all count down at different times. Then, once a timer is counted down, it moves the the master movieclip left.Here's the stinker: I can't make it stop rotating once one clicks on a button.I tried something like this:
Code:
function deleteTimers () {
delete.timer1();[code]...
View 3 Replies
Jan 7, 2008
i got a problem with my rotating meter. it works with key press.
Z= 1/4
X = 1/2
C = 3/4
V = 4/4
R = reset the meter to zero. the problem it tat the meter just go haywire when it goes more than 180 degrees rotation. so i cant get it go to 3/4 and beyond. i dunno where i go wrong.
[Code]...
View 2 Replies
Nov 30, 2011
I have made a Car Game using Box2D [in Flash] and I have one remaining bug, which I cannot fix. I added graphics and put them on top of the Box2D body. Everything went as good as expected, but after X rotations the movie clips for the car-wheels, stop spinning. I do something like this wheelSprite.rotation = wheelBody.GetAngle() * 180 / Math.PI. I ran a separate program and I saw that, if you do X.rotation += variable and you increase the variable every frame, after ~30 000 (value of variable) the MovieClip stops rotating, so I reset it to 0 after ~28 000. What do I do? The wheelBody.GetAngle()
View 2 Replies
Oct 5, 2011
When the user clicks a number > the hour dial rotates to point to it.Also some text above the clock with display when this happens.How would I approach doing this using AS 3.0 and maybe tween class?
View 1 Replies
Dec 24, 2011
I've been reading a lot about the benefits of Object Pooling. Found some "tutorials" online, all above my skill level. Can anyone please show me an extremely simple example of an Object Pool. What my game does is creates Ball objects when the user holds down the mouse, stops when user lifts up mouse. I need to store these Ball objects in an array(or Vector), and hit test them with other objects, removing them from the stage when the hit another object. I'd like to create a pool of say 20 of so, created once, and recycle them.
[Code]...
View 1 Replies
Jul 26, 2010
I've created a sphere, and used a texture of Earth to create a rotating planet (using movie material). Is it possible to add buttons or other interactive objects to the material itself that will be clickable?Is there any other method for doing this (for example if I want something to happen when the user clicks on Australia...)
View 5 Replies
Sep 30, 2007
Iam loading 2 mp3s via XML. Play, stop, forward and Volume btns works fine. Wat i want is to loop an mp3 till a user stops it or changes it to the second one.
View 1 Replies
May 5, 2011
On a page with an embedded Flash video (from YouTube in an <iframe/>), is it possible to be notified through JavaScript when the user starts or stops playing a video?
As far as I know, events raised on Flash level are not propagated to the container page, so it is not possible to do that.
View 4 Replies
Nov 12, 2010
Wondering if I can do a form where people would sign up for a date? I have MX 2004 Pro.
View 4 Replies
Jul 2, 2010
I see flash has a save call to do this job, but it requires user interactive.
How to save it automatically?
View 3 Replies
Oct 18, 2009
I have an animation that's heavy and needs to go into the flvPlayback component. It needs to pause automatically and call a sound effect that repeats until the user clicks the play button which is a movie clip that appears via addChild(). It's being loaded by an external swf currently. It works now, just takes a while to load.\
View 0 Replies
Dec 29, 2011
I am trying to create an interactive animation which allows the user to click on objects which then starts a new animation and i'm having trouble with removing the old animation movieclip and adding the new one my code is this:
stop();
var snake:Loader = new Loader();
var box:Loader = new Loader();
var snake2:Loader = new Loader();
[code]....
(its after the box is clicked I want the snake animation to be removed and the 2nd snake animation to be added)now I reckon I dont need the boolean.
View 3 Replies
Apr 24, 2011
Im in my final year of year 12 and need to have a car rotate in flash by either mouse movement or dragging by the user. Ive tried googling and being lower then noob level on adobe flash I have no idea about anything. I have created a car model in 3ds max. It is of high detail and I wanted to keep it that way. An example of what I wanted to create would be [URL]
View 1 Replies
Sep 6, 2009
I have run into a drag and drop issue .I have an item that I would like to drag and drop. Seems simple enough, but I also want to make it that if the user drags the image off the screen, that it stops dragging and returns the image to the center of the screen. What happens now is that it continues dragging and sticks to the cursor if you release outside of the viewable area. The original piece has a lot of other things going on, so I ve created a simple piece with the AS in the timeline that shows only this particular issue.
Code:
var mrT:MC_mrT = new MC_mrT;
addChild(mrT);
mrT.x = stage.stageWidth*.5;[code].............
View 4 Replies
Feb 10, 2010
For my project i am creating a quiz on the Romans. There are only three questions that the user must answer with three possible answers in frames 3,4 and 5.I want to know the code that would help me to allow a Jpeg (an evaluation of the answer given on each frame) to be placed on frame 6 ready for the user to receive feedback for each answer they have given. So when the user selects an answer, the corresponding jpeg to that answer is placed ready on frame 6 for their arrival after they have answered the third question.
View 1 Replies
Mar 19, 2010
I'm making an interactive kind of game, and I want a number of scenes to change once the user has looked at each once.For example, they go into three different scenes. When they finish looking at them all, Flash records this, and then when they look back at each scene again, they've all changed.
View 10 Replies
Feb 3, 2011
change the current movieclip (Which is my mousecursor), into another MC when I click on it.I got a task from my teacher to make a simple paint-program, and what I need is to change the pencil which is there from the start, to the eraser when I click on it.
View 0 Replies
Apr 15, 2012
i want to see if these "build a." flash sites (to support a user customized ordering process) are done using regular flash or Flex?
[Code].....
All of these "walk a user" through a customized ordering process and capture all of their selection and showing them all of their customizations (and ultimately bring them to a final ordering screen). What's going on under the hood on these sites and are built in flash or flex? Is the person creating a separate image for every combination that you could possibly select or is something else happening here?
I still can't figure out if Flex or Flash is better for something like this. (why does adobe make these seemingly basic questions so complicated) Are there any good resource or tutorials for try to build this type of functionality in flash on a website?
View 10 Replies
Jun 15, 2010
I am new to AS3 and trying to figure out how to do something. I want to have a block of text that displays a discrete name as one mouses over several buttons. EG: As one mouses over button 1 the text box displays the text "Button One" and goes blank on RollOut. On rolling over Button 2 that same text box displays "Button Two" etc.
I am a noob and really don't even know what tutorials to search for to do this, 'cause I don't know what to call this function.
View 2 Replies
Oct 16, 2009
I have some movie clips that hold the contents. (ie I have a movie clip to hold my navigation buttons and another to hold the actual content.) I wrote some action script on a separate layer that is outside of the movie clips, the AS adds event listeners and a few simple functions. All my navigational buttons work prefectly, I have a button that I use for email, this works the first the frame is loaded. If I go to another frame (another page of the website), and then go back, the button no longer works, I tested with just using trace("the email button was clicked"); oh, I thought I might add that each page of the website is a different frame, that is inside my content movie clip. my AS looks like this:
stop();
navigation_mc.home_btn.addEventListener(MouseEvent .CLICK, homeClickF);
navigation_mc.rates_btn.addEventListener(MouseEven t.CLICK, ratesClickF);
[code].....
View 3 Replies
Mar 19, 2009
I'm attempting to make a website, using flash with AS3. All of it's going pretty great, I'm somewhat tech savvy with the 3D rendering so alot of the concepts in flash are easy to pick up.
others.. not so much.Okay I don't know the proper setup in flash but I have one layer that has my background. one layer for my buttons. and another for my action script.
In my buttons layer I have a link to a pictures gallery, graphic design, a contact page and then back home button . The problem is, when I click the "contact" button, then click the home button, I can't click the contact button again. It won't work.
Frame 1:
Code:
contact.addEventListener(
MouseEvent.MOUSE_UP,
function(evt:MouseEvent):void {
[Code]......
View 3 Replies
Oct 4, 2010
I have a problem with a dynamic video player that I have created in flash. The video player is "SCORM" compliant so that when the user clicks the "exit" button a class file is called to mark the user complete in an LMS.I have tested the SCORM Code previously and it works with out issue. Usually I have the completion code embedded in an Actions Layer of the movie. This is the first time I have attempted to call the completion status in a class file, I have added a "trace statement" when the movie is tested within flash it runs the trace statement properly, but when uploaded to the LMS environment the course does not complete properly
View 3 Replies