ActionScript 3.0 :: Object1 Needs To Be Invisible When Someone Opens The Card?

Dec 17, 2011

I have two objects: object1 and object2. Object1 needs to be invisible when someone opens the card. As soon as the person moves the cursor on object2, object1 needs to become visible. When the person moves the cursor away from object2, object1 needs to become invisible again.I don't know how I can make this happen. The things I've tried so far don't seem to work.This is the code I have at the moment.

Code:
//When the cursor is on object2, object1 gets visible
object2.addEventListener(MouseEvent.MOUSE_OVER, visible)

[code]......

View 1 Replies


Similar Posts:


Java :: Print Photo ID Card To A Plastic Card Printer From Website?

Oct 28, 2010

printing directly to a Photo ID Card printer in a web browser?I have a web application that manages user data, photo, and so forth. I'd like to add a Print ID Card feature to it. The web application is a single page javascript application that talks to a RESTful web service via JSON. I'd like to display what the printed card will look like on both the front and back for approval before the user clicks the print button.

Generate front and back JPG or PNG images to print on the server, send them to the client for display and approval, and then somehow send the images to the printer.Use javascript with SVG or Canvas to display the card to print in the UI for approval, then somehow send the SVG/canvas data to the printer.Generate a PDF and print the PDF to the printer.Use Flash to display and print Use a Java applet to display and print Something else?

View 3 Replies

ActionScript 3.0 :: Keep Object1 Visually Ontop Of Object2 And Object3?

Dec 26, 2008

is there a way were I can keep object1 visually ontop of object2 and object3 ,if object 2 and 3 are constantly by removed and added to the stage?

View 5 Replies

ActionScript 2.0 :: Multi Mc At Once - Create A Invisible Mc With In 2 Other Invisible Mc's

Aug 27, 2004

Is it possible to create a invisible mc with in 2 other invisible mc's and if so would there be any complications. Im trying to do something similar and it gets to the second layer but then doesnt want to load the third inv-mc. Like loading an external swf to a container mc then in that same mc have another external load and then another.

View 3 Replies

ActionScript 2.0 :: Box Opens Up Itself?

Oct 11, 2007

I'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 Replies

ActionScript 3.0 :: Link Opens New Tab

Jul 20, 2009

I 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 Replies

Stage Is Grey When Swf Opens In A Pop-up

Mar 16, 2011

My 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.

View 1 Replies

ActionScript 3.0 :: Add Which Will Make Sure Is Opens In The Same Tab?

Jan 26, 2010

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 Replies

Put Some Graphics On Front Of Card?

Dec 3, 2009

I just made my first flash game. A memory game, But I cant figure out how to put some graphics on the front of the card. And make it take the pictures from a image folder. and make it look ok ?

View 1 Replies

ActionScript 2.0 :: [CS3] : GetUrl Opens 3 Different Windows?

Feb 9, 2009

Several windows open when I click a button or I get sent to a non existent [URL]; page. I've made a flash that is supposed to have links in it. But when I click a link I get 3 window boxes that open up. HERE IS A VERSION WHERE 3 LINKS OPEN The download file I've taken out all links except for TRY THIS ? Why it launches so many windows?It seems that its trying to open every page.I've taken out all my links except for the TRY BUTTON.

View 2 Replies

Change Way My Image Viewer Opens?

Apr 30, 2009

[url]...

Currently, it opens to the first image in the set. I think it would be better if it opened to the first page of the thumbnail browser instead, to let people that are clicking on it know that there are more images in the set than just the one. Otherwise, they would have to know to click on the little "additional guides" icon in the lower right corner.

View 1 Replies

Double Clicking Opens Two .swfs?

May 11, 2009

I build a .fla project, and publish a .swf.

If I double click the .swf to play, it opens two .swfs, the one I'm double clicking and one from a previous project.

If I drag the .swf directly to the stand alone Flash Player then no problem, just the one movie.

I could deal with this except now I've sent a client a .swf, and when he double clicks it opens the .swf he clicked on, and one from a previous project I sent that is on his hard drive.

View 3 Replies

ActionScript 2.0 :: Specify The Size Of The New Window When It Opens?

May 21, 2009

I currently have a website that has a photo gallery. The home page has a link to the actual photo gallery. I'm using the (getURL) to open the photo gallery in a new window, however the new window opens up to the same size as the home page. I would like to shrink down the window size of the photo gallery so the user can still see some of the home page behind the new window.

I know javascript can take care of this problem, but I was wondering if there is a way to do it with Flash? I just need to specify the size of the new window when it opens.

View 9 Replies

ActionScript 3.0 :: Swf Opens Random Projector?

Dec 14, 2010

I am having a strange issue. I have many flash projects on this computer. On my current project, when I do a test movie from flash, it plays the swf no problem. When I open the published html file, again, no problem. However, when I double click on the swf from the finder to play it in flash player, flash player opens it, but it also opens some random projector (.app file) that has been previously published from another project. I would have tried trashing flash player prefs, but I can't find them.

OSX 10.6.5
Flash CS4 10.0.2

View 1 Replies

ActionScript 3.0 :: Movie Ends And URL Opens

May 17, 2011

i have an index page (html) that contains an swf and a hyperlink. the hyperlink is set to skip the intro swf and open the main html page. there is no problem there. what i have been trying to find is an event listener that waits till the swf is finished and then goes to the main.html. i found an example that does what i want, but instead of opening a url it uses trace and shows me a message.

import fl.video.VideoEvent;
function showMessage(e:Event):void {
trace("Finished");

[Code].....

View 5 Replies

AS2 :: Disable Button When It Opens A New Frame?

Jul 17, 2009

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

Professional :: Saving In CS4 But Default Opens In CS3?

Jan 29, 2010

I have both CS3 and CS4, I now work only in CS4 with some exceptions. If I open CS4 start a new project then save after working in it the file saves with the cs3 icon. When I doubleclick the file to open it defaults back to opening in CS3.Only way to have files default and open in CS4 is to choose the icon of the CS3 (which is really a CS4 file) and choose open with other, choose the CS4 app and click on it so it opens in CS4 and then only does the icon changes to a cs4 icon.

View 6 Replies

Professional :: Adding A URL To SWF (so That It Opens Webpage Without Pop-up)?

Jun 5, 2010

i have this flash object which i'd like to make linkeable i don't know how to bundle a URL into the SWF to do this.. 'd like to be able click the object and be taken to another webpage, without the other page page opening as a new window or triggering pop-up blockers on peoples browse

View 10 Replies

Flash :: Decompiled Swf But Only Intro Opens?

Apr 4, 2011

I was asked to edit a completed website. I was given the .swf file. I decompiled it using SoThink and converted it to a flash file. When I opened it in Adobe Flash CS4, only the intro portion is viewable in the timeline.

When I test the movie the entire website plays out with no problems. But the timeline only shows the intro/home page. I need to edit other content in the scene.

View 5 Replies

Flex :: Using Fdb On Mac Os Opens In Opera And Not Firefox?

Apr 7, 2011

Is there a way to set the flex debugger (fdb) to automatically open the debuggable swf in firefox instead of Opera?

The app I am starting from works in firefox but not Opera and it does not have to support Opera anyway.

View 1 Replies

ActionScript 2.0 :: External Swf Opens But No Play?

Sep 24, 2009

I load the swf (picture gallery) into an empty MC via AS2, but I only get the image without its functionality.

View 3 Replies

Actionscript 3.0 :: Button That Opens URL In Same Page

Jun 1, 2009

[code]I want it to open the site in the same page, not a new one.

View 2 Replies

ActionScript 2.0 :: Browser Opens Behind Projector

Jul 19, 2006

all my getURLs launch the browsers fine, but if the user allready has a window open, the browser launches behind the projector causing the user to minimize and tab over to the web browser. this only seems to happen on a pc.is there any way to attach something to either the first frame of the flash to close any open browser windows? i know this is a bit of an annoyance for me, as well as many others, from a usablitiy standpoint, but this is the last tweak my client is not budging on.[code]

View 2 Replies

IDE :: Disable Button AS When It Opens A New Frame

Jul 16, 2009

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 [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 Replies

ActionScript 3.0 :: MovieClips Showing When Swf Opens?

Aug 9, 2011

Here's a little something I made from kirupa's very basic tutorial on Classes and Movie Clips. Colorful Circles.

When you see the file you'll see all the circles and back added once and then disappear. I just have two straightforward questions regarding this.

1> Why does it happen?

2> How can I get rid of it?

View 3 Replies

Card Game - Unable To Get Scores To Add

May 20, 2011

I'm having difficulty getting a scoring system on a card game to work properly.

View 2 Replies

Professional :: Flip Card And Drag It Around

Jul 17, 2010

I'm trying to make a basic card game where I can flip the cards and also drag them around. Here's the code for card.as, the file that's controlling my cards.

package{ import flash.display.MovieClip;
import flash.events.MouseEvent;
public class Card extends MovieClip { private var _type:*;
public function Card() { this.buttonMode = true;
this.addEventListener(MouseEvent.CLICK, onClick);
} private function onClick(event:MouseEvent):void { this.play();
} public function setType(type:*):void { _type = type;
loader_mc.addChild(_type); }}}
 
I've been trying to add draggability to the card, but I'm not sure how to do it. Do I need a separate ".as" file to control it? Or, do I build it right into this file? If so, how would I do that? I tried making a separate ".as" file but then my basic card flipping code doesn't work.

View 2 Replies

ActionScript 1/2 :: Random Card Draws

Dec 26, 2010

There's something I'm trying to make but I just can't seem to figure it out. I want to make something that allows a person to build a deck of cards from multiple sets of cards. I also want a button that can be clicked to randomly choose a card from the created deck. For example: lets say there are four sets of thirteen cards (hearts, diamonds, spades, and clubs). The user can select which of the four sets will be included in the deck. Once the sets are chosen the user can click a button and one card will be chosen from the selected sets. What is the best way to handle something like this? Is there a tutorial that explains how to do something like this?

View 3 Replies

AS2 :: Handle Missing Sound Card

Feb 25, 2010

In my AS2 Flash game, I play a number of sound files and wait for the "onSoundComplete" message/function before proceeding.The problem is if there is no sound card in the system (or it is disabled in device manager) - everything acts like it is working (no errors, onLoad handler gets "true") - but the sound never actually gets played, and as such, my event never gets triggered.I had planned on dealing with this by hooking into my sound code, and if I detect no sound card, just kick off a timer to wait a few seconds before manually firing the "onSoundComplete" function.The only problem is that I can't reliably find a way to determine if there is a sound card in the system! AS3 seems to handle this quite nicely by passing back a NULL soundchannel - unfortunately I am stuck in AS2.0

View 1 Replies

Looking For Flash Video Capture Card?

Aug 31, 2010

I would like to do some video capture through flash. Is there a good video capture card I should use? Or will any do?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved