Flash :: Flex - What Are Possible Non-code-related Reasons For A Blank Screen In Builder 4.6 Design View?
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.
Flash Builder's design view is worse than 3's (which at least was usable if you ignore some quirks), so WHAT do Flex UI designers (those who don't have paid design teams...) do to design a complex UI? Because Design View (also based on what a lot of people say about it..) gets more useless with every release.See image for some differences in design view vs.Flash. WHAT is causing this? css also posted..("Duration", "hr", "min" are mx Labels, the image size text is an mx Text comp.Project is an "mx only" SDK 4.1 project.) I don't even care that the spinners look different, I just need it to show me correctly sized stuff so I can position things via Canvas, or properly size containers.
I am creating a custom TextInput component that will define an "error" state. I have extended the TextInput class to change the state to "error" if the errorString property's length is greater than 0. In the skin class, I have defined an "error" state, and added some logic to detect the size and position of the error icon. However, if I have this code at the same time I use the "includeIn" property in the bitmap image tag, I get a design view error. If I either A) Only include that code with no "includeIn" property set, it works or B) dont include the code to set the icon size and position and only use the "includeIn" property, it works. Any ideas what could be causing the design view problem when I use both the "includeIn" property and the icon size/position code at the same time?
When a compile and run the application, the output is entirely blank. The HTML wrapper page does contain the flash application, but the content is blank, even though I have a simple label component on the stage.Also I noticed that when I right-click on the flash object, the default context menu appears, displaying the "Zoom In", "Zoom Out", "Show All", etc..options which are removed from the application by default.If you are interested, here is my code, as easy as it gets. :)
If I have a component that has some states defined, is there a way to make changes in design mode but not have it tied to a particular state? For example, if I have state1 and state2, any changes in design mode will be based on state1 or state2 (i.e. width.state1). I understand this is the direction Flex is going in but I'm transitioning from a Flex 3 app and right now I just want to make the change to width and not width.state1.
Is it possible to enable verbose build logging in Flash Builder? Ideally, I want to be able to see the exact arguments that are being passed to the mxmlc.exe compiler. Context: I'm currently trying to automate our build process using GradleFx so we can move away from using Flash Builder and run our build on a CI server. At present, I'm running into a few problems and my lack of knowledge about the flash/flex build process is impeding progress. Being able to see what the FB project translates to would greatly aid me in being able to set up the new build scripts.
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.
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.
When i try to open my mxml script in design mode i'm always getting following message "This Component is base on VBox, which is not a visual component. Switch to source mode to edit it"
Do you know how if you drag an <mx:Label> or <s:Label> component into your Flex project, when you go to design mode you get this panel on the right to set its properties like text etc.
I have a custom component that I can call with actionscript, or with mxml like this:
<comps:TheComp field1="OK" field2="Yes" />
The component takes this input and uses it for its internal operation
[Code]...
When I go to design mode, I can see the component under custom components, I can drag it to the stage and see it, but can't set its values field1 and field visually on the right like a normal <s:Label> or <mx:Label> would have. how I can add that? Do I need to make it inherit something or anything else
The following code is on a movieclip being used as a button.The code is pretty simple. Originally the code was just the code after the gap. This code loaded up a movieclip (filtermc) off-stage that runs through an xml file and preloads a form. This takes a second or two, and when finished that newly loaded movie tweens into position. The tween code is on a frame in the 'filtermc' movieclip.
The problem is that in the second or two that it takes for this movie to load, people could click the button a second time which messes up the form/movieclip (everything on it is unresponsive, I think because two movieclips having the same name)
Anyway, I decided to solve this problem by loading a transparent blocker movieclilp in front of this button to keep it from being double clicked. This blocker clip is just a movie that has an empty onRelease function in it so that the button below it cannot receive any new clicks. Also, the button goes to another frame where it says "loading..." to provide feedback to the user.
The Problem When I click this button, there is a delay of about 2 seconds before the semitransparent (for testing) blocker appears. In fact it appears just as the filtermc clip has started it's tween into place.
It is almost like this code is running out of order. The traces come back in the correct order so I know it is not running out of order, but why the 2 second delay before the blocker movie gets loaded up? The button also takes 2 seconds to show the "loading" frame. The traces also have the same 2 second delay.
If I comment out the second half of the code (the filtermc part) then the blocker movieclip pops up instantly and the button changes frame instantly.
PHP Code:
on (release) { //problems occur if button is pressed twice before filtermc scrolls into view //this button must be disabled until the filtermc finishes loading
ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at latest_fla::MainTimeline/action()I get this error when i try to remove the instance of the ball after detecting collision over a wall.. i want the ball to disappear after it collides with the specific walls. i am new to AS and not ablt to sort out the problem. i am trying to make a game using AS3.0
I am trying to run QNX Actionscript project on desktop Flash player, but when I run the swf, the player appears blank white view I tried to set the QNX libraries "Merged in code", but the app doesn't run Is there any way to run the project swf on flash player Note: I am using Flash Builder 4.5
I have an mx:TileList which is bound to an ArrayCollection.I have some code that displays a "Loading..." message before modifying the ArracyCollection and some code after that hides the loading message.For small data sets, it works fine. However, I noticed with an array size of about 50~ and larger, flex will hide my loading message before the TileList is finished rendering the new data and I'm left with a blank screen for an odd second.Is there an event I can listen to that is called after the TileList is finished re-rendering? Code looks something like this:
loading_message.visible = true; for each (var x:Object in new_data) { tile_list_data.append(x); // bound to my_tile_list component[code]..........
In this example, loading_message appear, disappear, and then the flex app will lag before finally revealing the updated TileList.
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?
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.
I am developing a flash based website using mxml. My monitor's resolution is 1280x768 and is widescreen. The problem is while it appears properly in my screen it doesn't appear properly in others.
-Let scrollbars take care of it : If the screen is 14 inch screen with 800x600 resolution it appears zoomed in. So that's a problem -Get screen resolution and resize using scaleX and scaleY : The graphic components will get resized but fonts give problem.
I have an application that takes the user through a set of steps, configuring a product, say about 10+ screens. With options to go back, skip to a certain point etc. I need to fade between these steps, and also have language switches available at any point.
I was thinking of using an MVC style pattern, having a master view that accepts a 'next view' and fades it in, removing the old.
It feels bloated to have 10+ separate view classes, using similar components for this task, so was wondering what other approaches there are that I should look into? or one that is suited for this kind of application
I have two views in viewstack. One has a VRule extending from top of screen to bottom. Another view has a big accordion. If I give viewstack percent height=100%, first view works fine and second view gets clipped or has a vertical scroll bar inside view stack. If I dont mention viewstack height and set resizeToContent to true, second view works fine and first view takes up only small part of screen. If I mention viewstack height and set resizeToContent to true, first view works fine and second view gets clipped or has a vertical scroll bar inside view stack. I want vertical scrollbar but for entire window, not just for viewstack. How to accomplish this ?
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.
In a game me and a friend is creating, the levels are stored in MCs.In the level MCs there are several other MCs that the player should be able to interact with.
This means the objects in the levels need a stage reference.I can place all the objects manually and pass the stage ref in the constructor of the object's class, but this is a pain when the levels are going to be pretty big.
Is it possible to make sure that flash always passes a stage ref to the object even though it's not placed there by code?
In a game me and a friend are creating, the levels are stored in MCs. In the level MCs there are several other MCs that the player should be able to interact with.
This means the objects in the levels need a stage reference. I can place all the objects manually and pass the stage ref in the constructor of the object's class, but this is a pain when the levels are going to be pretty big.
Is it possible to make sure that flash always passes a stage ref to the object even though it's not placed there by code?
We've got several Flex projects, one of which has just been refactored. I'm wondering if there's an easy way to tell which classes and functions (if any) aren't being used any more?
I've discovered that we've definitely got some unused code, because running ASDoc on the entire project reports some compilation errors which don't get reported by Flex Builder (implying that those classes aren't being used any more). I'm hoping to find a more robust and complete method, and preferably one which can work at function level too.
I am trying to use Flex Builder 3 to write my Actionscript 3.0 Code however whenever I try to Eg: import fl.transitions.Tween; it does not recognize the fl folder let alone the Tween Class to import.
Where is the default Actionscript 3.0 Classpath so that I can add it to Flex Builder 3's Source path?Btw I am using Adobe CS4 / Flex Builder 3.
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] .....
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