does anyone know the code that allows you to open a PDF document (in Acrobat) from Flash? Is this even possible? Basically, i have 3 PDF docs that need to be launched from a 3 buttons in my swf. I would be able to do it if they wanted to post the PDFs on a webpage, but they actually want to run the swf locally and have it link to documents on their hard drive.
I'm a complete newbie to Actionscript. In Flash I'm building a button that I'd like to open a URL in the same window when clicked. did a Google search and found this:
I can code things fine myself but I've never used anyone elses code components to build something. I need to make a magazine that has a page fli effect and someone pointed me to Rubens flex book component (I'm assuming I can use it with flash). I've downloaded the zip file but I'm not sure how to actually start making my book. Everything is in different folders, because I assume they all are interlinked and are specificied with their paths within their classes.
I'm thinking I need to make a fla and then a document class and link that to the fla. But what do I put in the document class?
I have a flash website at the moment which is my index.html file, i wish to open up a new window and launch a new swf file from this window ( the file will be a new dreamweaver page)[URL]the code i have at present in my main file is:
Code: Select all images.onRelease = function () { getURL("http://www.mydomain.com/images.html/", "_blank");
However, the window is not centered. I know that there is another code introduced by Kirupa which launches a centred pop-up window, but I've already used this code for several files, and was wondering if I could change the code above so that it would open in the centre.
I don't know if this is the right place to post this but... I have a file, which I created on Flash CS5.5 on another computer (I can't have access to that computer anymore) but I forgot at home I have Flash CS5. And now that I want to open it I can't. I was wondering if there is any way to get the actionscript code from the SWF or FLA file. Using a decompiler will work? I'm using a Mac with Lion and I haven't found nothing.
I have this code below and would like to know where and how i would alter it to have the menu reference horizontally and not vertically. I think it has something to do with "SortByVertical" and i changed it to "SortByHorizontal" but this just gave a strange result. I need to do this becuase i will be adding a scrolling text box and using it vertically does not work for the scroll bars.[code]
recommend use firefox or chrome browser,because the IE browser's FPS is low.chinese site, url...if you have interest,you can download my source code,it contain english comment. url...
I work with 3d animation. Im have a problem with a personal website Im doing, I have a link in a button inside a flash movie to open a new window and play a youtube movie:
on (release) { var jscommand:String = "window.open('http://www.youtube.com/v/b0L4XLODhAA&hl=en&fs=1&','win','height=344,width=4 25,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);"); }
This works fine in Firefox but in IE it doesnt work, I then change the /v/ in the youtube link with /p.swf?video_id= and now I have the window open showing the small youtube thumbnail of my video but once a click play, nothing happens, I check it and is not loading anything.
i have to generate a button dynamically... and have to keep a click handler for the same how to write script for clicking buttonim using following code for creating button dynamically
how to write a actionscript code for a button when the button is clicked it should move to the nextframe.
// About and smile1 button scripts stop(); _root.smile1.onPress = function() { if (mouse_over_smile1) {
[code]....
i have given 3 functions as onEnterFrame,onPress,onRelease. i tried all these but didnt get the result.smile1,smile2,smile3 are button instances which are declared on the monie clip.my main thing is i hav a button, when i click on that button it should go the next frame which i have declared in "gotoAndPlay(6)" method.
I have issues with the buttons working from the SWF file which is brought into the main flash site via UILoader.
[Code]...
I gathered that it is most probably due to the fact that I have constructed a button in the improper way.I tried to redo a button but it was the same result.I would like to try to access it through the main timeline. What would be the whole block of code to put a function on the button located inside an external SWF which is called in via a UILoader?
I created a view cart button in PayPal and need to link it to a button in my fla. I know you can do this in AS but I haven't had any luck in my searches. I'm using CS3.[code]
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 .
I'd like to create a button in FlashMX which, when pressed will open a PowerPoint file. I came across a tutorial on how to use the FSCOMMAND "exec" to trigger a batch file which then triggers the PowerPoint file. This however did not work... If I double click on the batch file, the PP file will open as required so it seems to be the command in Flash that's causing a problem.
I'm attempting to have a basic FlashCS4 intro/splash screen for my website, that after finished playing is a button that links to the first page of my site. I have the animation created, I'm just having trouble actually linking it to the page. When I test the movie, I get the error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at splash_fla::MainTimeline/frame66()
Frame 66 being the frame with the button and actionscript on it:
enter_btn.addEventListener(MouseEvent.CLICK,goThere);function goThere(e:MouseEvent) { var request:URLRequest=new URLRequest("*******"); navigateToURL(request);}
I have a button on swf 1 and when clicked I want it to open a mc in swf 2.I am using a code .as file to do this.I have everything set up and it works in swf1 (ie on clicking the button an mc is attached to stage) but I want it to open in swf2.The swf2 needs to be stable by itself as it is a file that is going to be uploaded to a website..
Well what i want to do is a background in an internet source page. You know that ur deskopt background can be a web page right ? well i want to create such a page with dreamweaver which i can do and insert some flash button that i would be able to click on and open my folders such as My Images, My Documents, My computer... not open a file but the folder itself. Ive seen a lot of fscommand and gourl but they dont work cuz one open an internet browser and the other nothing appears. Id'like to know if it is makeable with Flash 8 to click on a button and then my documents appear and even better that you can choose dimmension of the pop-up.If i want to open my documents as an example do i need too have the button and the webpage in my documents?
I need help making a few of my buttons open images, I need the images to basically pop-up full size, and with a click on the image, it goes away. I require some sort of framework script for this
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?
I created an Open button but it all ways comes up with an error. Here is my code: import flash.filesystem.*; import flash.events.Event; import flash.net.FileFilter; open_btn.addEventListener(MouseEvent.MOUSE_DOWN, Open); function Open(event:MouseEvent):void { var fileToOpen:File = new File(); [Code] .....
I have a group of buttons that open a MC similar to opening a new window. Each "new window" has a close button that closes that window and goes back to the main window (the main timeline). The trouble is, the buttons to open the new window only work once. For example, if you click on "The Founders" the window opens then you click "close window" and "The Founders" button no longer works unless you refresh the page. I think it has something to do with the way I've coded the close button, but I'm not sure what exactly.[code]
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?
I created button and opened it and i see no DOWN UP OVER CLICK labeled frames, just frames like in regular MC and its actually works as button if i create frames