TwelvestoneFlash

Components render as a white rectangle


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
nocashvalue
 
2007-10-01

Hi all.

I am seriously at my wit's end with a Flash ComboBox component that refuses to render as anything other than a white rectangle with a black border when the file is compiled. When working in Flash, it displays correctly...

I received a flash project from a design house that shall remain nameless and now have to start adding to and updating it...

Two day's worth of using the Google has resulted in various unhelpful advice for my situation.

The combobox is placed on the stage within a movie clip and then XML data is used to populate it. The XML read is all working and the first label displays the correct data.

When I drop in a new combobox component, I get a message telling me that a component with that name exists and asking me if I want to replace it. When I do replace it, the rendered combobox now renders to the correct dimensions, but the label is not displayed.

You can see all this in the happy image here: http://www.nocashvalue.net/flash/combo.png

I have tried creating the combobox in AS, and it displays exactly the same....

I am using Flash CS3. I have no idea what version was used to create the file.

scudsucker
 
2007-10-01

Hi,

Which flash player are you publishing for? Are you using the default combobox ( part of the Pro version of F8, dunno what there is in CS3) or one from another source, eg a purchased componant?

Are you publishing for Actionscript 1 or 2?

nocashvalue
 
2007-10-01

Argh - thought I had provided all the info.

Publishing AS2, Flash Player 8 and it's the default Flash ComboBox...

Tried publishing using AS1, AS2, AS3 and player versions from 6 up. The file was created in such a way that only AS2/FP8 compiles without any errors.

Sigh.

scudsucker
 
2007-10-01

Why not just resize the working combobox?

You should not need to place another one on-stage, and from the error message, (although I don't have CS3, and things may be different) it sounds as if you are copying the "new" one from another .fla and it is then overwriting the one in the library.

You should be able to have 100s of comboboxes onstage without any issues.

Can you duplicate the problem in a new .fla (so we dont need to see anything sensitive) and post a link?

nocashvalue
 
2007-10-01

Actually I am dropping in a new combobox from the components menu when I get the message. It leads me to think that the original creators copied the current CB in from another file...

I have heard mutterings that _lockroot = true is supposed to help, but cannot figure out how to implement that....

The CB is inside a movie clip that is on the stage from the start of the movie, FWIW.

I tried replicating the issue, but no matter what, it seems to work in a new file... I am loathe to try copying & pasting the entire abortion into a new file, but if that's what it takes...

scudsucker
 
2007-10-02

Cntrl-A, Cntrl-C, Cntrl-N, Cntrl-V

Solves a vast raft of flash problems.

Sounds like the previous developer might have been using a previous version of flash (8, maybe) and the component is slightly different.

Sorry to be so little help

nocashvalue
 
2007-10-02

I came to the same conclusion last night.

Spent about 15 minutes trying out my Ctrl key and the new file works perfectly.

Fucking flash.

:-)

tenPlus
 
2007-10-02

nice one scuds. I'd have to plead guilty for regularly taking the hard road to try to do/fix things when the simplest would have done

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFlash

Components render as a white rectangle