Open CD ROM Drive When Click A Button?

Mar 23, 2010

in actionscript, is there a way to open CD ROM Drive when you click a button?

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Button - Open URL On Click?

Nov 22, 2010

Adobe Flash CS4 - ActionScript 2 Right now I have a button with a Up and Over frame. I already found a way to do this task but it gave me some problems so I want to find a more elegant way:I double clicked my button and clicked on either frame and added this code:

Code:
on (release){ getURL("javascript:LightboxDelegate('imgs/Lizart_1_x768.jpg','Scape oil 60x76cm / 24x30 inch')"); }

but it does not work. Where do I have to put this code in order to work?

View 4 Replies

Flex :: Open A New Tab On Button Click?

Jan 17, 2012

I have a tab navigator which contains the 4 tabs Account, Configuration, System and Dashboard. In the Configuration tab there is a button labeled add new config. If the user clicks this button the system tab should open - how to do this?

View 1 Replies

ActionScript 2.0 :: Geturl & CS5 - Open A Pdf On Local Drive?

Jun 9, 2010

In all previous versions of flash I have been able to use "geturl" on a button and pull up a pdf in a local directory on my computer. Now with CS5, the same code pulls up a webpage and actually tries to go to a url. Is there a new way in CS5 to open a pdf on my local drive?

View 5 Replies

ActionScript 3.0 :: Open An External File Onr Hard Drive From Swf And .EXE?

Aug 23, 2007

how to open an external file on your hard drive from your swf and .EXE using AS3? I wana click on a button and basically just open a PDF.

View 11 Replies

Actionscript 3 :: When Click On The Button It Open Local File?

Apr 22, 2010

i have some code that looks like this

function main9Click(event:MouseEvent):void {
var main9URL:URLRequest = new URLRequest("N:ICTNationalsUnit 2PagesCars");
navigateToURL(main9URL, "_self");[code]....

I need to make it open so when you click on that button it opens the file

View 1 Replies

ActionScript 3.0 :: Click A Button To Open A Lightbox Window?

Aug 19, 2010

how to make lightbox window open from flash. I just want to click a button to open a lightbox window.

View 1 Replies

ActionScript 2.0 :: Open The Notepad And Calculator When Click On The Button?

May 5, 2003

Is anyone know how to write the actionscript to open the notepad and calculator when click on the button?

View 12 Replies

ActionScript 3.0 :: Open New Window With Enlarged Image On Button Click

Jan 22, 2010

I just started out using autoscript 3.0. What I want is that when I click a button (with an image inside) it opens a new window with an enlargement of that image. I've already done the following:
1. Create new button
2. Set it's instance nam to appinvent_btn
3. Created new action layer.
4. Set up the following script in actionscript 3.0

appinvent_btn.addEventListener(MouseEvent.MOUSE_DO WN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("???????????????????????????"));
}

View 1 Replies

ActionScript 2.0 :: Make Button That When I Click On It Open Gallery Popup In Separate?

Feb 3, 2009

The problem is that i want to make a button that when i click on it open the gallery AS popup in a separate hrtml page + all the configuration[code]...

View 0 Replies

ActionScript 2.0 :: Create A Button For The User To Click And Then Have A Choice To Save Or Open File?

Jul 28, 2005

I'm developing Flash for a CD.I want to create a button for the user to click and then have a choice to save or open file (like PDF or Word file).

i have the following code:
Code:
myButton.onRelease = function()
{
getURL("abc.doc");
}

I can't see anything wrong with the above. I intend to use the code for a CD ROM.abc.doc will sit on the CD ROM. When I click on the button, it opens a browser window and tries to go to google.com.I had it working the other day.

View 2 Replies

ActionScript 2.0 :: Email Button - ,when Click On The Mail Button An Email Editor Might Be Open?

Aug 4, 2010

i have a flash gallery .In this i need a email button ,when click on the mail button an email editor might be open ( outook ) with the currently selected image as its attachment .

View 3 Replies

Actionscript 3 :: Get Cd/dvd Drive Or Flash Drive Name By In AIR Application(in Windows)

Jun 4, 2011

I am creating an AIR application using flex3 and actionscript3. there, i need to display dir content of cd drive/usb drive entered by user. how can i get cd/dvd drive name by actionscript3

View 1 Replies

ActionScript 3.0 :: Click To Open Menu Then Click To Close?

Sep 28, 2011

I've got a drop down menu. I want to click a tab to make it drop then, if it's open, click it again to close. I've tried a million variations on the script below:

var btn_grp1:String
function main1Down(event:MouseEvent):void {
if (btn_grp1 != "dwn") {

[Code]....

This works too (once). So the drop down buttons all disapear again, but it won't re-set. The drop down menu stays up from then on.

BTW i'm not set on this method, it just seemed the most obvious i.e. if menu hidden, then show it, set some variable to down (showing), else hide the menu, set var to up (hidden). Not working though.

View 2 Replies

ActionScript 2.0 :: Get The Button Work In A CDROM DRIVE

Sep 1, 2004

I have made a simple flash animation on a CD. I assign to a boutton :

on (release) {
getURL("D:/de/location/pladja_daro/index_de.htm", "new window");
}

to open a file.html

the problem is the letter D of the CD-Rom drive. ( if someone has its CDROM called (F) the file won't be found on the CD !! )

I tried :

on (release) {
getURL("/de/location/pladja_daro/index_de.htm", "new window");
}

but the result is the same.

how can I get the boutton work in a CDROM DRIVE whatever may be its name?

View 2 Replies

ActionScript 2.0 :: Make A Button Get A File On Hard Drive Or CD

Feb 23, 2006

I know how to program a button to get a URL loaded:

[Code]...

But how would I tell the button to do the same thing for a file located on the hard drive? I want the file to load in the web browser, but I am making a presentation CD and I want it to grab a file off the CD as opposed the internet in case the person viewing the CD does not have internet access. keeping the file path structure similar on the server this should work on the CD as well as the server, correct?

View 2 Replies

ActionScript 1/2 :: Click A Button On 2 Different Ways Shift Click Or Ctrl Click?

May 12, 2010

Lets say i have a button on frame 1. And if you press it normal, you ll get to frame 2. But then if you click it on another way, you ll get to frame 3. How do i do that easy?! With another way i mean like shift click or ctrl click or is it an easier way?

View 3 Replies

Closing And Open On Click?

Jun 29, 2009

I want to make a website and for the navigation when you click a button, I want the window that is open to fade out and than have the window open that you just clicked on fade in (using flash cs4)

View 21 Replies

Flex :: DropDownList Doesn't Always Open On Click?

May 12, 2011

I have an AIR application with 2-3 DropDownLists and a bunch of other controls. The DropDownLists are bound to dataproviders (ArrayCollections) in a central Model singleton. On launch, they all work fine.

However, when I click a button to add new objects to an object in another ArrayCollection in the same Model, the DropDownLists get weird. They still register clicks, and all other controls still work as before, but the dropdowns won't open. Clicking/waiting enough usually opens the dropdown, but if I don't make another selection it still won't open after closing. Making a different selection makes that DropDownList work again, but the others might still refuse to open.

If I open the dropdowns using Ctrl + Down arrow, they work all the time, so it's only the click that doesn't trigger the open correctly. I can work around the problem by calling openDropDown() on the dropdown when clicked, but that doesn't feel right.

I'm using the 4.1 SDK, and the dropdowns are s:DropDownLists. I tried using mx:ComboBoxes instead, but got the same behavior. Edit: Weirdly enough, using s:ComboBoxes they work as they should, but I really don't want to use them since they seemingly can't be made non-editable.

View 2 Replies

ActionScript 2.0 :: Click To Open Swf In Flash Player?

Nov 23, 2010

I have a video (AS2 swf) that navigates to a preset web page after it reaches "stop", but I can't figure out how to play the swf file from another web page. Help needed with HTML (or other usueable script) for the following task:

1. Click on a graphic image on web page which will then

2. Play the swf file located on a different web site with Flash Player

View 1 Replies

ActionScript 2.0 :: GetURL - Open Two URLs From One Click?

Jul 16, 2005

having a button open two URLs from one click? How would I modify this to make it work?

[Code]...

View 2 Replies

ActionScript 2.0 :: [FMX] - When Click On A Pic It Resizes The First Window That Was Open?

Sep 18, 2003

This is the code I have....

on (release) {
getURL ("javascript:NewWindow=window.open('http://www.enarde.com/popups/3D/3DRed.htm','newWin1','width=511,height=448,left=0, top=0,toolbar=No,location=No,scrollbars=No,status= Yes,resizable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}

Everything works, its fine...in my flash movie you would click on a icon to see the pic in a new window...okay that works...but i want the user to be able to click on another pic and have the last window they open resize to the size of the pic...Its not doing that...it does open the pic in the same window but not resized...it stays the same size as the first pic they clicked on...what i have done was for every pic i would change newWin1 to newWin2 and so on...but that just opens it in another window.So is there a way that i can make it so when i click on a pic it resizes the first window that was open?

View 2 Replies

ActionScript 3.0 :: Click HTML Link To Open SWF?

Jul 12, 2010

Is this possible? Do I have to use JavaScript? 1) If I have 20 html links on a site, what if I wanted each link to open up a new SWF movie? 2) If 1 is possible, could I then go further and not just open an SWF, but open it and issue a command?

View 3 Replies

ActionScript 3.0 :: Click On The First Button Loads Ok But When Click On Second Still Showing The First Movie Clip In The Back

Dec 14, 2011

I have read all threads and can not find a solution but i am not somebody with a lots of knowledge about actionscript so here is my problem i am using this script .

[code]....

the problem is that when i click on the first button loads ok but when click on second still showing the first movie clip in the back ,,,,, i have try everything without luck ,,,, i guess i need to keep reading but will like to find an answer to this situation ,

View 3 Replies

Actionscript 3.0 :: If Function - When Click On The Button Takes To Another Page Without Showing The Click Animation

Sep 11, 2010

I created a movieclip animation that only activates when i rollover the movieclip button. I further extended the frames and created another frame animation that i active only when user clicks the button. So i have a roll over/out animation and click animation in the same movieclip in the same layer. Now the problem is that when i click on the button, its supposed to take me to another page, and it does, unfortunately without the click animation. That means after i click on the button its supposed to first finish the click animation and then go to another page. But when i click, it takes me to another page without showing the click animation

SO I tried the If function, but i seem to make a mistake somewhere and i dont know what to do. Now there is no error in script, but onw there is a problem in link, the button finishes the click animation but it does not go to the tarrgeted"about" frame. here's the code

[Code]...

View 1 Replies

Flex :: Menu Control - Click A Button And A Menu Is Displayed. Click That Button A Second Time And Hide That Menu?

Jun 20, 2010

Basically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.

How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:

<mx:Script>
<![CDATA[
// Import the Menu control.
import mx.controls.Menu;

[code]....

View 1 Replies

ActionScript 2.0 :: CS3 Movieclip Button - Click To Play, Click To Stop?

Jun 21, 2010

I am building a flash interface and I would like a menu where it is hidden to begin with (just a tab). You click the tab to expand it, and click again to collapse it. I've made a movieclip with animation of the menu opening up and closing, but I can't seem to work out how I'd go about making the movieclip open and close properly.

View 4 Replies

Actionscript 2.0 :: Counter Click Button That Can Storage Every Click On A Txt File?

May 18, 2011

I need a counter click button that can storage every click on a txt file or something..

View 1 Replies

IDE :: Click A Thumbnail To Open A File In The Root Directory?

May 25, 2010

iam using a template, i designed everything alright but need to know how to click a thumbnail to open a file in the root directory.The XML file for the thumbnails looks like this currently and everything in the flash movie work and the explorer window opens to he link:

<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="ms.jpg" url="http://www.myspace.com/XXXX" [code]...

but instead of a URL I want a file to be opened (a mp3 or wmv or swf or exe) in its own window or default player...What is the code i would use? A similar flash template would be this http:[url]....but when you click each of the thumbnails, i want 1 to open a mp3, one ar flash movie etc

View 1 Replies

ActionScript 1/2 :: Click Button To Play And Click To Reverse?

Nov 12, 2009

I have a test button i would like to have play a movie where a graphic expands. Once stopped, I would like to be able to click that same button and have the graphic go backwards. I would prefer to have timeline reverse, rather than lengthen the timeline of the mc because then i have to line up the start and end, and if one changes, i have to remember to change the other.

btn_test.onRelease = function(){  if (_root.adinstance._currentframe != 1) {  while(_root.adinstance._currentframe != 1) {  _root.adinstance.prevFrame();  else {    _root.adinstance.play();  }}

[code].....

View 3 Replies







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