Has anyone created a grd, gridrow and griditem

I am trying to create a grid dynamically with the following
code and I'm getting errors
TypeError: Error #1034: Type Coercion failed: cannot convert
mx.containers::Grid@4c98479 to mx.containers.GridRow.
var tempStr : String = arrayOfFormItems[index]..type;
objectClass = getDefinitionByName( tempStr ) as Class;
anObject = new objectClass();
aDynaForm.addChild( DisplayObject( anObject ) );
I'm reading in an xml file creating items dynamically in the
following order
<formItem>
<type>mx.containers.Grid</type>
</formItem>
<formItem>
<type>mx.containers.GridRow</type>
</formItem>
<formItem>
<type>mx.containers.GridItem</type>
</formItem>
Any thoughts?

DOH!,
wow, thanks to all of you, will look into that, much appreciated......3 out of 3 can't be wrong :-) I desperately need to start tinkling outsie the square ;-/
Cheers
Rossco

Similar Messages

  • When I statred iTunes match I lost some of my music and all my playlists, has anyone had this problem? And can I restore it?

    When I statred iTunes match I lost some of my music and all my playlists, has anyone had this problem? And can I restore it?

    Restore your media from the backup of the computer created prior to restoring the computer.
    You did create a backup, correct?  Not doing so would be extremely unintelligent.
    iOS devices are NOT backup devices.

  • Has anyone created a NI-VXI driver for the Ardence RTX operating system?

    Has anyone created a NI-VXI driver for the Ardence RTX operating system?
    a VXI instrument through a PCI-VXI-8335 card (in the PC) talking to a PCI-VXI-8345 card (in the VXI chassis) via MXI-3, Has anyone created a PCI-VXI-8335 card  driver for the Ardence RTX operating system?

    Now  i want  develop driver on RTX,my hard platform is similiar(PCI8335+VXI8340+1418A),and after i read the PCI baseaddress,i find PCI8335 only has memory-map,so that means if i want to driver this board ,so i take following steps list below:
    1.use Rtmapmemory() to map the baseaddress to virtual address
    2.using memset() or memcpy() to driver the 1418A board
    is this right?
    if you can give me some hints,thanks 
    or you can contact me :[email protected] 

  • When trying toedit a text message on my iphone5 the edit bubble will pop up but it is no responsive for about thirty seconds before it will respond to the key functions. It just lags behind. Has anyone else had this problem and if so is there a fix?

    When trying to edit a text message on my iphone5 the edit bubble will pop up but it is non responsive for about thirty seconds before it will respond to the key functions. It just lags behind. Has anyone else had this problem and if so is there a fix?

    I rarely record automation, and when I do I never do a second pass (usually hand draw automation in) but I have had problems with Logic 7 no longer playing back automation. I've been told its fixed in Logic 8, but in the mean time here is a work around.
    Select the region where the automation is (if there is no region, create one using the pencil tool and expand it to cover all automation) and go OPTIONS menu -> TRACK AUTOMATION -> "Move current track data to region data." Now everything should play back as expected. If you want to edit the data, simply select "move current region data to track data" and edit away.
    For some reason, Logic 7 will sometimes stop reading track automation data, but I have yet to have it stop reading region automation. This is a bug, and according to other users, has been fixed in Logic 8. Hope this helps until we eventually upgrade

  • My daughter has downloaded free games from the App Store and I have been charged in excess of £200 and I don't know why has anyone had the same issue and if so how did you get your money back

    My daughter has downloaded free games from the App Store and I have been charged in excess of £200 and I don't know why has anyone had the same issue and if so how did you get your money back

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    To help avoid future transgressions set the Restrictions for In-App Purchases...
    Settings > General > Restrictions
    Understanding Restrictions  >  http://support.apple.com/kb/HT4213

  • Has anyone ever had this problem and know how to fix it!!! I upload songs on to my ipod and they appear on the ipod in iTunes but after I disconnect they are not on my ipod!

    has anyone ever had this problem and know how to fix it ?? I upload songs on to my ipod and they appear on my ipod in itunes but after i disconnect  (the correct way) the songs do not appear on my ipod. If i plug the ipod back into my computer it still shows them as being on my ipod through itunes but not when i disconnect please please please help!! thankyou! (Also the songs i'm trying to upload are cd's that i have brought)

    See Grouping tracks into albums, in particular the section Missing Artist or Album not with others by same artist.
    tt2

  • HT1222 Every time I try to install an update for iTunes 11.0.2, I get an error message 103.  Has anyone else had this problem and found a way to fix this?

    Every time I try to install an update for iTunes 11.0.2, I get an error message 103.  Has anyone else had this problem and found a way to fix this?

    I did it the .dmg way alone and has problems with itunes crashing. This is a better way to ensure that there is not anything left behind to cause issues.
    You need to backup your computer then uninstall I-tunes and reinstall itunes.
    Delete iTunes
    Deleting iTunes is not recommended unless you know what you’re doing.
    Launch Terminal from the UTILITIES within Applications
    Type the following commands:
    cd /Applications/
    This brings you into the Applications directory, the next command deletes iTunes itself:
    sudo rm -rf iTunes.app/
    Enter the Administrator password to confirm
    There is no warning or confirmation other than entering the admin password, iTunes will immediately be deleted, effectively uninstalling it from the Mac.
    Deleting the iTunes application will NOT delete the ITUNES or music, and any purchases bought through iTunes will still remain tied to the Apple ID used to originally buy them.
    You can download the newest version from Apple, and running their installer will bring iTunes back to life on your computer.
    http://www.apple.com/itunes/download/

  • TS1717 I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    I get the following error message after installing the latest version of itunes via auto update:  "the itunes Library file cannot be saved. An unknown error occurred (-54). Has anyone ever seen this message and anyone have a suggestion what to do?

    Hi pholewinski!
    I have a couple of articles for you here that I believe will help you with this issue. The first is an article on advanced troubleshooting, and it can be found here:
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/ts3297
    If following that article's steps doesn't take care of the issue, you can try the things listed in this article, which is about permissions issues in iTunes:
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/TS1277
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Has anyone else experienced the stopping and starting again while  playing music in iTunes.  It was fixed but with the last update it has started skipping again.

    Has anyone else experienced the stopping and starting again whil playing music in itunes.  It was working fine wit the prior fix, but after the last update
    it started skipping again. 

    Try it in another vehicle see if it still happens, at least you can narrow it down to your  phone or the car. My 4s play totally fine, I have never had any of those issues. Maybe its time to restore your phone and start over. I would also have someone else play their Iphone in your car, see if it happens to them. Or try yours in someone elses car. Good Luck!

  • My ipod touch 4g won't turn on, even if i reset it. If i reset it it just brings up the apple logo for about 10-15 minutes, flashes white, then repeats the before mentioned. Has anyone else had this problem and/or know how to fix it?

    My ipod touch 4g won't turn on, even if i reset it. If i reset it it just brings up the apple logo for about 10-15 minutes, flashes white, then repeats the before mentioned. Has anyone else had this problem and/or know how to fix it?

    Did you try to connect in recovery mode to restore your ipod? iPhone and iPod touch: Unable to restore

  • Using windows 8 - receive message "ipod detected but cannot be identified" when connecting ipod nano 7th gen. Have unisntalled and reinstalled itunes from apple site as advised with no luck. Has anyone else had this problem and resolved it please?

    Using windows 8 - receive message "ipod detected but cannot be identified properly" when connecting ipod nano 7th gen. Have unisntalled and reinstalled itunes from apple site as advised with no luck. Has anyone else had this problem and resolved it please?

    This is how it's displayed: http://i50.tinypic.com/nd7vk7.jpg
    And this is what happens when I click properties and 'search for solutions': http://i47.tinypic.com/2iu3vrc.jpg (the box disappears after that, apparently having done nothing, when I search online for software it informs me my computer already has the best/latest installed)
    I use a Toshiba Satelite L350-170, my Vista is a 32-bit Thankyou!
    Message was edited by: Martha11

  • HT5439 Has anyone had the Network time and date error with Apple TV when traveling?

    Has anyone had the Network time and date error with Apple TV when traveling?

    Jasion,
    Maybe a bit beside the question, but it is always recommended here to open/save from/to own hard disk, and to copy from/to networks and removable media. You may be lucky, at least for a while, but it is better to be safe than sorry.
    In addition to the (far greater) risk of file corruption, some issues are mentioned here:
    http://helpx.adobe.com/illustrator/kb/illustrator-support-networks-removable-media.html

  • Has anyone's screen go blank and not boot up after installing the new yosemite OS

    has anyone's screen go blank and not boot up after installing the new yosemite OS

    Hi Mofimac,
    Thanks for visiting Apple Support Communities.
    If your Mac is only starting up to a blank gray or white screen after updating OS X, you can find some useful troubleshooting steps in this article:
    Mac OS X: Gray screen appears during startup
    I recommend going through these first three sections first:
    Disconnect, test peripheral devices and network cables
    Perform a Safe Boot
    Reset the NVRAM / PRAM
    Best Regards,
    Jeremy

  • Has anyone else been double charged and unable to fix it?

    Has anyone else been double charged and unable to fix it?

    So you have never made an error, nor your company, nor your Doctor, nor your Police, nor your......... add whateveer you like!!
    Remember That Adobe is a global enterprise dealing with millions of customers around the world and it is all operated by people and yes people are fallible - including me!!!
    I'll bring this to the attention of Jeffrey but he has mostlikely seen it already but is on holiday until next week AFAIK.
    have a good New Year.........

  • I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?

    I just installed Adobe InDesign CC 2014 and now I can't scale objects/type using Command+Shift Key. Has anyone else had this problem and if so, any solution?

    There is a conflict with third party software or your system keyboard shortcuts. Lately, there have been many postings about conflicts with Chrome extensions so check there first.
    It's not a new problem. I wrote about it on InDesignSecrets.com in 2006:
    The Missing Keystrokes Mystery | InDesignSecrets

Maybe you are looking for

  • 24" iMac pauses when running

    I have a 24" iMac 3.06 GHz Intel Core 2 Duo with 4 GB of RAM running Mac OS X 10.6.5 and when I'm running a movie in VLC player, music in iTunes, etc, it will pause for approx 2-10 seconds and then resume running. Any thought of what it may be? Any h

  • Could u tell me how2control printing out the certain page in smartforms?

    there are many pages when I preview , but I only need one  or several of the pages. How to print the certain page in smartforms? and if there are several windows in one page how can I just print out one or several windows of them? what should I inser

  • When apple tv syncs with itunes the media disappears from the apple tv

    evrytime i purchase something through the apple tv i can play it on my tv until it syncs with itunes. after the sync the media just transfers over to my computer. how can I leave the stuff I buy in apple tv stay in the apple tv. and all of those othe

  • Itunes couldn't be opend after updating to 9.1 version

    I can't open itunes after updating it to 9.1 version it was work one time only, i close it and try to open it again but is wasn't working i remove itunes completely and install it again but it didn't work ((itunes icon only jump in Dock then close wi

  • Oracle FORMS & Sql Server

    We are using Oracle Forms 6i on a SqlServer 2000 database. We use OCA (v. 6.0.5.35.0) and MS ODBC (version 2000.80.194.00) Our application works fine but we note something strange looking at the processes in the SqlServer Database. For each ODBC call