ActionScript 3.0 :: Making A Slide Bar Stay In Position After A Reload

Jul 21, 2010

I am making a widget in AS3, looks like a equalizer.

I'm having the problem when swf reloads, everything will reset. Is there a way to keep this from happening. I was thinking maybe XML.

I am thinking as the user scrubs it is writing the XY coordinate to the xml doc but i dont think that can work because the xml doc would then haft to be saved.

Any thoughts on what key words I need to search for in the net.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Button Stay Active (hovering) While On Current Slide?

Feb 23, 2012

I'm working on a slideshow presentation which cycles through ten slides. It also has ten buttons so that you can go between the slides.My problem is that I want the button to stay hovering while it's on it's specific slide.Right now when you hover over a button it will "rise" and when you mouse off it "lowers" I need the button to stay in the risen position while it's on it's specific slide, then lower when it transitions out and then the next button will rise in it's specific slide.

View 7 Replies

ActionScript 2.0 :: "if The Movieclip Is At Position 3 Stay There - Otherwise JumpTo Position 2"?

Jun 27, 2006

using the following jumpTo script as a guide how do I write an if statement for a function that will basically ask "if the movieclip is at position 3 stay there, otherwise jumpTo position 2"?

Code:
var bg1x = new Array(0, -1280, -1014, 0);
function jumpTobg1X(number) {
gradientNav_mc.newX = bg1x[number];
}

I have tried a bunch of if/else statements but I can't get it working. I can't figure out how to write it properly. I tried something like this:

[Code]...

View 2 Replies

ActionScript 2.0 :: Reload FlV In Same Position?

Apr 19, 2011

I am making my own video player and am adding an SD/HD feature which will basically be moving to a replica page with the relevant definition video on it. I was wondering if it is possible to have it so when this is done, and the new frame loads the FlV will load at the same position as the previous one when the button was pressed?

So like a

ActionScript Code:
currentFrame

but for an Flv?

View 4 Replies

Professional :: Making Buttons That Stay Down

Apr 3, 2012

I have a document which is basically a catalogue page, and I'm trying to make it so that when you click on an image, a movieclip of the image fading in larger appears, so it will look essentially like it's been zoomed in. To do this I put the movieclip inside a button. I have the button working fine, when you click it, it does exactly what it's supposed to, but I have no idea how to set it so that when the button is clicked it stays in the 'down' position, so you don't have to hold the mouse down. And also how to get back to the main screen afterwards, since the movie does take up the entire stage when played. Is it possible to do this?

View 4 Replies

IDE :: Movieclip Making It Stay On Hit Frame?

Aug 25, 2010

Im trying to make these movie clips stay on the hit state when the user clicks. Can someone help me out? This is what I have so far.

View 1 Replies

Professional :: Page : Making Objects Stay?

May 7, 2011

I'm working on a dress up game and I have one problem with it. There are so many items of clothing (which are movie clips with the basic drag and drop code) that I had to create different pages for them. I have buttons (labeled like "dresses", "pants" etc) that when clicked on make that group of items appear. So, great. It's just that once an item has been dragged over to the doll and put in place, I want it to STAY there. But as soon as you click on a different page, that item disappears. Is there any way to make items stay on the doll, even though they're part of a page?

View 1 Replies

ActionScript 2.0 :: How To Get MC Button To Stay In Pressed Position

Jan 24, 2009

Trying o make a moiveclip button (which works fine ) But I'm trying to get the MC to stay in the pressed position when on that page. So basically it stays red when on the page and when another button is clicked it go away. Here is the action script code I'm using that is not working. (as a normal buttons works great)

ActionScript Code:
on(release){
trace("yobutton")
_root.bottomLeft.gotoAndPlay("about");
_root.leftText.gotoAndPlay("about");
this.gotoAndStop("pressed");
[Code] .....

View 2 Replies

ActionScript 2.0 :: Making Animated Buttons Stay Clicked?

Nov 24, 2009

I have a website with a very simple code that gives all the buttons in the menu an animated rollover and rollout state. When the buttons are clicked, I have a movie clip with all the content which goes to a specific frame label depending on which button is clicked. Very simple, no problems there. But what I can't figure out how to do, is to add a variable so that when each button is clicked, it stays in the over state until another button is clicked (at which point I'd like it to go to the out state, while the new button would go to the over state.)I found several examples of codes that do this, but I can't figure out how to modify them so that when a button is clicked, it also goes to a specific frame label in the content movie clip, so that the content for each section can be displayed the same way is in the original version.[code]

View 12 Replies

IDE :: Making Menu Items Slide Up And Down?

Jun 24, 2009

I am just getting to know flash, i am working on my website fully made in flash cs 4 and photoshop.

My problem is that

how can i make a fade out on my menu?

when one of the menu-buttons is clicked a "new wall" is sliding down. how can i make the "new wall" to slide up before a new wall is sliding down?

here is a link to want i have made so far- [URL]

View 3 Replies

ActionScript 3.0 :: Making My Slide Show Repeat Itself?

Feb 26, 2009

I have this slide show on my flash website, i have the slide show then I use buttons to access later scenes on my flash file usinggotoAndStop(), how do I make my slide show repeat itself without it continuing into later content?

View 1 Replies

Making Simple, Random Slide, Slideshow?

Jul 14, 2009

I was wondering how would i go about making a simple application that can be run on a website that can:
-show a opening page that will stay for 5 seconds (for advertisments)

-show random pictures (well they will only be text)

-can change slide by clicking on screen.

View 1 Replies

ActionScript 2.0 :: Making Thumbnail Slide In Flash?

Dec 13, 2009

I have a very simple question about makeing thumbnail slide in flash. The code follows:

[Code]...

I need scrolling the all ["box"+i] movieclips, up and down with mouse position included.

View 1 Replies

ActionScript 2.0 :: Making One Slide Show Like A Site?

Jan 15, 2012

I like to move the four pages according to the name of the top menu items with certain intervals. ( The pages are just images) and like it to use xml to load. When the home page loaded the menu "home" will change its color to red and when the second image is in the frame the second menu item will be red.

View 0 Replies

Making A Photo Slide Show To Load As An External Movie Clip?

May 17, 2010

Making a photo slide show to load as an external movie clip on my site when a button is pushed . Here is a link to the .swf file:[URL]..Basic problem: There is text that describes each set of 6 pictures. After the set of 6 pictures plays through the text is supposed to disappear and a new text appears to label the next set of 6 pictures. Problem is: the text doesn't disappear!

I made all the text layers a symbol/movie clip. I animated each text to disappear at a certain point in the timeline but when I test the movie the texts just remain there and build up one after the other.

When watching the movieclip, pay attention to the text in the lower left screen.

[Code]...

View 1 Replies

ActionScript 2.0 :: Setinterval / UpdateAfterEvent Won't Slide But Only Move To The Final Position Of The Sliding

Oct 14, 2004

I have a "slide" function that slides a MC for let's say 150 px. I call that function every 5 sec with the SetInterval function.

[Code]....

the things is, when i run the function without setInterval, it works perfectly. But when i setInterval and even if i added a updateAfterEvent(), it still won't slide but only move to the final position of the sliding.. So why doesn't it refresh the display??

View 5 Replies

Making The "Hover" Instance Of A Button Stay After Moving Cursor?

Jun 25, 2009

Here is what I am working on. [URL]

I am creating an interactive map. It has little bullets that, when you hover over them, display a short description of the room and a link to another page. What I am trying to do is make it so that the user can hover off of the bullet, and onto the link to the seperate page, without the link and description disappearing because of leaving the bullet's "hit" area.

Do I have to define another hit area for the description and link somehow?

View 18 Replies

ActionScript 2.0 :: Making A Button Stay On The "OVER" State

May 9, 2006

I have this Movie Clip Drop-Down Menu, which has a button inside (Overview) that turns red when you roll over it ... When the Drop-Down Menus sub-buttons are clicked, the movie jumps to a frame labeled "WhoWeAre" or "OurMission"... When it lands on either frame, I want the word "Overview" to remain red, indicating that you are now in that section.

Can actionscript be written so that the "Over" state inside a button remains on once it reaches a new frame? I currently achieved this with a dirty hack, creating an ADDITIONAL menu with just the word "Overview" in red on the "Up" state, but it screws things up and the sub-buttons don't work once I reach either of the new frames for some reason.

I've posted the file at [URL]

View 5 Replies

ActionScript 2.0 :: Get The Vibrating Images To Stay In The Same Position While Vibrating

Feb 6, 2009

How do I get the vibrating images to stay in the same position while vibrating when the Flash loads everytime. Right now, They change position randomly.

[Code]...

View 4 Replies

ActionScript 2.0 :: Math.random - Slide To A New Random X Position When Mc Is Less Than 5 Pixels Away From Its Target

Mar 3, 2004

What I want is for my mc to slide to a new random x position when it is less than 5 pixels away from its target, it keeps doing this. the problem is for some bloody &*�$(()** reason my random numbers only keep going up!! why is this?? i want to produce random numbers between 1 and 770 - this is my code..

[Code]...

View 5 Replies

ActionScript 2.0 :: Making A Variable With X And Y Position?

Feb 12, 2009

I am working on a client who wants a "Game-like" tour of their facilities on their website. I can use flash and do some very basic actionscript ..especially cutting and pasting

At any rate, I have character that moves on the main tour map and he starts in the parking lot...he can go from one screen ( scene ) to another. But when the character returns to the main tour map he always starts at the same location. As opposed to starting where he just came from. Such as if he just went into the "Process Plant" he should start on the main map at the "Proccessing plant" ... Can I set the X Y coordinates in some type of variable that remembers where he came from when he exits another scene and returns to the main map...?

View 6 Replies

ActionScript 3.0 :: Making A Liquid Layout - Define The X Position

Dec 10, 2009

I am pretty new with AS3 . I am making a liquid layout in flash using as3, it worked pretty well with the following code, for the movie clips that are going to be on stage from the very beginning.

[Code]....

as you can see I have defined the variables Width adn Height inside the function as well and I am using WIDTH/2 to define the x position, Well it laods in the exact position but won't float as I minimize the stage

View 2 Replies

IDE :: [Flash 8] Stop Playback On Slide Load (Presentation/Slide Show)?

Oct 27, 2009

I am using currentSlide.gotoNextSlide to change between slides, however I can't make it stop playback on load of each slide.I have a motion tween with I need to NOT play automatically when the slide loads... but no matter how many iterations of stop(), gotoAndStop(), etc I use, nothing will stop the clip from playing when it is loaded!

View 1 Replies

ActionScript 2.0 :: Tween - Playing Slide In And Slide Out Effect

Oct 20, 2009

How could I get a nice tween like this one: [URL] Specifically the now playing slide in and slide out effect.

View 1 Replies

ActionScript 3.0 :: Making A Code That Automatically Writes The Mouse's Current X And Y Position As Text?

Jul 6, 2009

I have trouble making a code that automatically writes the mouse's current x and y position as text every frame.

View 3 Replies

Stopping Flv In A Slide Presentation When Moving To Next Slide

Jul 2, 2009

I am creating a flash slide presentation to use as part of an online portfolio. I have created a presentation that so far has three slides, each containing a flv that I imported and added a skin to.Is there any way to stop the movie on slide one (besides manually) when I move to slide two? I don't care if the mvie returns to the begining or not i just want to beable and view the video on slide two without hearing the sound from slide one.

View 5 Replies

ActionScript 3.0 :: Passing Variables From Slide To Slide?

Feb 2, 2011

this is what I am trying to do:

1st slide: pre test (3 radio buttons)
2nd slide: video
3rd slide: post test (3 radio buttons) - this page has a submit button that calls a .php script
The Pre Questions are setup like this:[code].....

wondering if this is a Global Variable problem? Is there any reason that the "variables" variable would stop populating after the first slide? Obviously, they are getting to the last slide since the submit button is passing them (or is the external file doing it?), but don't know why the post ones are not going.

View 3 Replies

ActionScript 2.0 :: Build A Vertical Slide Scroller Based On A Tutorial For A Horizontal Slide Scroller?

Feb 21, 2004

I am trying to build a vertical slide scroller based on a tutorial for a horizontal slide scroller and am having difficulties undertanding what values I need to change in the code for the slider mc in order to make it work. The horizontal slider is quite smart and there is additonal functionality attached to it to affect it's movement which I'm not too worried about although it would be nice)

Code:
// set up content_mc info
contentRight = _root.content_mc._x;

[code].....

View 3 Replies

ActionScript 3.0 :: Making Spacebar Act As Mouse For Making A Sidescroller?

Feb 8, 2011

For a project, I'm making an interactive side scroller.You move the character with the arrow keys and press the space bar to interact with things.So far, I followed DexNote's tutorial on YouTube.I thought that I would make the interactable objects as buttons, while the mouse focus would be on the character and when you press the space bar it make a mouse click in that area.The trouble I'm having now is that I don't know how to make the space bar trigger the "interactions."

View 1 Replies

ActionScript 3.0 :: Fluid Layout Stop Changing Resize Position When Movieclip Is At Certain Position?

Nov 19, 2009

I added a Menu_mc on my stage. Initially, this should be at the center of the stage and when I click on it, it will tween on the upper left corner of the browser. However, when I resize the browser, the Menu_mc goes back to the center of the screen.

I have tried separating a different actionscript file where it is specifically for initialization of the object and another one for resizing. And then when I call it on my main AS file it goes like this:

Code:
// Add the symbols to stage
var Menu_mc = new Menu_MC();
addChild(Menu_mc);

[code]...

But it seems futile.

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved