Program A Back Button To Different Pages?
Mar 25, 2010I have a page with flash navigation which can be accessed from two different pages. How can I program a back button to return to the relevant page whence the user came?
View 1 RepliesI have a page with flash navigation which can be accessed from two different pages. How can I program a back button to return to the relevant page whence the user came?
View 1 Repliescreating a flip-book in flash (using AS3) . I've looked at the other flip-book programs and editors out there, and none really give the customization that my company wants.I have something working, but the page scoping seems to be off. The pages will turn back and forward with a button click but they flip out of order. However, it all runs fine with no error when the user clicks on the pages themselves. This is the code from the main timeline (where I'm getting an error).
View 6 RepliesIm trying to add an exit button onto my program so when its clicked it exits the program completely.. I've tried some of the suggestions on the forums but they arnt working. what I have been using and its not working..
// CLICK to Exit
exit_Btn.addEventListener("mouseUp", goExit);
function goExit(evt:MouseEvent) {
fscommand("quit");
};
I'm trying to make browser game and I was wondering if this is possible.99% of the game is html/php/mysql but I wanted one little mini game to be in flash.after playing the flash game if you win you get +1 of whatever to your account. So my question is can someone program that cross over of flash back into php?
View 2 RepliesIs it possible for a flash header to play continuously through several html pages without going back to the first frame on each page load?
View 3 Repliesbasically this code will work like a browser back button its very simple but "could end up very long" basically it will act "similiar to the browser back button"
Code:
on (release) {
if(page1 = _currentframe){
_root.gotoAndStop("quiz");
} else if (page0 = _currentframe){
[code]....
it works when the (page1 = _currentframe){ is rotated with the first if statement...because for somereason it seems to not recognise the "else if's"
I have a Flash website with 3 interfaces( 3 frames with movie clips inside). they have a button that goes to different loaded .html page(text). But once the back button is pushed on the web browser, it always goes back to the first frame instead of the actual last page, which might have been frame 2 or 3.
View 1 Repliesi want to know how we can make back button in flash to go back to page same like browser back button.
View 1 RepliesWhat button event should I use to make the program understands to DO SOMETHING only when the button is pressed/dragged. In my sample code below, I want something to happens only if the button is dragged beyond 200 in y axis. I tried onRelease, onRollOver and onDragOver but still not working
[Code]....
The issue is that i want to program a button that shows when i MOUSE_OVER another button, except i can't get it done. I tryed this way:[code]
View 14 RepliesIs there a way to start an unrelated program (such as Window's media player) from inside of a flash program?
View 2 RepliesI'd like to show my print portfolio in different slide shows on Flash CS4 using buttons that correspond to categories such as: brochures, posters, logos, etc. I've made the buttons and I created slide shows in Powerpoint--but if there is a better way in Flash, let me know. How do I code the buttons to play their corresponding slideshows? I don't want them visible until the button is clicked.
View 2 RepliesI'm setting up a new resume website in Flash CS5, and I have created a button so people can click the button to download a copy of my PDF resume, but how to I program the button so it downloads the PDF file?
View 12 Repliesi want to add a restart button to my little program, just want it to run again whenever i click the button "start_mc" after it's previous thread completed. i put the following lines in the beginning of code.
start_mc.addEventListener(MouseEvent.CLICK, startRestart);
function startRestart(event:MouseEvent):void
{
gotoAndPlay(1);
}
unfortunately after the program run end and i click on the button, it doesn't do anything. i wonder what can go wrong with this simple button function. I have another event listener in this program for file loading, is there conflict between them? besides this restart button the program is running ok itself.
Looking for a tutorial to make individual pages (jpg or gif) into swf pages so we can add links in an on-line flip book. I have flash, but have not learned as of yet.
View 2 RepliesI need to program a timer for a typing tutorial program. It needs to go to 5 minutes. When the timer gets to 5 minutes the movie has to go to frame 13 which displays the results of the typing test.
View 1 RepliesI recently purchased KoolMoves flash program. How to add a start and stop button to a movie? I want to use the 3dball movie in my website. I exported it as a flash movie and placed it in my website, but it is autostarting and I don't want it work this way. I got the 3dball movie from the Animation Libraries, Animated Clip Art, in the KoolMoves program.
View 1 Repliesi want to continue my program after user click on a button.
ex: when click on group1 button assign groupVal = 1 and continue the program.
I would like to know how to track my pages with google analytics to see which pages are getting the most clicks. My site is XML / Flash the menu is xml. Could I put the tracking code on each of the menu items in the xml file?
View 7 RepliesI would like to be able to go from an html page by pressing an enter link then go to a 'preLoader' page which would then automatically load the mainPage. Originally my preLoader was the 'index' page for the site and had a button that would start the loading process to the main site which was entirely a Flash site. But I decided to add an html page chock-a-block with searchable text so people looking for the services this site offered could actually find it and make that the 'index' page. Anyway, I would like the preLoader page to start loading the next page automatically with no user events like mouse or keyboard events needed.
View 1 RepliesI am just learning Actionscript 3, and I know what I want to do - I mean, I can see the end result. I am following a Lynda.com tute. F[code]...
View 1 RepliesI am trying to work something out, but I am not really good in scripting so I can't figure out how to write the code properly.The situation is a bit complex:I have one frame labeled "street". From "street" you can enter another page labeled "underground" when you press a button. In "underground" there's a button "exitU_btn" that brings you back to "street".So far this wasn't a problem. Now I have another page labeled "F2016" from which you can enter "underground",too, but this time when pressing "exitU_btn" I don't want it to return to "street" but return to "F2016".Means the button should know the label I am coming from and returning to this one.I started to write a bit code for that with if statements, but don't know how exaxtly to write it.
Code:
var enter2016: Boolean = false;
/*should decide where I am coming from, which label (I guess this is what has to be defined somehow)*/
stop();[code]........
I thought I need a boolean to check if my situation is right, but I don't know how to code it right.
Making buttons that open another url is easy enough, but for some reason I'm having a huge amount of trouble having a navigation button open new content on my website, such as moving from the Home content to the Menu content (the layout is static, only one small section filled with content changes.
I think the issue is that I can't figure out how to code it due to the fact that there are a good amount of nested movie clips, I'm not sure how to direct it to the place and frame I want.
I couldn't quite uplaod the file, so I've got it on filefront here: [URL]
I have a button in the scrollbar that has a mask.(scrollbar_mc, mask and content_mc) Now I stuck with HOW TO LINK IT to other pages that are in scene 1 ?
View 9 RepliesI'm using FileReference to upload PDFs and PHP to email it.Is there any way to find out the number of pages within the PDF using either Flash or PHP?
View 5 RepliesI'm trying to add a back button once I click a main menu button then remove the back button once it is pressed. I get the title error.
[Code]...
I've found an example of this [URl] If you click on the mute button at the top, then navigate to another page, the mute button stays clicked. I have a decompiler, and pulled the code out of it. See below:
[Code]...
I have 3 pages of questions and comments. I want to be able to submit all these values on the last page to some php file then to my email.
When I try to do this, I only receive the 3rd page questions and comments to my email but the first 2 pages nothing
How can I carry these values so on the third page I can submit all values thru one php and then to my email.
This is what on my php
[Code]....
I am trying to make a function that can be used for every button that hange pages. My code is:
function changePage (e:MouseEvent, selectedPage:Number){
trace("The Selected Page is: "+selectedPage)
}
[code].....
Why this is not working?
Each time you go to another page the buttons flash white while having to reload. Is there any way around this?
View 3 Replies