ActionScript 2.0 :: Closes Out SWF, Click-ability Where SWF Was?
Jan 12, 2010
I made a flash clip that has a transparent background to it. I was wondering if there was a way of exiting out of it (the swf, not the browser) when someone presses the exit button I made. I know there is a hide solution but that makes the area behind it not clickable.
I'm sure this is pretty easy but I'm at a loss with this one. I have a DateChooser that I'm using to highlight dates when things are being released. And that's all I want it for. I want to turn off the ability for users to click on anything. I don't see how to have selectable false.
I have code that growsUp and growsDown an object using a rollOver and rollOut.
I want to remove the ability to click on this object whilst it is either growing up or growing down.
Here is my code:
Code: var rewind:Boolean = false; guitarButton.addEventListener(MouseEvent.ROLL_OVER,growUP); guitarButton.addEventListener(MouseEvent.ROLL_OUT,growDown); //on rollOver, makes the Guitar either grow up or down, respectively
Today, I put a video into my website, the only problem is that I'd like to give it a close button (that would close the player, or make it invisible). How could I do that?
In Mac OS X I previously had the ability to export FLV from a variety of sources- QuickTime, MPEG StreamClip, Unexpectedly, the flv export option is now missing. In CS3, there used to be an Adobe QuickTime plugin called "flv.component". That item is no longer installed by CS4.
- The Questions
1) Is it still possible to export FLV from QuickTime, etc.? 2) If possible, which installed file or files provides this capability?
So i got the ability to add a numeric value to an mc down. So every time i pick up a coin with a value attached to it, and place it on a hand mc, it'll trace the value i've assigned. very excited on this aspect. I've been searching around for the ability to have a master value that I set say for example 5.0. When I hit another mc, this function (that i need to find out about) would check the values that are resting on the hand. I could not find the proper syntax. I have a very good idea of where it would go and what it would look like but I'm missing the forumla. Now I've bold/underlined the area that I think the check would be executed. When you hit the checkout button, it would tally the myValue sums that are currently resting on the hand mc. So my thought train is that I'd declare another variable like masterTotal (the value I want the person to match), and the handTotal (what is resting on the hand).
I wonder why i can't seem to be able to apply a decimal value to fontSize in Flex. I have tryid it with flash textfield component, mx label and text but nothing seems to accept a decimal value. fontSize is accepting Number and i can set a decimal value to fonts in Flash so i can't see why this isn't working in Flex?
I need some brilliant Flash experts to weight in on an article we wrote at the advertising agency I work for. We put an article together about the ability for Flash to be indexed by Google and Yahoo. It's a two sided debate between Search Engine Optimization (SEO) guys and Flash guys. SEO is killing Flash right now in the debate.[URL]
In order to improve user experience we want the ability to have an animated movieclip of a turning wheel- and have the ability to drag and drop it anywhere on a defined area
We have built the rotating wheel as a swc file.
How do we do the drag+drop. Examples that I have seen, cater to only dropping of images.
I have a section on a site that my client wants the ability to add her own links within. So basically she wants the ability to content manage that section of the SWF.
I know how to do this using XML but I'm not comfortable presenting it that way to my client. Is their a clean and easy-to-use way for my client to add her own links into the SWF? She has no HTML experience so that's why I'm hoping there's a simple way to allow her to do this. Is it possible to build an HTML page that has 2 input fields and a submit button. The first input field would be for the link name and the second would be for the link path. Then submitting that data would update the SWF file? (I'm sure that I'm over simplying this but I thought I would throw that out there)
I'm trying to give users the ability to download icons from my site. Thus, when the user clicks an icon, I need aim to launch and have that particular icon downloaded for the user to use. I know how to launch aim from Flash, but I'm uncertain how to launch aim and have icons from my sited downloaded directly to the users aim screen name.
I have an app that allows you to save data into a database and gives you the ability to edit that data at a later date. Let's say the user saves "Up to 90% off retail price"
Everything works fine, the % gets saved in the table etc. The problem is when they return to Flash it now reads "Up to 90 off retail price"
All I'm doing is taking the value of the variable and sticking inside a text box, I can't see why Flash is having trouble reading that value into a text box. I am making this data into an html ready textbox.
Code: The % can be in any of the array element values listValues[10], etc.... Property Values Array editedPropertyHighlights = new Array(listValues[10], listValues[11], listValues[12], listValues[13]); // POPULATE TEXTBOX for (i=0; i<editedPropertyHighlights.length; i++) { _root.base_front.display_txt_6.html = true; _root.base_front.display_txt_6.htmlText += "<li>"+editedPropertyHighlights[i]+"</li>"; }
if your using mx why not just take advantage of the ability to load external mp3s. if not you would have to have something like php to send the track name and info to the music player to tell it what to open.
I have a script that uses a webcam as input the problem is my site needs to wait to do stuff untill the security box that allows the webcamera to be used has closed....I looked in the docs
When I have the AS open and try to find a label, the AS window closes and it goes back to the Flash cs5 timeline without executing a find. In order to find anything I have to copy the AS and put it in another text document outside of Flash. What am I doing wrong?
For some reason my flash program closes on me. The strange thing is, it is only 2 MB. I have a good amount of shapehits in it as well. Would that cause it to crash?
For example, Lets say I have a flash swf game, and when users press connect they are assigned a random id that's then put into a mysql table. Then I have other users that connect and then can connect to these random ids. When users click disconnect i have the id taken out of the table that way when other people want to connect they dont get ids that arent active. is it possible that when a window is closed to have it run a php script? so i can get it to clear their user id?
i am using flash 8 and the flash 8 combo box component. I have the components being called into a container movie clip on the _root timeline. I have used this._lockroot = true; so that the combo box will work. When you click the scroll bar on the combo box, it just closes it, making it impossible to scroll.
Can you call a function when the user closes the browser window or navigates away from the page? I'm making a cartoon, and I'm curious how long people watch it before closing the window or navigating away from the page. I could have it, every x seconds, report back the the server, and I can get a rough idea of how long they watched, but if it could report the exact time when the user closed it, I would know exactly.
I need to remove any ability for the visitor to rewind the video, I need a button that will only come up at the end of the video that will be a link to another page.Is this something I would build from scratch? Does anyone know of a way I can satisfy these requirements with an existing player?
I want to display the grid control in Flex ( version 3 . with a marker/(or)icon (which acts like a button) in each colum header of the grid.2. on click of the button i want o popup a textaread to capture some comments.3. on close of the popup i wan to then change th markericon in a way highliting it which would indicate that some comments(footnotes) are present for this column. I am very new to flex looking at the data grid control at this point. I understand that the standard features can be easily plugged in by msxml. Do i need to write some complex action script for above feature listed?
I am looking for some decent tutorial that will explain the correlation between flash and flex (how can I use flex's coding ability with flash's design interface).
I want to be able to add an action script for a button that is able to jump to different frames of a movie and play them in sequence. For example I want to be able to add an action script to a button so that when the button is released I want the movie (animation) to start at frame 10, play till it reaches, frame 20, then immediately jump to frame 30, play to frame 40 and then stop. The Idea is to play different animations in sequence with just one button. Whenever I press the button I don't want to see the animation in frames 1-9 or 11-19. If I can figure out how to do this I will be to have different buttons controlling different sequences of the animation of the movie.
Ive been working on creating a 3d earth using papervision, I got it working however I want to add the ability to zoom in and out using the + and - keys, however I cant seem to get it to work. below is what im using. in the main function: