Flash :: FlashDevelop And Compile A Theme Using FD 3 Or 4?
Jul 22, 2011How 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 RepliesHow 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 RepliesHow to compile Flex theme SWC from file.css and additional skin classes in Flash Builder 4?
I've tried creating simple Flex Library project but it does not seem to use CSS file because resulting SWC does not work as theme.
flash builder 4 comes with a couple of cool spark themes, and there are tons of others out there on the web, I want to be able to change the theme at runtime, without recompiling.
View 1 RepliesHere's what works with ant build.xml:
[Code]...
I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:
I'm using Flash Develop to build an as3 application using the Flex compiler. In the constructor of a particular class I have written the following code
Code:
//constructor
public function Test(par1:int, arr:/*int*/Array = [1, 2]){ <----- compiler shows error here
[code].....
There is probably no way for this but does anyone know a method of excluding certain functions from a build by use of a meta tag and or compiler option?I want to expose some functions for testing but not have them bloat the application on production. I could create separate testing classes and test for a complier directive or option and only load them if necessary but I like the idea of having the test function on the actual object (in the class).
View 2 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 RepliesIs possible to have the posts loaded into an swf using the wordpress framework? i mean, i want to write a post using the wordpress wp-admin interface and then see the result in a swf... I know that if i access using a php pipe the mysql server i can retrive the posts, but as i said i want to use the facebook framework.
View 1 RepliesI am looking for a way to dynamically load a theme in flash. I want to change the look of the swf based on the passed url. I can get the data from the url I just don't know if there is an easy way to dynamically change the theme other than just creating several swf files and choosing which one to load.
View 1 RepliesAs you know, Adobe added a new theme called Spark in Flash Builder 4, but it looks really ugly to me. The problem is that I can't switch the current theme to Halo![code]When I switched button declaration from <s:Button> to <mx:Button> then my button began to look much better. But I can't switch all such declarations manually, and I don't imagine making the same change to the Application tag would apply the style at an application level.So, my big question: How can I make Flash Builder 4 use the same theme as in Flash Builder 3? How can I apply it to all new controls?
View 2 RepliesI am trying to make a flash theme for my website. Lets start off by saying I downloaded a theme already made I just gotta edit the text. What I want to know is how I can edit the destination of the flash buttons they are set to move across the page on a marquee. I am able to find the individual file but when I try putting in
Code:
on(release){
getURL("[URL]", "_blank");
}
It responds Cannot Make this change cause mouse settings can only be done to a button. I understand I have to switch it to Action - Button.
Is it possible to change color and theme style of flashpaper when we load it in Flash?It's color is not good for my project... How can I change it's color from halo green to something else
View 2 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].....
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?
i 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 Repliesim kinda confuse why people use flash cs5 and some are using flex, flashdevelopl and etc..
View 3 RepliesSomeone sent me a .fla file containing several art assets, with instances all configured to be displayed properly and in the right positions. However, since I'm using FlashDevelop with the Flex 4 SDK, I have no idea how to access these instances in code. Some of the objects are MovieClips that I need to modify the size of, and others are Dynamic Text objects that I need to change the display strings of at runtime.
View 2 RepliesI can't set my custom theme in Maven like I do it in Eclipse by changing theme in project properties.
I note the theme swc in dependencies, the compiler founds it but the theme doesn't change.
Who knows how can I set a custom theme in Maven?
When compiling using flexmojos I get the warning:[WARNING] No themes are explicitly defined in the section or in any scope="theme" dependencies. Flexmojos is now attempting to figure out which themes to include. (to avoid this warning you should explicitly state your theme dependencies)[WARNING] Adding spark.css theme because spark.swc was included as a dependency.[code]But I just get an [code] must be one of [compile, runtime, system] but is 'theme'.I just want to use the standard Spark theme.
View 2 RepliesCan anyone offer a clue as to why flashdevelop would compile to a smaller swf than Flash Builder?The FD swf is 150k, FB swf is 220k.I'm exporting as a release build in FB.
View 1 RepliesI wana apply theme on UIScrollbar according to my design theme but i m unable to do that.
View 3 RepliesWhen I choose the default theme (Spark Default) in a Flex 4 app, I can merely change the chromeColor value and the theme will effectively change the base color of the theme for me. Are there any special tricks to creating a new theme that uses this same concept? What if the new theme is a more graphical theme? I'd like to offer a number of base themes for my application, each theme having it's own set of color variants.
View 2 Replies