As3 :: Flash - Can't Find The Publish(or Export) Button On FlashDevelop App
Jan 28, 2012i recently switched from cs5.5 to FlashDevelop and i have trouble publishing my app (as3)how do i publish my app to an swf file?
View 1 Repliesi recently switched from cs5.5 to FlashDevelop and i have trouble publishing my app (as3)how do i publish my app to an swf file?
View 1 RepliesI am trying to export the button symbol from Flash and publish swc file for Flex.I have successfully export 3 buttons which are playBtn, stopBtn, pauseBtn from flash and add swc file to my flex actionscript files.my code is:
private var stopBt:stopBtn;
private var playBt:playBtn;
private var pauseBt:pauseBtn;
private var mutebt:muteBtn // no such datatype.....
error message....an internal build error has occurred, right click for more information.Since I add swc from flash in flex, I don't have to import these button...However, when I tried to create 1 more button (muteBtn) in flash and did the same thing again in flex, it gave me "an internal build error has occurred, right click for more information" error.When I created a var and tried to type :, there are no muteBtn datatype pop up.... I have spent 2 hours on this crazy crap and don't know WTF is going on.
Whenever, I create a project in CS4 and publish or export the movie none of the code works! Yet the same code works when I create the project in CS3 and export it.
View 2 RepliesPreviously, using Flash CS3 Professional, I would import a .M4V file (shared via iMovie) and go through the import wizard/assistant to give it a playback skin and ultimately publish an HTML, SWF, FLV, and the JS/SWF files for playback. Uploading these five files to our servers (or any server) would allow anyone to view these videos by accessing the HTML page.
Now, using Flash CS4, the import process is a bit different and the FLV conversion doesn't occur. Upon publish there is also no .JS file and instead of the .FLV file, there is the original movie file (.M4V). In the library pane, there is a FLVPlayback item. When accessing the HTML file as it resides on my desktop (or anyone's desktop inside the folder with all the other items), the SWF finds and plays the video file without any issues. Comes right up. However, the instant all files are moved (again, in the same folder) onto a server for access via the web, the SWF file can not find the video file.
I have even created a duplicate of the project with encoding the M4V file into an FLV and importing that file into the FLA document; publishing that and uploading to the same exact results.
What step has been added/removed that I am missing to make these files import simply, convert appropriately and publish wholely so they may be viewed as they once were on the web?
I just installed flashdevelop and downloaded a sample project source at the bottom of this link. I open it up in flashdevelop and when I go to run it, I get an error saying I have to set the field: path to Flash IDE. I'm confused, why is the IDE asking me for the path to the IDE?
View 1 RepliesSo I got this AS3 game thats completely written in Flex without the .fla file and I want to put a clickable button that links back to a webpage to the mainmenu screen.
In the IDE and AS2(which is what I usually work in), it was just simply:
Drag button onto the screen Convert it into a button symbol and then do this:
Code:
on(release)
{
getURL("http://www.urlhere.com",_blank);
}
[Code].....
am trying to export/publish a swf of a dress up game I made so I can put it in Dreamweaver and upload it to my site but I keep getting this error message:"Error Creating Flash Movie File: Be sure the destination file is not locked or on a locked drive. Also, check that the file name is not too long".I am also unable to test the movie, it gives me the same error message.
View 3 RepliesI'm having trouble using the following tutorial and flashdevelop template to build a flash project for iOS. [URL] Whenever I compile my project (using FlashDevelop 3.3.4) I get an error from adl.exe saying "Error loading initial content". Using the iOS applicationpackager.bat, I get an error saying: application.xml: error 305: Intial window content SWF version 11 exceeds namespace version [URL]I'm using air 2.7 and Flex 4.5.1 on Windows XP.
View 1 RepliesI'm completely new to ActionScript (as well as brand new to this forum). I'm using FlashDevelop and Flixel to attempt to make games.
The error code I'm getting is: "Call to a possibly undefined method addEventListener through a reference with static type QuitButton." I have an image, quit.png, that I want to use as a Quit button. When clicked on, I'd like the game to go back to the MenuState. I have the image embedded in QuitButton.as, and MenuState is MenuState.as. The actual button appears in PlayState.as. Here is QuitButton.as, as this is where the problem lies:
[Code]...
I have done some intense googling to try to find a solution, which I'd assume is obvious since I've only just started with flash and I'm not programming anything too difficult yet.
I'm currently playing with a flash template to put my site info in it. I can figure out how to edit the buttons.Are there any tricks to know how to find each button and edit them.
View 4 RepliesAm working on a website and just doing the final tests and evrything works apart from in internet explorer 7 when i click on the hyperlink( flash button) it says it can't find the url, which doen't make any sense as it works fine using mozilla.
View 1 RepliesI have a button that I cant link. This was the correct code for the movieclip.
Code:
MovieClip(this.parent).tint_mc.gotoAndPlay("on");
Only now I have a button inside a movieclip. And Flash cant find my button from the mainstage. I tried
Code:
Button(this.parent).fac_btn.addEventListener(MouseEvent.CLICK,link);
I have created a flash intro for my website. I have (2) buttons (1) Skip Intro (1) Volume.When I publish to HTML both button are not seen.
View 3 RepliesIve made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php. This is working fine when I preview the movie as Flash. The php script prints the variables as intended.
But when I preview it as html the arrays are all empty...
[AS]
on (release) {
number_of_attr1 = main._currentframe + 1;
suggestions1 = new Array();
[Code].....
Is there a way or some kind of magical button that lets you find all code in any frame in your time line or flash file? CS4
View 1 RepliesI upgrade Web Premium from CS5 to CS5.5. I have a big problem with publishing for mobile devices.When I am in Publishing settings I cany see buttons :OK, Cancel and the most important Publish. For OK I ken press Enter, for Cancel Esc, but it looks there isn't any key, which can be pressed as Publish. I am Mac user. My version of Adobe software is Polish. I tried reinstall all Web Premium, but it ist't working. What else can I do?
View 3 RepliesI am trying to embed some xml into my application but I get the following error Fault] exception, information=TypeError: Error #1090: XML parser failure: element is malformed.Here is my code.
package
{
import com.objects.EngineApi;[code]................
Trying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything
var vid:FLVPlayback = new FLVPlayback();
var ui:UIComponent = new UIComponent();
this.addChild( ui );
[Code]....
is there a way to format/beautify actionscript (as3) in flashdevelop? if not are there easy ways to do this without using the Flash IDE.
View 2 RepliesI am trying to load my png file to my application. here is the code
var map:mapLoader = new mapLoader();
map.loadMap("tile.png");
Then here is my file that loads it. it throws the error right when it gets to
loader.load(new URLRequest(currentMap));
if I comment it out. then the error goes away. below is the code in its entirety
package {
import flash.display.Loader;
import flash.net.URLRequest;
[Code].....
How to compile a theme using FD 3 or 4? I have a CSS file with assets and would like to get a SWC file (not SWF) like halo.swc
View 2 RepliesWhile publishing my movies in CS4, I noticed that the javascript required to embed the movie in a web page was published as inline javascript in the published page. This means that code would be downloaded for each page my movie is on. Is it possible to configure Flash CS4 to publish that javascript to a separate .js file, instead of having to manually copy-paste that each time??
If no, I believe that js is independent of the Flash movie (please correct me, if I am wrong). So, can I copy-paste that javascript to an external file just once, and use the js file for all my movies being published??
I'm using Flash to play a RTMP stream to a Wowza server.
I publish my microphone with
m_MicStream.publish ("mic_user1", "live");
Unfortunately, my receiving end only supports AAC audio. Is there a way to publish AAC audio with Flash?
Note : I tried the mp4:mic_user1, but it does not work. The stream negociation seems ok, but the received audio is garbage
For developing Flash / ActionScript packages on Windows, there is no better free tool than FlashDevelop.Unfortunately, its reliance on the .Net framework make it ill-suited for AS3 development on Ubuntu. (My attempts to get it working with Mono failed - the installer wouldn't even work.)Is there a similar tool for use with Ubuntu?
View 2 RepliesI'm making a game in actionscript using the FlashDevelop tool and the FlashPunk game engine. I have a designer making movie clips for me to put into this game using Flash CS3.
My problem is that when I add these movie clips into my game they are playing much quicker than they should. Is there a specific frame rate clips need to be made in within CS3 or any other export options set to enable them to play at the correct speed or is this something that I need to deal with in my code.
EDIT
Another problem that I'm having is that the command movieClip.stop() doesn't work. Is there anything special that needs doing while exporting or the programming side?
EDIT
Here is how I'm loading in my swfs:
public var movieClip:MovieClip = new MovieClip();
private var myLoader:Loader;
public function MyMovieClip(location:String)
{
[Code].....
Whenever I compile my project using FlashDevelop in 'Debug' the Flash Player window remains after I have clicked the 'Stop' button in Flash Develop. I have to then switch over to the flash player, click through any error messages and then close the player, which wastes a lot of time in the long run.Any way to make it so Flash Player closes when I click 'Stop' in the Flash Develop debug tools? EDIT: My setup is a fresh install of Windows 7, a new copy of Flash Develop 4 and Flash Player 10.
View 2 RepliesWhen I type a class name without new before, FlashDevelop does not show autocompleate. Is it a way to enable that feature? (do you have the same issue?)
View 2 RepliesI'm trying to figure out why, when I create a movieclip in flashdevelop, said movieclip always ends up being null.Here is the code I'm trying to use:
import flash.display.MovieClip;
import flash.events.Event;
import flash.display.Sprite;
[code].....
I'm developing a website which will need to communicate with an AIR application, I develop with javascript and don't know much about actionscript. I'm at the early stages of this and I'm using a trial of Adobe Flash to create some swf files which can communicate with javascript, the code from the Action window is as follows (most of it is bastardised from web examples):
import flash.external.ExternalInterface;
var myText:String = "Example String";
ExternalInterface.addCallback("sendOutput", sendStaticTextFromAS3);
function sendStaticTextFromAS3():void {
ExternalInterface.call("receiveTextFromAS3", myText);
}
All this is doing is receiving a call from javascript and sending back a string and calling the function which will deal with it (it will become more complex).
My problem is that Flash is going to expire soon, and to future proof the project without having to spend a lot on flash I want to move into FlashDevelop. As I don't need any objects on the stage all I need is to edit actionscript, so FlashDevelop is all I need. I create a new AS3 Project in FlashDevelop and I get given this code:
package
{
import flash.display.Sprite;
import flash.events.Event;
[Code].....
I'm guessing Adobe Flash adds this automatically when compiling the swf so I have no idea where my code is supposed to go, except to add the import flash.external.ExternalInterface; at the top?
Well I have this MC, and I want a user to be able to save that MC to that users PC in either a .gif, or a .jpg. Is this even possible, I looked around the forms here and i didnt find anything. I am really sure this can be done but I dont know how :S.Oh I am using Flash MX 2004 for this as well.
View 3 Replies