ActionScript 2.0 :: Button That Opens Desktop Icons?
Nov 11, 2010Just wondering how to make a desktop in flash with buttons that link to the corresponding desktop icon.
View 2 RepliesJust wondering how to make a desktop in flash with buttons that link to the corresponding desktop icon.
View 2 RepliesI am trying to create a slider that when changed either adds icons or subtracts icons.Here is what I got:
Code:
package
{
import flash.filters.*;
import flash.ui.*;
[code].....
I have a project using 2 groups of radio buttons. Each group needs its own icon. I can skin the RadioButton Asset, but that affects ALL radio buttons. I guess U need to be able to change the icon property on an instance-by-instance basis.
View 7 RepliesI have the skin below for my buttons:
<?xml version="1.0" encoding="utf-8"?><s:SparkSkin
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
[Code]...
I was wondering how I can add a different image for different buttons which have the same skin.
I have a movie and after the intro the enter button takes me to the next frame (11) and stops. there i have a drop down menu with button instances on each of the drop downs. The drop down is in a movie clip so i am using on (release) {_root.gotoAndPlay("s1"); } on the button instances to take me to root level to say frame 12 and stops. Each button instance has a different frame label to go to, s1, s2 etc - the idea being that back at root level i can have the content of each of the buttons on each of the frame labels (s1 at frame 12 , s2 at frame 13 etc) .... this works fine except the drop down menu in each of these new frames retains the action script on the drop down button instances - this is fine for all the buttons that will take me to another content page at root level - what i dont want is the AS to remain on the button for the page i am currently on - cos if you click on it it takes you back through the intro etc to get to its frame label again .
View 3 Replies[code]I want it to open the site in the same page, not a new one.
View 2 Repliesi have a movie and after the intro the enter button takes me to the next frame (11) and stops. there i have a drop down menu with button instances on each of the drop downs. The drop down is in a movie clip so i am using [code]on the button instances to take me to root level to say frame 12 and stops. Each button instance has a different frame label to go to, s1, s2 etc - the idea being that back at root level i can have the content of each of the buttons on each of the frame labels (s1 at frame 12 , s2 at frame 13 etc) .... this works fine except the drop down menu in each of these new frames retains the action script on the drop down button instances - this is fine for all the buttons that will take me to another content page at root level - what i dont want is the AS to remain on the button for the page i am currently on - cos if you click on it it takes you back through the intro etc to get to its frame label again.as i have been typing this i have thought i am gonna have problems the more "content" frames i have at root level (have only done one content frame so far)say i am on content page 3 (s3, frame 14, if i want to view anything prior to this frame its always gonna go back to the intro and play over again to get to s3 isnt it?
View 1 RepliesI have a movieclip that gets loaded from the menu (addchild) from that movieclip I press a button which makes the loaded movieclip go to frame 15, on that frame the external swf loads. THEN when I press a button after that the button animation just flickers and no reaction when I click it.
View 1 RepliesUsing CS3
AS 2.0
I have a button that when pressed it opens a url in a new window. Works on Safari great, but not in Explorer.
Code...
on (release) {
getURL("http://www.name of website", "_blank");
}
i have another totally newbie question here, sorry everyone, In one of my frames i would like to have a button that opens up a movie clip, but i would like it to do this on a mouse-over action instead of a click, i have tried using the onRollover action, but i can't get it to work, it's got to be a daft mistake i am making but i have spent ages trying to figure it out, and once again i am stumped.
View 3 Repliesi have a sequence of buttons and each button has its own icon. I was wondering if I have to create a Spark skin file for each button in order to assign its icon.
View 1 RepliesI want to add two icons on spark button.I am using button skin.But the icons are not coming properly.
<s:HGroup width="100%">
<s:HGroup id="iconContainer" top="1" bottom="1" left="0" right="0"
horizontalAlign="{iconPosition}" verticalAlign="middle">
<mx:Image id="iconImage" source="{icon}" />
[code]....
I am trying to make a simple button that opens a webpage.This error comes up and I don't know where I'm going wrong...
1061: Call to a possibly undefined method addEventListener through a reference with static type Class.
(it says it's line 6 which I have highlighted in red)
<<my actionscript code is below>>
import flash.events.MouseEvent;var getPage:URLRequest = new URLRequest("http://www.google.com");
//---B Button---\
[code]....
I have a project set up as scenes.In scene 1 there are two buttons visible from the frame 1licking on these takes us to scene 3 or 4. They work fine. I used code snippet "Click to Go to Scene and Play" the action script is on a keyframe on frame 1 as that is the first frame the buttons appear.From frame 120 a third button appears. So on this frame I have actionscript go to and play scene 5.Problem is it goes to scene 3 instead, like the firstbutton. The buttons are not near each other on screen so its not a case of accidentally clicking wrong button.I think maybe I should've set up my project as movie clips within 1 timeline but I'm too far down the scene route now to change it at this stage.the buttons are all invisible so maybe the third button should also be present from frame 1 and just disabled until frame 120?
View 1 Repliesi am trying to make a flash site, and anyway i got some problems i want to make a button that when pressed opens a window (set size of 500 400) what actions should the button have?
View 4 RepliesI have a timer on my main flash document, and a package class that opens a MovieClip on a button click.
I want to stop the timer when the user starts the movieclip and then restart it when they close the movieclip. I don't know how to send information back to the main flash document from the package though.
Calling an object's method from the main flash doc is object.method(); But I need to do the reverse. I know this a low level super easy question, but I cant find the answer. Something like _MainDocument.function(); would be my guess. Or is there a addEventListener(class Deconstructs, doSomethig) ?
I need a back button functionality in my Desktop application in flash, in my app there is lots of page including home page, I am able to go back at one level but how can I do this at number of level, What logic I should implement to maintain the back page at number of level.
View 2 Repliesi would like that my window opens and closes (opens: scale out; closes: scale in) not by clicking on the button but on the window itself.here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
Grtz,Jan the man
here are 3 applications of mine (schuifwindow, scroll and fotoalbum).
schuifwindow www.truevision.be/other/btn_home.flascroll www.truevision.be/other/scroll.flafotoalbum www.truevision.be/other/foto_album.fla only picture one (left up corner) has a X button (i dont want to use this button)
I created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
View 13 RepliesI'm wondering if its possible to have a box open up once clicked.I want to do a enter page with a gift box sitting there, and then once clicked open itself up and page content comes out.Can anyone point me in the right direction? I can show an example of the box I want to use.
View 14 RepliesIm looking to have a combobox dropdown with the name of an operating system along side its logo ie Image -> Red Hat 5 This is my code so far
[Code]....
I'm using this code to play flv [code]...
But I want to hide all icons (Play, Stop, timeline and scroll bar), how can I do that?
In a dropdown how to get icons along with text and once we select any of the index from the dropdown i want that icon also be selected and to be displayed on that dropdown header
View 1 Repliesthere are two icons that become visible when a mc is selected, a small crosshair and a small circle. Sometimes they're in the same place, sometimes not. I understand the small crosshair is the origin, where all transforms originate from, but what's the circle, and what does it mean when the two icons are in different locations?
View 2 RepliesIs there a way so that I can add icons to my swf files? Or can I convert them to .exe and then add icons to them?
View 8 RepliesI want to use a flash file I made as a menu for a website, but when I click a link it opens a new tab rather then navigating to a new page in the same tab. I'm using this [code]...
View 1 RepliesMy swf has a black coloured stage.
But when I open the html page in which the swf is embedded, as a full-screen pop-up window, using javascript, the stage colour of the swf is always grey - not the black I set. This happens with whatever colour I set as the stage colour.
I am building a website and have this URL request within a .swf which is embedded within an html page.var link:URLRequest = new URLRequest ('Profile.html'); As you can see here, it is linking to another page within my website, but this opens in a separate tab in all browsers. Is there a line of code to add which will make sure is opens in the same tab?
View 3 Repliesi have been making some little animated icons and I have gotten stuck on one in particular.I think I have attached an image of it here. What I want to do is start off with a solid red triangle and animate it being sucked or beamed up into the spaceship, as you see in the picture.I want it to look kind of like the triangle is dissolving into little particles which are being sucked into the spaceship
View 4 RepliesHere's my listBox code for a listBox called myList (pretty basic):
var xml:XML;
function onLoaded(e:Event):void {
xml = new XML(e.target.data);
[Code].....
In addition to the text label (to the left of it, actually), I'd like to have a square icon (an image thumbnail) with each row in the list.