Flash :: Adding Components To Flex 4 App Makes Screen Go Blank?

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


Similar Posts:


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.

View 1 Replies

Flex :: Rendering A Bound TileList - Get A Blank Screen For An Odd Second?

May 14, 2010

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.

View 1 Replies

Adding Flex Components Using Xml?

Jul 28, 2009

I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.

View 1 Replies

Flash 10 :: Blank Screen Between FLV?

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

Flex :: Adding Components To CoverFlow?

Jun 26, 2009

I'm working with the CoverFlow library by Doug McCune.

In the example included, he has created some panels inside a CoverFlowContainer. There are other examples of him populating the coverflow from an RSS feed on the page linked above but he doesn't include the source for these :(

I will eventually be retrieving data from a web service to add to the coverflow however I'm starting with this simple example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" xmlns:containers="com.dougmccune.containers.*" creationComplete="init()">

[Code]....

I've defined some panels in the mxml and set creationComplete=init() so that the new panel I've created in ActionScript will be added to the CoverFlow container.

When I launch the application it displays the two predefined panels but not the one I have created in ActionScript.

View 2 Replies

Flex :: Resizing Components For Wide Screen?

Apr 1, 2011

I am using % values for height and width properties of my components, so they would look some what similar in different screen resolutions. But when the aspect ratio changes or on Wide Screen monitors, my components are looking very badly as in not consistent and somewhat stretched.

View 2 Replies

ActionScript 2.0 :: Loading Screen - Stuck Staring At A Blank Screen For A While

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

Flash :: Make A Animation That Makes An Object Move Across The Screen To A Certain Point?

Sep 1, 2011

I want to make a flash animation that makes an object move across the screen to a certain point, depending on what is typed into a text box, and i want many of these moving objects at once, so that you can type in a number and then the object moves to that point. Can this be done?I have used flash but have done verry little with the actions of flash, so please walk me through any actions that will need doing

View 1 Replies

IDE :: Flash Shows The Blank Black Screen?

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

Flash :: JWPlayer IE - Screen Going Blank After Being Hidden And Shown

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

Professional :: FlashBuilder: Android / Flex Components + Full Screen Graphic Possible?

Dec 30, 2010

I'm new to flash and interested in multi-platform graphical game development. I've installed the Flash Builder Burrito test version and want to develop a full screen Android graphical game with Android-Flex components (like buttons etc.).

a) Is it possible to have a full graphical screen and then overlay Android-Flex components (buttons etc.) or ist only possible to integrate a graphical screen within a Flex components app so that Android/Flex components have to been outside the screen and so no full graphical screen overlayed with Android/Flex components is possible?

b) If full graphical screen + Android/Flex components is possible: which project type have I to choose: File->New->Flex Project or File->New->ActionScript Mobile Project?

c) Are the components I can choose to design my Flash-Android project Android-like Flex components or are they real Android components?

View 1 Replies

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

Actionscript :: Dynamically Adding Child Components To Canvas Vs Group In Flex?

Aug 4, 2011

I've a custom component where I do some graphics (e.g draw a line) and dynamically add a subcomponent (e.g a label) to it.

If I base the component off Group (which is recommended as per docs since its a spark component) then when I dynamically add a label the graphics part disappears.

However if I base it off Canvas this doesn't happen.

Why is that the case?

Here is the code.

MyComponent.as
public class MyComponent extends Group
{
public var x1:int;

[Code].....

View 2 Replies

ActionScript 3.0 :: Screen Going Blank On Full-screen?

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

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

ActionScript 3.0 :: Why Does Full Screen StageDisplayState, Makes Videos Full Screen?

Sep 29, 2011

i am creating an interactive application that will run independantly on a computer.I have implimented the full screen stage display state to a btn, and it works great!

-------code-----
import flash.display.StageDisplayState;
function goFullScreen():void
{

[code].....

however as soon as i add a video [i will be adding several] the video takes on the full screen property, and that is not the desired effect.I have used several diff ways to import the video but as soon as i call the full screen, it goes to an all black screen.

View 1 Replies

Java :: Adding Flash In Swing Components?

Apr 19, 2010

I am creating a swing application, I like to add Flash in that application. Can we add flash in Swing components?

View 3 Replies

ActionScript 1/2 :: .onMouseDown Makes All The Screen Clickable

Sep 1, 2009

I've got this really weird problem. I have the following code:

[Code]....

The thing is, after I setup the onMouseDown, Anywhere I click on the screen run that function, not only the listMask movieclip! The movieclip is just a plain rectangle that was drawn by code, nothing special, no hidden graphics. Even if I don't draw anything in the movieclip, the whole screen is still clickable (as well as areas outside the screen, if we maximize the player window). This movieclip was created with .createEmptyMovieClip

View 3 Replies

ActionScript 2.0 :: Refreshing Makes Previous Screen Show?

Jul 23, 2009

The code that I'm working on is HUGE (over 10 .as files, each with 1000+ lines), so I won't post any of it, but you should be able to follow the general idea.

What I'm doing is loading movieclips within movieclips.

For example, let's say I have a movieclip with a black background and two buttons. When I click on one of the buttons, it loads an XML file which contains labels and images and data. However, this XML file is loaded INTO the same movieclip, so that it is kinda on top of it. That means that the black background is completely covered up by the new images loaded. However, since the XML file is getting changing data, I have a refresh function which removes the XML movieclip and loads it again.

The problem is that when the XML movieclip gets removed temporarily to refresh, the black background and buttons underneath can be seen and that doesn't look very good.

The code is too extensive for me to figure out how to put everything into a new movieclip dynamically.

What I thought of doing was to create a movieclip in between these two movieclips which displays a blank white screen. I got that to work, but I had a few problems with the back button because now it needed to remove two mcs instead of one. However, that is also working now. Is there a better way to do this instead of creating a blank mc?

The ACTUAL problem I have is this: When the page refreshes, the labels from the XML file remain...which makes it look ugly before the pictures get loaded. I think that this might just be that the labels load a lot faster than the pictures, thus, giving the illusion that they never refreshed in the first place; I'm not sure about that though. Is there any way to get the images to load before the labels get reloaded (if they do in fact get reloaded)?

View 1 Replies

ActionScript 3.0 :: Just Get A Blank Screen

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

Professional :: Version 10.2 Freezes Computer And Makes Screen Melt?

Feb 16, 2011

I'm having trouble with my computer and the latest version of Flash. What happens is that everytime i get in contact with a flash-based media on the internet (Youtube, banners, games, etc.) my computer freezes and after 15 seconds it starts 'melting', as in the pixels slowly turning blue and black. This happened right after i installed the latest version of Flash. I have to take the battery out of the computer to get it working, which is offcourse not healthy.
 
Does anybody have an idea what this is due to and how it can be fixed? I am pretty desperate.

View 1 Replies

Flash8 :: Blank Screen And Preloaded Starts At 40%??

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

Professional :: Get A Blank White Screen In Chrome

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

ActionScript 2.0 :: Screen Stays Blank Up Until Until That 8o% Mark?

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

Actionscript 3.0 :: No Errors In Compiler - Blank Screen

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

ActionScript 2.0 :: Blank White Screen For Maybe A Minute?

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

ActionScript 3.0 :: Preloader Screen Blank Until Loaded

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

ActionScript 2.0 :: Blank Screen And Preloaded Starts At 40%?

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

Flash :: Flex 4 - What Makes A GC Root

Apr 3, 2010

What are the rules for something to be a GC root in Flash? I'm using the Flash Builder 4 profiler, and I'm finding odd things are labeled as GC roots in the object reference details (e.g., an Image control that is no longer in the display list, nor static).

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved