Flash - MXMLC Compiles Without Error But Shows Blank Screen
Feb 3, 2012
I have followed tut here [URL] and compiled with flex3.6 and flex4.6 but running swf gives a blank screen. Same program compiled with FDT 5 [URL] and runs fine. So what's missing in the command line?
Update: command line I used is just
mxmlc "c:flextutorialHelloWorld.as"
The same as in the tutorial above.
It doesn't run either with FlashDevelop [URL]. But why it does with FDT 5 [URL]? My source code:
package {
import flash.display.Sprite;
import flash.text.TextField;
public class HelloWorld extends Sprite {
public function HelloWorld() {
[Code] .....
View 1 Replies
Similar Posts:
Aug 12, 2011
I am working with classic asp and flash. Actually I don't have to develop the flash applications and I only have to make the asp parts. Now I have some problems with flash file.When we put the flash in asp we set the path of plugins : pluginspage="http:[url]......when we upgrade latest version of flash player (10.3.183.5), it works for the most of the flash file in my application but there is one specific flash that doesn't work.It only shows the blank black screen.
View 2 Replies
Feb 6, 2012
I am using ant to build my web application. I have a target in my ant script which takes approximately 8 minutes to compile. Since mxmlc compiles everything from scratch and loads up the JVM each time, it is taking a lot of time. Is there a way to optimize this task?[code]...
View 2 Replies
Mar 2, 2011
I need a way to programmatically record what source files are consumed in an MXMLC compile.Ideally there would be a flag to pass to MXMLC to have it report the complete list of sourc files it is compiling, but there doesn't seem to be such a flag. It seems generally you just pass a main.mxml file to MXMLC and it goes off and compiles everything it needs to without telling you what it's doing. As far as I can tell, you also cannot explicitly list the files for it to compile; it will resolve references automatically and compile referenced sources without any way to control that behavior or report on it.
If the compiler cannot supply this information and a user cannot control this behavior, the only other option I can think of is write my own source code scanner for MXML that will traverse all the references in a code tree to give a report of what MXMLC should be compiling, though that's obviously error prone and certainly not something I'm looking forward to.
View 3 Replies
Nov 9, 2010
I have one action script and one frame that gets the output from the action script. It is a US national debt clock. The action script is something like
[Code]...
Now I don't know but when I do a test movie it shows blank screen and can see nothing It would be very kind of someone to guide me with this. I am very good at PHP so if possible I can do something for you in PHP.
View 1 Replies
Jun 11, 2010
I am making my exe fullscreen using stage.displayState = StageDisplayState.FULL_SCREEN but it shows blank screen. When I press Esc key and back to normal screen everything is fine.
View 1 Replies
Sep 8, 2010
In Internet Explorer 7 and 8 (WinXP/Flash 10), if I play my videos using the JW Player in the slider they work. However if I move to the next slide and then return to the original slide the video is no longer displayed - the audio is still audible and the video can be played and paused, but there is no image.
I've asked this question on [URL], but the support member cannot see this problem on their computer. Does anyone else see this issue, and if so, You can view the slider and video here: [URL]
View 1 Replies
Feb 19, 2009
how to compile actionscript with the mxmlc file? everytime i doubleclick the file to run it, a prompt will show up for a split second then disappear.
View 2 Replies
Mar 15, 2010
I'm trying to make a simple Flash application to be placed on a web site. It is intended to take data from an .xml file and display it in the Flash movie. There are a number of buttons that display different nodes of the .xml file when clicked. (Not all the buttons are functional yet in this code; I know that.)It runs just fine in Flash. It even runs fine when I publish it and then run it by clicking on the html file on my computer.When I upload the html and swf files to my server, the html file works fine (gives me a solid colored background) but the swf is just a white box, nothing in it and no functionality.Something needs to be declared, imported or linked, I think, but I do not know what or how to do it. (Most irritating is the fact that the code is substantially taken from an online tutorial, with nary a word about this issue.)
ar chineseSentence:Array=new Array();
[many other Array vars deleted for space]
var loader:URLLoader = new URLLoader();
[code]......
View 7 Replies
Jun 30, 2010
I have a playlist of flv in my pc (not on web) and when i make then to play to make a blank screen between then, that is very ugly.
How can i make this like a flow playlist to each flv play next to each other with no screen between then?
View 1 Replies
Feb 12, 2011
When I run my very simple script
Code:
var myTextfield:TextField = new TextField ;
myTextfield.width = 300;
myTextfield.height = 100;
addChild(myTextfield);
[Code] .....
It does neatly output the desired text to the screen - BUT it also shows part of my code in the movie, in a way that's just not possible. Here's a screenshot, I know it looks like I manipulated it in PhotoShop or something, but I didn't. The text gets vague after a few lines; that's exactly how it looks on my screen. I've run it several times, and it always looks like this.
View 5 Replies
Jan 20, 2010
It seems like the loading screen (more like frame) is the last thing to load, so you are stuck staring at a blank screen for a while. How can i prioritize how the game loads so that the instant you get on the page the loading screen comes up immediately?
View 5 Replies
Aug 12, 2010
I'm using jwplayer in html tabs in IE with jqery showing and hiding them (via style:hidden;) When I hide a tab in IE and then show it again the plays video area goes blank (you can still hear sound and play/pause the video). Does anyone know why this is happening or have a way to fix it.
[Code]....
View 3 Replies
Aug 2, 2010
I've been adding some components to a Flex 4 app (it was originally Flex 3 but has been ported). Some of these components make the app go blank when it loads. I'm not even able to see the loading progress bar. Just white.
For example, adding
<s:controlBarContent>
<s:Button label="Admin" />
</s:controlBarContent>
To the root tag causes this. I also was able to make it happen when I tried setting a custom components skin from my style sheet instead of from the skinClass property.
View 1 Replies
Sep 17, 2010
I am having a strange problem. When I go to full-screen mode in Flash, everything goes blank. The sound added keeps on playing and everything is fine on coming back
View 1 Replies
Dec 13, 2011
I was editing a very basic mobile Flex project, and after I debugged the master (application) mxml file, Design View stopped working (blank screen displayed, no Design View errors) for all files. Creating new projects, either mobile or else, or testing old, working projects, doesn't work either. Out of the related issues I've found info on, most concern earlier versions of the IDE, and deal with either Design View errors (got none), use of certain functions or custom components (I get the error even on a new project), or are solved by changing styles back-and-forth (tried already, to no avail).
I can't drag and drop components to the design area, either (a "prohibited" symbol appears and nothing happens when I drop); so I'm pretty sure it's not code-related or a bug, but probably something stupid, like a configuration issue, so I definitely need someone to take a fresh look at it.
View 1 Replies
Jul 26, 2007
I've been using Flash for a couple of years now... I use it mostly for designing fashion graphics (!!!). I know that Illustrator is excellent for creating artwork, I export Flash files as AI ones, but encounter numerous errors while opening such files in Illustrator. I think the problem is with the Color settings. Flash uses RGB, and CMYK is Illustrator's default settings. When I try to export a graphic symbol (with layers, groups of objects and simple shapes) from Flash Professional as an AI file, it always exports as Illustrator 6.0 version (wonder why)...
Then I try to open this file in Illustrator CS2 and always get a "BG" error message which is similar to this one:
Can't open illustration. The illustration doesn't have the correct number of operands for an operator.
Offending operator: "Bg"
Contex:
Bb
0000 Bh
1.0.0.000819.20.....etc. (lots of figures)...Bg
So after getting such a message and pressing "OK" there are 2 possible results:
1. The program (Illustrator CS2) opens a blank artboard (stage) with absolutely NO objects or symbols on it.
2. The program opens an incomplete graphic on the artboard (stage) with many missing objects and shapes (say, if I exported a graphic with 2 layers, the top layer will be missing).
Unfortunately, these are the most common results....Though a few days ago I hkept several AI files open and tried to export an AI file made in Flash. To my greatest surprise Illustrator could open the file with absolutely everything I exported from Flash! Except for Bitmap fills, of course....But everything else was just perfect! I was amazed no end! What settings should I have in order to be able to open AI files exported from Flash? If I got it once, it means it is possible to open such files... I have to use Illustrator more often now, and I need my artwork to be covered to AI files without significant modifications or corrections... Is it doable?
View 1 Replies
May 4, 2008
I've got a flash program that is working perfectly in firefox but not in IE. It is a program that cycles through real estate from a database. In IE, it loads the data from the search only when the search is unique, but when i try to hit the next button it comes back as blank. I tried a timestamp previously which glitched the system, but here is a workaround for anyone with a similar issue:
[Code]....
View 4 Replies
Feb 11, 2009
My question is what needs to be done in order to make a .swf file go into full screen without falling to a black screen when a movie is played? I have tried coding it, however I come up with the following error.
[Code]....
What should I do to fix this? This is not going to be an HTML file, however, so the initial thought of changing the publish settings does not seem to work this time.
View 9 Replies
Apr 24, 2011
I dont get an error but nothing loads. I just get a blank screen and I have really struggled to find an example for loading an obj file. I am using flashbuilder4 AS3 project.
private function initAway():void
{
_camera = new Camera3D({zoom:20, focus:30, x:100, y:50, z:-500});
[Code].....
View 4 Replies
Dec 19, 2008
I'm using Flash CS4 and flash player 10,0,12,36. My fla compiles completely when i "Test Movie" but it loops as if it didn't compile correctly- AND it gives no output or error messages. I have no idea what could've caused this. If i change the code to intentionally produce an error, it will then display an error message. My app has an external swf file that it imports if that matters. But like i said it all worked fine just 2 days ago, and i don't think my cat jumped on the keyboard -accidentally deleting anything since there are no error messages.
View 11 Replies
Sep 18, 2010
my site is finished but as it's quite a large SWF the preloader and logo doesn't appear on screen untill it's load about 40% loaded.
Is there any way to get the logo on screen before anything else comes up rather than just having a black screen? (without breaking the main movie into smaller ones).
here's the link:
[URL]
View 3 Replies
Jan 10, 2011
Should bring up a login when you go to that site. However in Chrome It seems to be loading something and then I just get a blank white screen. Sometimes it loads but if you then hit refresh it will bring you to a blank white screen instead of reloading. Also interestingly if you are staring at the white screen, if you double click, click drag click around alot on the page it will come up kind of like its there but not being displayed. this problem only displayed in Chrome -- IE, Firefox, safarii etc. Perhaps my HTML is bad? I can't believe that because when I use the raw-HTML output from a publish in CS5 It is still giving me this behavior? Also others have had this problem with my site so it isn't just my browser/computer combo.
View 3 Replies
Feb 20, 2009
I have built a pre-loader from tutorials that seems to work well except that you can't see it until it hits about 8o% loaded.
this is the code for frame 1 of my movie. (loading is a text box that shows the percentage as it loads)
ActionScript Code:
stop();
onEnterFrame = function(){
var percentLoaded = _root.getBytesLoaded()/_root.getBytesTotal();
[Code].....
why the screen stays blank up until until that 8o% mark when it seems like the whole frame(preloader) loads?
It seems like everytime I get comfortable with some aspect of programming, I attempt another one that makes me wonder why I program in the first place! My mac is lucky I can't afford to throw it out the window.
View 4 Replies
Jul 4, 2011
I have been lurking here for a while. Whenever I get stuck I usually search through forums and find my answers. This ones not returning any results... So I've joined up. USING: Flash 5.0 in Windows, no flex [b] Here's my issue:[/b] I am working through Lee Brimelow's [b]Click and Zoom 3D Carousel[/b] video and I got to the first time he goes to preview his movie at about 23:50 and I get nothing. No compiler errors and no images, just a black screen...
So I figured the XML didn't go through correctly. I tried playing with the code but to no avail... If anyone could point me in the right direction that would be awesome! My tutorial document is located in the Carousel folder on my desktop, files and images are all there.
[Code]....
View 1 Replies
Sep 7, 2008
I am working on a website right now and when I go to the html version of it, all it does is just sit there. A blank white screen for maybe a minute and hwen it finally loads the preloader only comes up for a half a second.
View 1 Replies
Sep 13, 2010
I have used this method before to make a preloader. But this time for some reason the screen is blank until the movie is finished loading. The bandwidth profiler says I am on frame 0.
[Code]...
I have been comparing this to another project (that uses the same code)and it loads fine in Simulate Download and BWProfiler says frame 1 while loading. There are no differences in the Public Settings, or any other settings I can see...
View 3 Replies
Sep 19, 2010
is finished but as it's quite a large SWF the preloader and logo doesn't appear on screen untill it's load about 40% loaded. Is there any way to get the logo on screen before anything else comes up rather than just having a black screen? (without breaking the main movie into smaller ones).
View 4 Replies
Oct 25, 2010
I've created a product registration form for my website and the basics of it work fine, ie when I click submit the info successfully gets e-mailed to me. I'd like to expand the functionality of it, however. As is, I get an e-mail regardless if any of the fields are filled in or not. I'd like for users to be directed to an error page when the e-mail field is blank and a thank you page otherwise. How would I do this? I imagine it can either be done directly in flash or would the php instruct the browser to navigate to the error or thank you page? Key is I don't want the form to be submitted if the email is blank.
[Code]...
View 4 Replies
May 25, 2009
Everytime I try to load a font, I get a blank screen that flashes on and off and have to shut my computer down for it to stop. I use to be able to download them all the time. I don't know what changed on my computer to make this happen.
View 1 Replies