ActionScript 2.0 :: Initiating Mailto Command From Projector File
May 27, 2008How to initiate a mailto command from a projector file. Most importantly for windows machines. This is for a cd rom.
View 7 RepliesHow to initiate a mailto command from a projector file. Most importantly for windows machines. This is for a cd rom.
View 7 RepliesHow to execute a "mailto" from a Flash projector? (in a basic .swf I use a navigateToURL() + URLRequest(), but this in projector doesn't work).
View 1 RepliesIs it possible to pass and use command line parameters to Flash projector exe file? I have a SWF which reads few FlashVars. I need to publish that SWF as exe and pass those parameters. An option of publishing it as AIR application and then command line paramaeters is also there.
View 1 RepliesWhere where to find the info to create an autorun command for a mac projector bundle?
View 2 RepliesIs there a way I can access command line parameters from an as3 projector file?
View 3 RepliesI'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex.
View 1 RepliesI am loading contact information from external txt files and everything is functioning, except my email links. The CSS hover effects work, but when clicked an email message will not open and the mouse doesn't turn into the little hand like it typically does over a link. I don't believe I changed my code at all, and these links did work previously, so I have no idea what I've done. And the code needs to be in the txt files, not in flash actionscript (there are lots of contacts I'm entering).
The following is what is in the txt files.
<a href="mailto:someonesemail@email.com">someonesemai l@email.com</a>
i have a code for photo gallery that has previous and next buttons.but i want to sync them with timer.but the problem is that my timer is not starting
var gallery_xml = new XML();
gallery_xml.ignoreWhite = true;
gallery_xml.onLoad = function(success) {
[code]....
I have created a preloader that loads my application (SWF).The problem is that I have a class, with an instance on the stage, but this class is not initiating on runtime and returns null. It happens only with this class and only when the SWF is loaded into another SWF.I have tried to create a timer, and the timer initiates the application just after 1 second. But this doesn't help. Still the class doesn't initiate and the movieClip returns null.
It is driving me crazy, I have searched everywhere and no answer. How can I fix it? Or do you an idea for other way to create a preloader?
how to convert Flash Projector .exe file to a fla file.
View 1 RepliesI'm working on a side scroller that has a character that fires a bullet every time you hit spacebar, the problem I'm having is moving the bullet in the direction the character is facing (left or right).
I have a few of boolean variables to tell me which direction my character is facing: walkingRight | walkingLeft, so if my walkingRight == true, I want the bullet to travel +=10, and walkingLeft == true, bullet -= 10.
The problem is, when I fire facing left, the bullet moves left, but as soon as I turn right, that same bullets starts moving right.
Here is a snippet of AS3 code (Every Frame):
if(gamepad.fire2.isPressed){
// initiate bullet
var bullet = new Bullet();
[Code]....
I'm making a simple game for my course and the menu system is gonna be playable in a sense.It is all in total 2D.What I want to happen is that when the character touches/enters this house movieclip, the text movieclip within it (instructions text that I want to fade in) will play on the relevant frame so that the alpha tween initates. So basically when the character enters the house the text fades in, and when he leaves it fades out.
At the moment all that happens is when he enters the house the text movieclip goes from 0% alpha to 100% alpha in two frames, so from blank to 100%, as if it's not registering the frames of the tween motion. Here's the code, what the hell is going wrong it's driving me mad! I've not put in the code for the keyboard function of moving the character/background as it's most likely irrelevant to the problem.
Code:
function hitFadeInstructions(evt:Event):void{
if(characterBoy_mc.hitTestObject(house_mc)){
house_mc.fadeTextWithin_mc.gotoAndPlay(2);
[code]....
I have 10 buttons each linked to a dynamic text box. 5 integer variables will be passed into swf file (one will be a zero.. which ends the game) When a button is clicked, the first variable is displayed in a text box, when the 2nd button is clicked, the next variable is displayed etc.., until 0 is passed from variables. What action script needs to be initiated to declare the incoming variables and what code is needed on each button to make sure the variables are not repeated?
View 0 RepliesI created the parent .swf file, with buttons that open external .swf files. What I would like to do is save the parent file as .exe and have it open external .exe files.
View 1 RepliesI have two seperate machines I work on. Is it possible to have a true fullscreen? It was possible in as2, but all examples I've seen on this forum haven't worked. I will not be using an accompanying html file, I will be publishing to exe.
View 5 RepliesI have this project that requires opening pdf's in acrobat reader that needs to be burned on a CD ROM as a self contained EXE. So I am designing this in flash with buttons that will open pdf's, then I'm exporting this as a swf and importing that into Director and then exporting it as an exe. Why you ask... it seems when I export the flash file as an exe, it needs flash player installed to open the exe. This project needs to be burned on a cd rom and as a stand alone player that will open pdf's in reader.
So my question; Is there an easier way to do this? and How? 2nd, what is the code to open a pdf file from a flash swf/projector in (A.) Acrobat reader or (B.) explorer.
If someone opens up a projector file on a cd, and I have a website open up on a click for example, can this work? Does it open in their default browser?
View 1 Replieshow to open pdf, swf file in flash 8 projector? i am using exec command which was used earlier in flash 8 but its only working for exe files after keeping the files in folder named fscommand....
View 2 RepliesI am creating a Flash projector to work on a CD for a client to distribute. There has to be a listing of their PDF's in the flash program, that when clicked, will open the actual PDF in a separate window. I found one comment in this site to use "GetURL", but found out it is ONLY for HTML. There was mention of setting up the FSCommand to open another application, such as a PDF file, but how? I have the files in the same directory and tried putting the file name in the "GetURL" (the PDF file), but just freezes when trying to open. Also, is there a way they can drag and drop the PDF files to the desktop, that has the listings of the PDF's and save to the hard drive?
View 5 RepliesI'm building a standalone projector which will be run locally without an internet connection. is it possible to be able to write variables to a text file on the computer?
View 1 RepliesI have been asking a fair number of questions here recently and have been very pleased with the responses, so here is one more for you. Hopefully I can get another solution. :]
I have a flash project acting like a menu and being published as an .exe (projector). In this file, I have a button with the following code:button1.onRelease=function(){fscommand("exec", "openfiles.bat");}
I have an fscommand folder (in the same directory as my flash file) which contains the openfiles.bat, with one line: start myfile.txt
myfile.txt is also located in the fscommand folder. When I simply click on this batch file and run it, the text file opens as it should. However, when I click the button in my flash file, a command prompt window flashes too quickly to see with some sort of error message. It says something about not finding a certain directory and defaulting to the windows directory. I'm assuming it cannot find either my batch file or my text file. I am under the impression that as long as everything is in the fscommand folder it should work properly.
I have a flash projector file (.exe) that I need to add Code Signing to it so it does not say 'Unknown Publisher' in Vista. I read that for CS3 there is no authenticode signing. Was this added in CS4? I just want to check before I go ahead and purchase a 3rd party app like Juggler. Any software to add authenticode signature to a CS4 flash projector file? Jugglor is pretty old (2007) and I would like to know if there are more recent apps to package and sign projector files.
View 8 RepliesThe powers that be have decided a project I'm working on shouldn't go on a website after all, but needs to be on a CD for Windows users instead and of course I only have a couple of days to made the "relevant tweaks" as they call them.It needs to run directly from the CD so I presume AIR isn't a good option.I've got all of it working by publishing to a Windows Projector executable. The bit I'm stuck with is allowing users to click buttons to open various directories which will be on the CD. These are source files for following tutorials from the main part of the CD. I've tried playing around with the various options in the FileReference class (namely browse() and download()), but they seem to be set up for use online only.
View 2 Repliesim using Flash CS4 slide presentation to make a education CD. In the end of the slides i want to open a pdf file.How can i do it? Is it a east way to do it? I publish the project as a projector file. I tested to use GetURL but the file wont open. I have the pdf-filein the same folder as the projector exe-file.
View 1 RepliesI'm using the FileReference to download a file (using a relative path). If I test it on the .swf on the browser it works. If I compile a .exe projector the download doesn't works.
View 1 RepliesI have my swf, and within it is a button, when this button is clicked, would it be possible to load Notepad.exe?I am not looking to turn my swf into a projector file (think this would make it an .exe).If this is not possible from within AS3, are there any libraries anyone knows of which could handle this, or maybe even another solution to getting this done.The main thing is having an swf load a exe, not an exe loading an exe.
View 3 RepliesI have a Flash projector file which I would like to edit with Resource Hacker. I would simply like to change a few of the menu bar items (see below):
Does anyone know if this is legal and will not hinder my ability to freely redistribute the file?
Can I create a "MAC" projector file that can use the shared object commands of the original .fla? It seems the projector does not use the shared object commands on the mac side but does if I create a windows projector. I am looking to create an autorun hybrid (Mac and PC) with shared object functionality.
I am using CS4 on a Mac. Latest OS
I`ve been trying to load a swf file in a windows projector file. However, when I preview the project in the swf format it works perfectly, but if I preview it as a windows projector file, nothign happens. It doens`t load the external swf file.[code]...
View 0 RepliesI know there is a way to make the flash movie play full screen when publishing as a projector? The only method I know of is by adding code to an HTML page, but since this is a projector file that will be played on CD, I'm at loss.
Also, a tad unrelated to the ActionScript forum, but any info on what can be done for the projector file to autorun?