ActionScript 3.0 :: Making Executable Flash Only Work On CD ROM?
Oct 26, 2010
i have some question here.. Umm i want to put all of my swf and exe files into CD ROM, but i have ever seen that exe flash files can be able run on CD ROM, if i copied that files into my harddisk, that appear alert that "Please use the CD ROM to run this application".. Do you know how to do this?? is there are some script that detect if CDROM then or whatever?..
I'd really like to use this package in Flash as3:[URL]... I've copied the source and saved it as a file called MP3Loop.as. In the same folder I have a .fla with some code in it like this:
var looper:MP3Loop = new MP3Loop(); So far as I can see this should be all I need to have a play with the package, but it doesn't seem to work. Instead I get this error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at MP3Loop/initUI() at MP3Loop() at loop_test_fla::MainTimeline/frame1()
i want when press a button on that flash header the test.php is redirect to another php page without the flash header be reloaded , and i actually made it but with form buttons and ajax ofcourse , so all i need is when the flash button is clicked a javascript function in the test.php work ?? --> here is my try : i passed a url variable from flash to the same page to say which button is pressed through this code
ActionScript Code: var vars:URLVariables=new URLVariables(); var url:URLRequest=new URLRequest("test.php");
I'm trying to use Greensock LoaderMax on a Starling Framework project, but since Starling have a lots of its own class, how I can make it work with other classes that is using the native class?
I'm using InDesign to create an interactive SWF of a document.
For normal Flash projects, I can create an executable (*.exe) file that includes the Flash codec so that the viewer doesn't need to install Flash beforehand.
Can I create something similar for the SWF file created by InDesign?
I'm using CS5 Design Premium. Intermediate knowledge in InDesign, basic in Flash, will likely need clear steps.
How to merge flash site into one executable. Site consists of: index.html images sounds pdfs etc. After clicking on a merged file, index.html is needed to be opened. Adobe AIR might be useful for this, but I can only create setup executable, maybe it is possible to create just executable?
I want to create a custom executable which is similar to the Flash Projector to play swf content. The use case for this is the following: I have Ui components on the swf which exchange messages with my c++ cli executable for sending and receiving events.
I would like to update the swf player that I specify into FDT and what Flash IDE uses to play files, namely from Flash 10 to Flash 11 for Stage3d preview. How does one do this?
I've been trying to find a method of increasing the resolution of an executable that runs off flash. To be specific the program is a game called 'Realm of the mad god' originally a browser game but is now also a free to play steam title, Having browsed through the config files I couldnt find anything talking about resolution and I was wondering if there are any advanced flash features that allow the user to force the application to run a specific resolution.
PS: I don't have the highest hopes but I thought if anybody knew it would be someone from the flash community.
I want to send data generated by a flash module into an external executable in windows. From what I've learnt about interprocess communication, I think it is appropriate to use pipes in this case. I am using Flash professional CS5 and when a 'trace' command is used inactionscript the ouput will be displayed in the output window in flash professional. I think Flash pipes the data into the output window and if so is it possible to obtain the handle to that pipe. Is there a way by which I can write the output from flash player itself when the trace commands are executed or the data generated on an event directly into the buffer of a pipe.
I have developed a small adobe flash application (a parent .exe file which loads several child swf files). I can play it in almost any computer. My question is: Can I install and run the application in Aakash or Ubislate 7+ ?
how I can make a certain code that works on the time line, work when placed inside of a MC? I know my question is too vague but my code is huge and if I post it it's going to be more difficult than if I can just get the logic and change the code my self.
In my current project I need to create a bitmap from the last frame of a video. For this I use: Code: var _vidBitmapData = new BitmapData(video.width, video.height, false, 0x0000ff); _vidBitmapData.draw(video); var bmp:Bitmap=new Bitmap(_vidBitmapData)
This works like a fairy in wonderland if I create the video with dimensions matching the stream: Like Code: video =new Video(1280,800)
However, when I change the Video's size on receiving the onMetaData Event according to the actual streams width and height properties, the capture i get from _vidBitmapData.draw is still in the dimensions of how I created the Video. So if I do Code: video =new Video(10,10) and then private function onMetaData(metadata:Object):void { video.width=metadata.width; video.height=metadata.height; } I get a nice display of the video.
However when doing the Code: var _vidBitmapData = new BitmapData(video.width, video.height, false, 0x0000ff); _vidBitmapData.draw(video); var bmp:Bitmap=new Bitmap(_vidBitmapData) I get a 10 x10 px image....
Flash CS5 on Windows 7 I have a problem with a project I am creating. I have created 3 buttons which when clicked open other movieclips for each button. On each of the movieclips that the buttons send them to, all have a back button to return them back to the original view.
This back button works fine apart from once they are back at the original view, the 3 buttons stop working.
There are enough examples on the internet to learn how to make your own Class, here's an example of what I did, it is saved as a seperate *.as-File:[code]The Idea is that I can add a bunch of descriptions (for multiple persons) to an holder array, which allows me to do more with them.Actionscript has no idea what this "Character" is. Instead I'm getting the Errorcodes
-1046 (Type was not found or was not a compile-time constant: Character)
-1180 (Call to a possibly undefined method Character)
I am creating a Flash header for class and two things need to happen - One, it needs a stop and start button, and 2 it has to be clickable.I have the code for each one and they do work separately, but when I try to apply both, only one will work. Here are the codes that I am using:For Stop and Start
Actionscript Code:
Original - Actionscript Code start_btn.addEventListener(MouseEvent.CLICK, startMove);
[code]....
I have tried reversing them in the actions panel but to no avail.
I've made a game for viceland, and as always when you make a good game, lousy free-game-portals plain steals it and puts it on their site.So now i'm trying to take a few actions to prevent this from happening. One thing is that i'd like the swf to check which domain it's being viewed on. I thought you could check which domain the html/php is on somewhere using SYSTEM.SECURITY or something. But i don't find any.
When I test the site with the preloader.swf file I made for it, it loads, but then some of my button functions do not work in the site. When I test the site fla file everything works fine. I have been trying things out with the preloader code, but not sure what would cause this.
This is my preloader code: var l:Loader = new Loader(); l.contentLoaderInfo.addEventListener(ProgressEvent .PROGRESS, loop); l.contentLoaderInfo.addEventListener(Event.COMPLET E, done); l.load(new URLRequest("sample.swf")); prog_mc.stop(); function loop(eventrogressEvent):void { [Code] .....
Im using the following script in the main timeline frame and I've got many buttons inside the buttons_mc.How do I change this script to make a button which is inside the buttons_mc work with a scrollpane.
so I'm making this tabbed interface, but somehow for my third tab, after i drag and drop stuff that are in it, I can't click on previous tabs (as in they don't do anything anymore). Here's the following code for my third tab:
I'm struggling with getting swfPanels and JSFL files to work. I've tried to get the example on here to work but am having no luck. When it asks to save, I am unable to save the files in the place where it asks to do so, but am putting them in the configuration folder in the Adobe Flash CS5 folder.What do I need to do to make swfPanels and JSFL files to work?