Until now, my solution for a disabled button's icon was to have a second, greyscale icon and swap the icons based on the button's enabled value. Obviously this is very hackish.
I'd like to drill down into the button's icon and apply some kind of greyscale filter when the button is disabled and remove the filter when the button is re-enabled. I tried a couple of things, but I don't know enough about Flash graphics to really have a good idea about what to do.
Can anyone give me some pointers? Ideally, I'd like a Flex 3 solution (since most of my apps are still mx/spark mixed), but Flex 4 would be OK too.
basically 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.
I am creating an image gallery and the images change but change right back to the original image. I had it working yesterday but today it doesn't work.
I searched and found the code below which works fine to change the color. What do I do to make the color go back to it's original color on mouseout? pedals.buttonMode = true; pedals.addEventListener(MouseEvent.ROLL_OVER, changeColor); function changeColor(e:MouseEvent):void { var color_transform:ColorTransform=pedals.transform.co lorTransform; color_transform.color=0x004433; pedals.transform.colorTransform=color_transform; }
I've made a video play back (flash FLV) usng media play back components in flash mx 2004. Everything perfectly workng but i want to change the look and feel of the control buttons. I couldn't find any options for the same. Any idea. Is there any other video play back components available .
Am creating a two page document in flash cs4. Each of these 2 page documents have links to a learning resource on a web server.All I want is for the user to be able to navigate to and fro this two page document. Infact, I want to be able to click on a NEXT button to go the the nextpage and PREVIOUS PAGE button to go back to the previous page.
when the video reaches 1 minute, a button appears. is there a way to hide the button again if the user uses the seek bar to go back to the 30 second (or any time before 1 minute) point?
i have my nave bar as my main swf then i load each page as an external swf in a mc container. each button should be marked when you navigate to the respective page. how would i load a current pages icon over the generic one when i navigate to that page then unload it when i navigate to another page?
Q: I am making a web-application for school work. see: [URL] the collors i got working now but when i press the second button to change the view off the shoe i want that the colors change to. Now the colors keep standing. The colors are pictures converted into MC and the works with attachmovie. But with what script can i change the collors so they will change and fit on the shoe? I hope this is a good explanation. :S else i will make a better explenation.
I followed 2 tutorials this far and i have learnt lots of different stuff !
i have a question concerning the 3d carousel :
is it possible to make a 'back button' appear somewhere on the scene after we click on an icon of the carousel ?
i know that clicking on the icon itself sends back to the spinning carousel but it may not seem obvious to people not used to flash the web in general.
I am building a simple image galery. I have all my images side to side on a pictures_mc, a forward and backward button.The buttons work with an as3 that moves the mc accordinglyforward_btn.addEventListener(MouseEvent.CLICK, function(){limits()new Tween (pictures_mc,"x",Strong.easeOut,pictures_mc.x, pictures_mc.x - 500, 1.5, true)})I want the backward button to desapear when it's the first picture and the forward when it's the last. So I tried if and else:
function limits(){ if(pictures_mc.x >= 400){ forward_btn.visible=false
I am using an xml driven photo gallery as part of a site, with the index page on one scene and the gallery on another.i can get the scenes to go forward and back with the GotoAndPlay function, but when i go back from the gallery the xml images are still visible.AS script for xml portion is too long to post in message.
I've made a nav bar using buttons, and have them working just fine for Up, Over, Down, and Hit. (okay, so hit isn't a state, but I'll count it is as the fourth one)Problem is, once clicked on and produces a change in the flash, I want the button to not return to the Up state, but to visually be different so you can tell you are in that section.First problem is I can't for the life of me think of what that state is called. (Makes it hard to search for, and my poor little brain is fried right now.)Second problem is, can I force a button to not go back to up state? (either the over or down state would work fine).Or do I have to detect the click and then make a call to swap out the button file for the relevant section?
I'm italian and I'm creating a CD to presentate a research to my teachers..this is probably a dumb question, but I need to make a 'back' button, similar to a back button on a browser. When people click the button, they get back to the previous scene (or frame: I didn't decide wether dviding the presentation's pages in scenes or frames) they came from.
I'm trying to do my first project using ActionScript in CS4. I need to make a back button that will take the user back to the last "slide" they were on.I went through the effort of creating a back button that I only realized didn't work after I was finished. I had it set up to just go to the previous slide and totally ignored the fact that there are several branching scenarios.
I 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?
the scenerio goes like this. i have use stop(); function to pause at certain frame of my exe. to move forward we can use ctrl enter to do so. how ever how do i go back? is there any short cuts in build in flash for it? Or is there anyways i can assign a key for the back function for my exe?
I'm using simple tell targets and set prop (visibility) to control some mc's on the stage. There is a forwards button and backwards button. Each button controls 5 mc's. The first click on the forward button and everything works okay. After using the back button then going back to forwards button one mc doesn't appear. [code]...
Now, my issue: Is there a way to tell flash that the brower back button has been hit? I am creating an array in a shared object and when the browser back button has been hit, I am wanting it to go back one in the array
The code that u have recommended is not working properly... What i meant is that the function of the back button is to navigate where the users has last viewed the webpages..
I've created a very simple website that uses frames as pages - nothing more. It has 6 frames and six buttons in every one of them for navigation. Now I want to integrate a BACK button - A simple button that will stand on every frame, and that will react on (release) in the way that will take us back to the last frame visited. Example: I start on frame 1. I press button 5 to go to the frame 5. Then, when I hit the back button (the integrated one - not browsers') I want to get back to the frame 1.
I've done some searches on Google and have found some useful information, but nothing to restrictive to AS3. Does anyone have any good references for enabling the back button in AS3?
Im trying to do a history back button in flash. Im finding a bunch of scripts online and none seem to work. Anyone know of one that actually works with flash 8+ and in both firefox, safari, and IE???