ActionScript 2.0 :: Dimming A Button - Make A Few Of The Features Inactive
Aug 15, 2010
I'm working on building a demo for a product at work. I'm working in Flash and want to make a few of the features inactive. I want to do so by having certain buttons "grayed-out" or dimmed. The point being that the viewer can still see that the feature exists, but they cannot click on it because it's only a demo.
View 1 Replies
Similar Posts:
Jan 26, 2007
In my project I have a dynamic text box. You enter you name in the text box and then click the submit button. This then takes your name and puts in on another slide. The only problem is that you can skip this by entering nothing in the text box, then the other dynamic text box calls you "undefined". I was just wondering if there was a way to make the button inactive until the text box has some text in it. I have tried if statements but nothing seems to work.
View 1 Replies
Apr 20, 2007
I have greated an animation which, I want to appear only when the mouse has been inactive for a certain period of time.
View 1 Replies
Mar 19, 2009
How do you make a mouse hide after it's been inactive (say for 3 seconds), then appear again once it's active? I know Mouse.hide(); but I don't know how to check for mouse activity to tell it to run that code, or to tell it to show it again once it's moved.
View 2 Replies
Feb 8, 2012
I have a problem with the script below:On stage are two movieclips for triggering the tween of a third movieclip.There is also a dynamic text saying "text [1] of [5]"The problem is that if I trigger the tween while its already tweening, it will keep changing the count of actualText but not tween corresponding.-Is it possible to deactivate the triggering mcs -Is it possible to make the count of actualText when the tween is done.
//vars
var totalTexts = 5;
var actualText = 1;
var boxStart = 25;
[code]....
View 1 Replies
Jul 25, 2011
I ma having trouble making a button inactive once a particular image is loaded.I have a portfolio section that has images loading in succession with each click of a button (the forward button)i have another button (a backward button that scrolls through the images in reverse in succession wit each click of the backward button, Problem is the button is active even when it scrolls through the images to the first image. I get the following message in the output panel:[code]I want the button to be disabled hen it gets to the first image thus stopping at the first image Or to the able to scroll through the images in reverse indefinitely just like the forward button - able to scroll through the images forward indefinitely.[code]
View 1 Replies
Dec 31, 2009
I've got an infographic I'm working on, and every time I roll over an image (a ring) the alpha goes up to 100, then I roll out and it goes back to 50. That much I'm good with.
Then, I click on each one of them, and a movie clip (built inside of each ring/button) pops up and plays. Fair enough.
I've got a script (ugly, but it works!) that will hide all other buttons while this movie clip is playing. But, when I click to close it, I can't figure out a way to make them reappear. I tried putting visible = true again for all of them, but no dice.
The actionscript for it is right below.
I'm not sure if there's anything I can do to make it modal in AS3 or something like that. Or should I go ahead and set it up in a parent/child kind of way (not too well-versed in that regard.
All the buttons to click on are in the same layer and I'm not sure if making them different layers in Flash would make any difference.
stop();
ring1926.movie1926.visible = false;
// add a rollover to make the inside movieclip appear
[Code].....
View 4 Replies
Apr 11, 2005
I have buttons (transparent) and little mc animations (tweened the good old fashioned way) that play underneath them on onPress.What I want to do is make it so that when you press say "Home" the animation will stay in the "on" position until you click something else, anything else. That is to say, I want to say "This button just got clicked, play the animation, keep it in the "active" state while the user is looking at the page, and play the "inactive" state when the user clicks ANYTHING else."Right now, I've coded each individual button like this:
on(release) {
content.loadMovie("about.swf");
buttonthing.gotoAndPlay ("off");[code]....
View 2 Replies
Oct 17, 2010
Right now I have this to play the song[code]...
But need to add functionality to rewind and fast forward the track and am stuck scratching my head.
View 9 Replies
Oct 22, 2009
I'm now trying to use the new file features in Flash 10 but I'm getting this error when I try something like fileRef.load(); ReferenceError: Error #1069: Property load not found on flash.net.FileReference and there is no default value.
View 3 Replies
Sep 14, 2011
I have started developing a simple app in flash cs5I have an idea which i wish to implement.Could you guys tell me if its possible if so how to do.I have a blog ,when ever there is a new post(images +test) in that blog.Is it possible to view it in good UI within the mob app(developed in flash cs5) can it be done in ASAlso i have an picasa account were my pics are public i would to view it in a small gallery within the app with good UI.
View 1 Replies
Oct 18, 2011
I'm compiling with the SDK 4.5.1 (latest I think) in FlashDevelop, and I have the settings of the project to export for Flash Player 11. I also have set the wmode param to "direct", and my browser flash player is version 11 also.
Is there anything else I should do in order to use the Flash player 11 hardware acceleration features. To be honest... I can not see any difference in my game between flash player 10 or flash player 11...
View 3 Replies
Mar 31, 2011
The problem: I have a .swf file embed on a website. When i'm on the site the flash file works fine looping continously. BUT when i switch tabs for a couple of minutes or then return to the website, the .swf file lags for around 15 to 25 seconds before it starts playing the movie again.
View 3 Replies
Aug 3, 2011
I'm trying to put together a Product Features Application, which allows visitors to our Website to view what their product will look like with add-on products via a simple checklist, and image layering platform. So essentially:
- Visitor see's the main Product (Fireplace) on Website Page- Visitor sees three Lists containing Checkboxes below the main image- Visitor clicks one checkbox from each list, and sees that ADD-ON product added to the main image above (so that they can view what the product will look like). I'm using CS4, and I'm slightly new to Flash.
View 1 Replies
Apr 15, 2012
What are some of the hidden features of MXML? What existing features are not well known but very useful?MXML being used in Flex Framework became quite popular language because Flash Player is something every PC has and Flash Builder and Flash Catalist are quite popular Adobe programs.specify one feature per answer, and read all answers before posting a dupliate.It's not always a great idea to use these hidden features; often times they are surprising and confusing to others reading your code.
View 3 Replies
Jul 22, 2010
I found a lot of interesting info in the 'hidden features of...' series. I am very new to cairngorm . What are some of the hidden features of cairngorm.
View 1 Replies
Jun 11, 2011
I am considering upgrading my copy of Flash Builder to 4.5, and would like a list of the new features in the new version before I commit. I have heard that the ASUnit tests integrate better than previously, and that there are some nice features like quick fixes, is there anything else? Finally, based on your experiences using it, are there any shortcomings to look out for / avoid?
View 1 Replies
Aug 9, 2011
I know how to create a FLV player in FLASH - But how do I add other features in the right click menu when a visitor hovers over the player? Like my own domain name & a toggle full screen and more.
View 2 Replies
Jul 15, 2009
I heard somewhere that the introduction of CS4 released some new AS3 features that Flash CS3 didn't have. I haven't been interested in learning what they were until now. Is this some mistake on my part or did they really release new features?
View 4 Replies
Dec 15, 2010
I'm trying to build a little app that will show a car/motorcycle with various X/Y coordinate points on it. When you hover on those points, some information about that part of the bike/car comes up. Kind of like a feature list. I've seen it done in several places before, but was hoping to find an example of how it's done.
View 2 Replies
Mar 10, 2012
I'm developing an AIR app that is receiving TUIO events from a Framework for a fiducial marker based multitouch table. Until yesterday I was faking the events by mouse to work faster, but then I connected everything to a TUIO simulator and the problems appeared.
The TUIO Simulator is a java app. By dragging markers on the simulator you can send OSC messages that I'm forwarding to my AIR app. The problem is that I'm noticing that when I drag something on the simulator, my AIR app lose the focus, and the AIR framerate suddendly drops. If I drag something on my simulator and I switch super fast to the AIR window, everything goes smooth, so it seems the problem is that if my AIR app is not the active app it's redrawn at a lower framerate (I remember reading something about this, not sure).
So my questions are: am I right about the fact that inactive windows in AIR are redrawn at lower framerate? do you have any workaround to fix it and to allow me to interactive with the java app without my AIR framerate drops?
View 1 Replies
Aug 19, 2007
how Pandora detects when your computer has been inactive for a certain period of time, without even being an active window. I can have it running the background for hours but the moment I walk away from my computer for a half an hour, the music stops.
View 2 Replies
May 28, 2009
I should have saw this coming, there are few mcs and everyone of them has a mask_mc inside, - so that when you click on one of them - animation appears and others mcs become inactive. And so, - they dont. Of course one of them does - the one at the top.
View 2 Replies
Sep 30, 2009
I am loading external swf files into my main file to move between different contents.It all works fine with most of the files except with some.The files that work fine have pictures in different frames in the timeline and the navigation buttons within this swf move between this frames to display a very simple slideshow.The files that don't work, I only made one frame, I've made sure it stops there and then I'm only changing the visibility property of the images to view the different pictures.
This files load fine the first time but if I come out of them and come back, they don't seem to load properly the second time.I have tried making sure that the mc_container in the main movie is unloaded each time before loading a new one into it, but that didn't seem to make any difference.the files that don't work are:
Producing / Carnesky's Ghost train
Solo / Film
Solo / Rupture
Artist Collaborations / The Giant Accordion
View 5 Replies
Jan 17, 2012
I was hoping i could get some assistance. I need to create a survey as an executable file and thought of doing this in flash. There are 4 pages. 1st would have basic info and allows the user to select one of three options.. which will then direct them to the next 3 pages respectively.. eg Option 1 would be page 2, option 2 page 3, option 4 page 4.
My question is can the flash file allow the user to input text data and retain it in the file, also upload an attachment. I suppose the best way i can descibe it would be to think of it along the lines of having a word document.. so if you pretend the word docucment is the "Survey software" file.. then when you open word it has questions and hyperlinks to other pages.. and you can also insert/embed other files into it.. Then when you save and close it, its just a word document which contains other files inside. Am i completely on the wring track of thinking to use Flash to do this?
View 3 Replies
Apr 12, 2012
So there's a lot of great new features supported by Flash Player 11.2, particularly for game development which is great news for myself.
Some reading here. Highlights:
Right-click is enabled now (finally). Much better rendering performance.
This is all wonderful and magical, however I can't work out how to compile to Flash Player 11.2, and can't find much information about it.
In publish settings, this is all I get:
Using Flash CS5.5 Version 11.5.1.349 (latest).
Do I need to wait for CS6 or am I missing something?
View 1 Replies
Jul 21, 2009
I have a movieclip that effectively functions as a button, which we'll call BtnA. When I click it, another movieclip containing the content (CntntA) fades in (this mc is on another layer). Then when I click another button (BtnB) CntntA fades out and CntntB fades in. I've got all this working fine for now, but the problem I have is that once BtnA is clicked, it is still clickable and it fades CntntA back in even though it is already active. Is there a way to disable BtnA after CntntA has appeared? So u can still see it, but you cant click it? Obviously I'll need to do this with BtnB and any future buttons I add
View 1 Replies
Oct 30, 2009
how to keep items below my pop-up window (window-component) from remaining active even though my pop-up window is layered above my buttons. I've tried to program my buttons to be inactive but since my buttons are part of an intricate animated navigation system, it seems like a lot of work when there should be an easier fix.
View 7 Replies
Dec 4, 2009
I currently have a site where all of the pages are loaded in a loader names loader1. I have a contact page embedded in the index or main swf file. I wou;d like to make a button that activates the contact page which is atop the site and render all links in the site loader disabled how can i do this? ive tried
ContactButton.onRelease = function () {
ContactPage.play();
loader1.button.prototype.enabled = false;
}
But it doesnt work
View 3 Replies
Aug 6, 2010
I have some movie clips that when moused over, become visible. When clicked the clips are clicked on they tween to center-stage and zoom to fill the extent of my stage. One the zoom completes, I'd like the mouse over effect and function to no longer be active. I've been trying this by just making the mc invisible at scaleX>1. This does not do the trick...
if (allthings.NEZOOM.scaleX>1{
allthings.NEZOOM.alpha=0
}
The function that is running the MOUSE_OVER is called NEOVER and looks like this
function NEOVER(e:MouseEvent):void{
TweenLite.to(allview.allthings.NEZOOM, .5, {autoAlpha:.5,overwrite:true});
TweenLite.to(allview.allthings.NETXT, .5, {autoAlpha:.85,overwrite:true});}
Is there a way I could make NEOVER inactive after once I click on the NEZOOM movielip? The click event looks like this
[Code] .....
View 8 Replies