the htmlText of a component Label parameter

I'm trying (new to AS) to set the htmlText of a Label component I added to my Flash page.

I do this:

function setCaption(caption:String) {}
pretext var: String = "";
Pretext = "< span style =" make-weight: bold; "." color: Red; » > « ;
lblCaption.htmlText pretext = + caption + "</span > ';
trace (lblCaption.htmlText);
}

setCaption ("VALUE");

.. .expecting having htmlText value "< span style =' make-weight: bold;" color: Red "" > VALUE </span > ""

I get instead (returned by the trace)

< P ALIGN = "LEFT" > < FONT FACE = "Times New Roman" SIZE = "12" COLOR = "#000000" LETTERSPACING = '0' KERNING '0' = > VALUE < / POLICE > < / p >

What I am doing wrong?

you do not have a style sheet.  use:

function setCaption(caption:String) {}

pretext var: String = "";
var postText: String = "
"; "
lblCaption.htmlText pretext = + caption + postText.
trace (lblCaption.htmlText);
}

setCaption ("VALUE");

Tags: Adobe Animate

Similar Questions

  • Error 1935.An error occurred during the installation of Assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT: 0X800736CC.

    Following error message encountered when installing SSO64 bits on Windows Server 2008 R2 Standard 64-bit edition.

    Error 1935.An error occurred during the installation of Assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT: 0X800736CC.
    [12:40:34 of Info] List MessageBox with text: Error 1935.An error occurred during the installation of Assembly component {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}. HRESULT: 0X800736CC. Return code: 1

    I tried to reinstall VC ++ 2005 SP1 Redistributable, but it did not work.

    I tried to rename a folder for vc ++ in the winsxs folder, but without permission to do so.

    Here's the Setup log:

    = Recording started: 01/03/2012-12:40:11 Build type: SHIP UNICODE 5.00.7600.00 appeal process: C:\Users\SA_KPN~1\AppData\Local\EBZ28334.tmp\Setup.exe =.
    MSI (c) (C0:58) [12:40:11:525]: Resetting cached policy values
    MSI (c) (C0:58) [12:40:11:525]: value of strategy Machine 'Debug' is 0
    MSI (c) (C0:58) [12:40:11:525]: * RunEngine:
    Product: SSO x64\SSO64\SSO64.msi
    Action:
    Command line:
    MSI (c) (C0:58) [12:40:11:525]: Client and UI is none or basic: full installation running on the server.
    MSI (c) (C0:58) [12:40:11:525]: grabbed execution mutex.
    MSI (c) (C0:58) [12:40:11:525]: Cloaking enabled.
    MSI (c) (C0:58) [12:40:11:525]: attempt of activation of all disabled privileges before calling install on server
    MSI (c) (C0:58) [12:40:11:525]: meter is incremented to disable the stop. Counter after increment: 0
    MSI (s) (C AC:3) [12:40:11:525]: running the installation inside the multi-package transaction \SSO x64\SSO64\SSO64.msi
    MSI (s) (C AC:3) [12:40:11:525]: grabbed execution mutex.
    MSI (s) (AC:64) [12:40:11:525]: Resetting cached policy values
    MSI (s) (AC:64) [12:40:11:525]: value of strategy Machine 'Debug' is 0
    MSI (s) (AC:64) [12:40:11:525]: * RunEngine:
    Product: SSO x64\SSO64\SSO64.msi
    Action:
    Command line:
    MSI (s) (AC:64) [12:40:11:540]: meter is incremented to disable the stop. Counter after increment: 0
    MSI (s) (AC:64) [12:40:11:540]: value of strategy Machine 'DisableUserInstalls' is 0
    MSI (s) (AC:64) [12:40:11:540]: meter is incremented to disable the stop. Counter after increment: 1
    MSI (s) (AC:64) [12:40:11:540]: SRSetRestorePoint is ignored for this transaction.
    MSI (s) (AC:64) [12:40:11:540]: disable the stop against the decrement. If counter > = 0, will be denied the stop.  Counter after decrement: 0
    MSI (s) (AC:64) [12:40:11:540]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3:2
    MSI (s) (AC:64) [12:40:11:571]: file will have the applied safety of OpCode.
    MSI (s) (AC:64) [12:40:11:587]: disable the stop against the decrement. If counter > = 0, will be denied the stop.  Counter after decrement:-1
    MSI (s) (AC:64) [12:40:11:587]: STRATEGY of RESTRICTION SOFTWARE: Verifying package--> 'SSO x64\SSO64\SSO64.msi' against the software restriction policy
    MSI (s) (AC:64) [12:40:11:587]: STRATEGY of RESTRICTION SOFTWARE: SSO x64\SSO64\SSO64.msi has a digital signature
    MSI (s) (AC:64) [12:40:21:603]: STRATEGY of RESTRICTION SOFTWARE: SSO x64\SSO64\SSO64.msi is allowed to run at the level of authorization 'unlimited '.
    MSI (s) (AC:64) [12:40:21:603]: dialogue of end not activated
    MSI (s) (AC:64) [12:40:21:603]: original ==> SSO x64\SSO64\SSO64.msi packing
    MSI (s) (AC:64) [12:40:21:603]: we're running out of ==> C:\Windows\Installer\1ebf5f91.msi package
    MSI (s) (AC:64) [12:40:21:619]: APPCOMPAT: replacements of compatibility mode properties found.
    MSI (s) (AC:64) [12:40:21:619]: APPCOMPAT: looking for entry with ProductCode '{F89B22BC-2768-4237-B300-5CFA52D9AC84}' appcompat database
    MSI (s) (AC:64) [12:40:21:619]: APPCOMPAT: no matching ProductCode found in the database.
    MSI (s) (AC:64) [12:40:21:619]: MSCOREE already loaded, using the loaded copy
    MSI (s) (AC:64) [12:40:21:619]: value of strategy Machine 'TransformsSecure' is 1
    MSI (s) (AC:64) [12:40:21:619]: value of strategy Machine 'DisablePatch' is 0
    MSI (s) (AC:64) [12:40:21:619]: value of strategy Machine 'AllowLockdownPatch' is 0
    MSI (s) (AC:64) [12:40:21:619]: value of strategy Machine 'DisableLUAPatching' is 0
    MSI (s) (AC:64) [12:40:21:619]: value of strategy Machine 'DisableFlyWeightPatching' is 0
    MSI (s) (AC:64) [12:40:21:619]: APPCOMPAT: looking for entry with ProductCode '{F89B22BC-2768-4237-B300-5CFA52D9AC84}' appcompat database
    MSI (s) (AC:64) [12:40:21:619]: APPCOMPAT: no matching ProductCode found in the database.
    MSI (s) (AC:64) [12:40:21:619]: transformations are not secure.
    MSI (s) (AC:64) [12:40:21:619]: PROPERTY CHANGE: adding MsiLogFileLocation property. Its value is ' C:\Users\acc\AppData\Local\Setup(030112 124011) .log.
    MSI (s) (AC:64) [12:40:21:619]: command line: ADDLOCAL = froot, server, SSOMMC, Admin, Pwdsync INSTALLDIR = c: Files\Enterprise Single Sign - dans\ FILESINUSEERROR = CURRENTDIRECTORY=C:\Users\acc\AppData\Local\EBZ28334.tmp CLIENTUILEVEL = 3 MSICLIENTUSESEXTERNALUI = 1 CLIENTPROCESSID = 3776
    MSI (s) (AC:64) [12:40:21:619]: PROPERTY CHANGE: adding PackageCode property. Its value is '{824AA89B-CCCC-4D40-A6D3-71DF21FEE110} '.
    MSI (s) (AC:64) [12:40:21:619]: Product Code passed to Engine.Initialize: "
    MSI (s) (AC:64) [12:40:21:619]: the Product Code of the table of properties before transformations: "{F89B22BC-2768-4237-B300-5CFA52D9AC84}".
    MSI (s) (AC:64) [12:40:21:619]: the Product Code of the table of properties after transformations: "{F89B22BC-2768-4237-B300-5CFA52D9AC84}".
    MSI (s) (AC:64) [12:40:21:619]: unregistered product: first start installation
    MSI (s) (AC:64) [12:40:21:619]: product {F89B22BC-2768-4237-B300-5CFA52D9AC84} is not supported.
    MSI (s) (AC:64) [12:40:21:619]: MSI_LUA: invites of credentials not required, the user is an administrator
    MSI (s) (AC:64) [12:40:21:619]: PROPERTY CHANGE: adding ProductState property. Its value is '-1'. '.
    MSI (s) (AC:64) [12:40:21:619]: entering CMsiConfigurationManager::SetLastUsedSource.
    MSI (s) (AC:64) [12:40:21:634]: value 'SearchOrder' user policy is 'nmu '.
    MSI (s) (AC:64) [12:40:21:634]: adding new sources is allowed.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding PackagecodeChanging property. Its value is '1 '.
    MSI (s) (AC:64) [12:40:21:634]: Package name extracted from package path: 'SSO64.msi '.
    MSI (s) (AC:64) [12:40:21:634]: package be registered: "SSO64.msi."
    MSI (s) (AC:64) [12:40:21:634]: Note: 2 1: 2262: AdminProperties 3:-2147287038
    MSI (s) (AC:64) [12:40:21:634]: Machine policy value 'DisableMsi' is 1
    MSI (s) (AC:64) [12:40:21:634]: value of strategy Machine 'AlwaysInstallElevated' is 0
    MSI (s) (AC:64) [12:40:21:634]: "AlwaysInstallElevated" user policy value is 0
    MSI (s) (AC:64) [12:40:21:634]: product installation will be high because the user is admin, and the product is to be installed by computer.
    MSI (s) (AC:64) [12:40:21:634]: the product '{F89B22BC-2768-4237-B300-5CFA52D9AC84}' is running with elevated privileges: product is affected.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding ADDLOCAL property. Its value is "froot, server, Admin, SSOMMC, Pwdsync.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding INSTALLDIR property. Its value is "C:\Program Files\Common Files\Enterprise Single sign-dans\ '."
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding CURRENTDIRECTORY property. Its value is 'C:\Users\acc\AppData\Local\EBZ28334.tmp '.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding CLIENTUILEVEL property. Its value is '3'.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding MSICLIENTUSESEXTERNALUI property. Its value is '1 '.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding CLIENTPROCESSID property. Its value is "3776".
    MSI (s) (AC:64) [12:40:21:634]: value of strategy Machine 'DisableAutomaticApplicationShutdown' is 0
    MSI (s) (AC:64) [12:40:21:634]: MANAGER of REBOOT: disabled by the property MSIRESTARTMANAGERCONTROL. Windows Installer uses the built-in functionality of FilesInUse.
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding MsiSystemRebootPending property. Its value is '1 '.
    MSI (s) (AC:64) [12:40:21:634]: TRANSFORMS property is now:
    MSI (s) (AC:64) [12:40:21:634]: PROPERTY CHANGE: adding VersionDatabase property. Its value is "200".
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\Favorites
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Network shortcuts
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\Documents
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Printer shortcuts
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Recent
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\SendTo
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Templates
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\ProgramData
    MSI (s) (AC:64) [12:40:21:634]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Local
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Users\acc\Pictures
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative of Directors
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start start\program
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Start Menu
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Users\Public\Desktop
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: Menu\Programs\Administrative C:\Users\acc\AppData\Roaming\Microsoft\Windows\Start of Directors
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Users\acc\AppData\Roaming\Microsoft\Windows\Start start\program
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: Menu C:\Users\acc\AppData\Roaming\Microsoft\Windows\Start
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Users\acc\Desktop
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\ProgramData\Microsoft\Windows\Templates
    MSI (s) (AC:64) [12:40:21:650]: SHELL32::SHGetFolderPath returned: C:\Windows\Fonts
    MSI (s) (AC:64) [12:40:21:650]: Note: 1: 2898 2: MS without Serif 3: MS without Serif 4: 0 05:16
    MSI (s) (AC:64) [12:40:21:650]: MSI_LUA: the MsiRunningElevated of the parameter property to 1 because the installation is already running high.
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding MsiRunningElevated property. Its value is '1 '.
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding privileged property. Its value is '1 '.
    MSI (s) (AC:64) [12:40:21:650]: Note: 1: 1402 2: HKEY_CURRENT_USER Software Microsoft MS Setup (ACME) \User Info 3:2
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding USERNAME property. Its value is 'KPN '.
    MSI (s) (AC:64) [12:40:21:650]: Note: 1: 1402 2: HKEY_CURRENT_USER Software Microsoft MS Setup (ACME) \User Info 3:2
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding COMPANYNAME property. Its value is 'KPN '.
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding a DATABASE property. Its value is 'C:\Windows\Installer\1ebf5f91.msi '.
    MSI (s) (AC:64) [12:40:21:650]: PROPERTY CHANGE: adding OriginalDatabase property. Its value is "SSO x64\SSO64\SSO64.msi.

    ..............................

    ................................

    Property (S): GPTSupport = 1
    Property (S): OLEAdvtSupport = 1
    Property (S): ShellAdvtSupport = 1
    Property (S): MsiAMD64 = 6
    Property (S): Msix64 = 6
    Property (S): Intel = 6
    Property (S): PhysicalMemory = 3840
    Property (S): VirtualMemory = 4312
    Property (S): AdminUser = 1
    Property (S): MsiTrueAdminUser = 1
    Property (S): LogonUser = acc
    Property (S): UserSID = S-1-5-21-1305377269-4159824490-449157577-297538
    Property (S): UserLanguageID = 1033
    Property (S): ComputerName = W1613
    Property (S): SystemLanguageID = 1033
    Property (S): ScreenX = 1024
    Property (S): ScreenY = 768
    Property (S): CaptionHeight = 19
    Property (S): BorderTop = 1
    Property (S): BorderSide = 1
    Property (S): TextHeight = 16
    Property (S): TextInternalLeading = 3
    Property (S): ColorBits = 32
    Property (S): TTCSupport = 1
    Property (S): Time = 12:40:37
    Property (S): Date = 01/03/2012
    Property (S): MsiNetAssemblySupport = 2.0.50727.4927
    Property (S): MsiWin32AssemblySupport = 6.1.7600.16385
    Property (S): RedirectedDllSupport = 2
    Property (S): MsiRunningElevated = 1
    Property (S): The privilege = 1
    Property (S): Name of USER = KPN
    Property (S): COMPANYNAME = KPN
    Property (S): basis of DATA = C:\Windows\Installer\1ebf5f91.msi
    Property (S): OriginalDatabase = SSO x64\SSO64\SSO64.msi
    Property (S): UILevel = 2
    Property (S): MsiUISourceResOnly = 1
    Property (S): Preselected = 1
    Property (S): ACTION = INSTALL
    Property (S): AccountAuthenticatedUsers = authenticated users
    Property (S): AccountCreatorOwner = CREATOR OWNER
    Property (S): AccountPowerUsers = power users
    Property (S): AccountUsers = Users
    Property (S): ROOTDRIVE = D:\
    Property (S): CostingComplete = 1
    Property (S): OutOfDiskSpace = 0
    Property (S): OutOfNoRbDiskSpace = 0
    Property (S): PrimaryVolumeSpaceAvailable = 0
    Property (S): PrimaryVolumeSpaceRequired = 0
    Property (S): PrimaryVolumeSpaceRemaining = 0
    Property (S): INSTALLLEVEL = 1
    Property (S): Complus_XML_Data =

    Property (S): SOURCEDIR = SSO x64\SSO64\
    Property (S): SourcedirProduct = {F89B22BC-2768-4237-B300-5CFA52D9AC84}
    Property (S): ProductToBeRegistered = 1
    MSI (s) (AC:64) [12:40:37:260]: Note: 1: 1708
    MSI (s) (AC:64) [12:40:37:260]: product: Microsoft Enterprise Single Sign-On - the Installation operation failed.

    MSI (s) (AC:64) [12:40:37:275]: Windows Installer installed the product. Product name: Microsoft Enterprise Single Sign-On. Product version: 6.0.0245.0. Product language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 1603.

    MSI (s) (AC:64) [12:40:37:275]: see clean files/packages, if there
    MSI (s) (AC:64) [12:40:37:275]: MainEngineThread returned 1603
    MSI (s) (C AC:3) [12:40:37:275]: sequence number number for this installation system restore.
    = Logging stopped: 01/03/2012 12:40:37 =.
    MSI (s) (C AC:3) [12:40:37:275]: strategy user 'DisableRollback' is 0
    MSI (s) (C AC:3) [12:40:37:275]: policy value 'DisableRollback' Machine is 0
    MSI (s) (C AC:3) [12:40:37:275]: meter is incremented to disable the stop. Counter after increment: 0
    MSI (s) (C AC:3) [12:40:37:275]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3:2
    MSI (s) (C AC:3) [12:40:37:275]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3:2
    MSI (s) (C AC:3) [12:40:37:275]: disable the stop against the decrement. If counter > = 0, will be denied the stop.  Counter after decrement:-1
    MSI (s) (C AC:3) [12:40:37:275]: restoration of the environment variables
    MSI (s) (C AC:3) [12:40:37:275]: object to destroy RemoteAPI.
    MSI (s) (C AC:3) [12:40:37:275]: end of thread Custom Action Manager.
    MSI (c) (C0:58) [12:40:37:275]: disable the stop against the decrement. If counter > = 0, will be denied the stop.  Counter after decrement:-1
    MSI (c) (C0:58) [12:40:37:275]: MainEngineThread returned 1603
    = Recording stopped: 01/03/2012 12:40:37 =.

    Hello Philippe Gupta.

    Since the question you posted is on a Windows Server 2008-based computer, the question would be better suited on the TechNet support forum. Then I suggest you to post the question on the following link.

    http://social.technet.Microsoft.com/forums/en-us/newThread

  • If you have any with the itemrender have a control label and onther a gri data

    Hi friends,

    If you have any with the itemrender have a control label and onther a data grid control.

    In my application, I used list control. The list control's item converter. In my case if I click on the name list control, releated data corresponding to the data grid need to view and control the list as label.

    < mx:List width = "750" id = "Lst_userlist" verticalScrollPolicy = "off" horizontalScrollPolicy = "off" rowCount = "20".
    labelField = "sec_user_first_name + sec_user_last_name" labelFunction = "BindUserName" buttonMode = "true" itemClick = "Click_UserList (event)" > "

    < mx:itemRenderer >

    < fx:Component >

    < mx:VBox horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >

    < s:Label id = name = "{data .sec_user_first_name + data .sec_user_last_name 'lbl_userhead'} ' buttonMode ="true"color =" #000000 "/ >" "

    < mx:DataGrid height = "100%" id = "membershipGrid" alternatingItemColors = "[#DCDCDC, F8F8FF #]" "5" paddingLeft = horizontalScrollPolicy = "off" color = 'black '.
    horizontalGridLines = "false" verticalScrollPolicy = 'auto' verticalGridLines = rowCount = "{membershipArrColl.length 'false'}" rowHeight = "25" "
    borderSkin = "{null}" showHeaders = 'true' borderVisible = "false" dataProvider = "{membershipArrColl}" width = "750" visible = "false" includeInLayout = "false" >

    < mx:columns >
    < mx:DataGridColumn width = "180" headerText = "Name" minWidth = "150" sortable = "true" wordWrap = "true" >
    < mx:itemRenderer >
    < fx:Component >
    < mx:HBox horizontalScrollPolicy = "off" >
    < fx:Script >
    <! [CDATA]
    override public function set data(value:Object):void {}
    Super.Data = value;

    if(Data.home_sec_organization_id==Data.sec_organization_id)
    {
    FileImg.Load ("/ist_shared/ist_images/ist_icons/Modern/gif/16/hot/user_favorites_16_hot.gi f");
    }
    on the other
    {
    FileImg.Load("/ist_shared/ist_images/ist_icons/Modern/gif/16/dis/user_remove_16_dis.gif");
    }
    lbl_Gridcloumn_name. Text = Data + .sec_user_first_name""+ data.sec_user_last_name;
    }

    []] >

    < / fx:Script >
    < mx:Image id = "fileimg" buttonMode = "true" toolTip = "This is organization at the home page of the user" / >
    < s:Label id = "lbl_Gridcloumn_name" width = "200" buttonMode = "true" textDecoration = "underline" toolTip = "User Menu [{data.sec_user_name}]" click = "outerDocument.Click_Name (event); »    / >

    < / mx:HBox >
    < / fx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < mx:DataGridColumn width = "120" minWidth = "110" headerText = "Username" sortable = "true" dataField = "sec_user_name" / >

    < mx:DataGridColumn width = "100" minWidth = "80" headerText = "OrgName" dataField = "sec_org_name" >

    < / mx:columns >

    < / mx:DataGrid >



    < / mx:VBox >
    < / fx:Component >

    < / mx:itemRenderer >
    < / mx:List >

    Please help a whole for me...

    Thank you

    Mamoudou R.

    If I understand correctly, you want to display a different set of data in a DataGrid control for each selected item in a list?

    I would just use link:

    
    
    

    This assumes that this list is filled with the data elements in a format similar to this:

    {

    label: "Label 1 list."

    data:]

    {col1: "col1", col2: "col2"},

    {col1: "col1", col2: "col2"},

    {col1: "col1", col2: "col2"}

    ]

    }

  • To access the dataprovider of mxml component.

    Hello

    I have a dataprovider and want to access the data of mxml component.

    Basically, I

    ActionScript:

    [

    Bindable ]

    private

    var dp : Collection ArrayCollection;

    private

    function dp_handler(e:ResultEvent):Sub

    {

    DP = e.result

    as Collection ArrayCollection;

    }

    I wanted to access RFP since using the mxml component

    < mx:script >

    <! [CDATA]

    mx.core.Application;

    LBL. Text = Application.application.dp.getItemAt (0) .fieldname;

    []] >

    < mx:Label

    id=" LBL " x=" 51 " y=" 136 " />

    He continues to tell me dp is unknown property.  No idea what I am doing wrong?

    RFP to make public, not private.

  • How to complete the Panel two entire component with a graphic?

    I am trying to build in the ability to display one or both of these graphs.  They are ready to adapt to their respective component.  I can't move the separator to the right far enough to not display the right graph.  I tried to go through the chart display program, making them invisible, reset the size of the minimum pane, but does not.  This is just a small example; I am actually trying to do this with graphs of four to eight, but the same principle of vertical separator applies.  Is it possible to fill the entire Board with one of these graphs?  Any ideas?

    Robert,

    By the looks of things we will check that the components are not smaller than the minimum useful size of the controls that are set to scale with component.

    We should examine to determine if this is a bug or not (it wouldn't surprise me if we designed it that way), but in the meantime, there is a solution that can work for you.  Disable the option 'Scale with the pane object' and programmatically resize the graphics yourself every time that changes the size of the pane.  I have attached a functional demo (LV 2011 format, extract here for those with older versions).

    It is of course a workaround and not quite as clean as your solution but expected it should work unless there was another reason why you need auto-scaling with component.

    [The structure of the event is the capture of the Resize event of component for both components]

    Hope this helps,

    Simon

  • Error 1935. An error occurred during the installation of assembly component. HRESULT: 0 X 80070002

    original title: Error 1935. An error occurred during the installation of Assembly component__ {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E} __HRESULT: 0 x 80070002

    Hi, I get this error when installing acrobat reader.
    It get to 100% and then I get this message, I seems to be impossible to install photoshop as well...
    I know this must be a registry error, I tried running as administrator tried to reinstall acrobat, I tried to restart.
    And now im pretty much so desperate please help me!
    Thank you very much

    Error 1935. An error occurred during the installation of assembly component
    {98CB24AD-52FB-DB5F-A01F-C8B3B9A1E18E}
    HRESULT: 0 X 80070002

    Hello

    Step 1: If you are not able to do step 2 (manually remove and reinstall .NET Framework), then

    i. browse to C:\windows\winsxs\ x64_microsoft.vc80.atl_xxxxxxxxxxxxxxxxx
    II. right-click to rename it to x64_microsoft.vc80.atl_xxxxxxxxxxxxxxxxx.old
    III. then follow the step in http://support.microsoft.com/kb/923100
    IV. once the .net framework is re-installed.
    v. run the fix for Office 2010 to uninstall all traces of Office 2010 http://support.microsoft.com/kb/290301
    VI. then try to install.

    Diana
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to set the text html for a label?

    Hi all

    I'm trying to set the text html for a label programmatically by using the following code

     tourDescriptionLabel->setText(""+tourDiscHtmlString+"");
    

    but unfortunately my display of the label

    Some text’s most known

    I tried with this in webView has achieved the same result. I'm getting response json string. I've hardcoded, the response data such cases it shows how reqular.

    Thank you

    Dembélé George Jacob

    I got it

    Thank you for your support

    QString tourDiscHtmlString                        = tourSummary.value("tour_desc").toString();
        QTextDocument text;
        text.setHtml(tourDiscHtmlString);
        QString plain = text.toPlainText();
       tourDescriptionTextArea->setText(""+plain+"");
    
  • During the installation of MSXML 4.0 SP3 for age of mythology, I get "an error has occurred in the installation of assembly component"

    When I was younger, and I wanted to play again for some reason, I've played the game age of Mythology. I spent some time making the installer to make it work, then I tried to play the game. As the intro to fantasy has been done and the main menu was about to appear... The game crashed and he said I need MSXML 4.0. After spending 2 hours to do the work of the installer, I was a little upset that I had to fix something else. I downloaded the MSXML 4.0 SP3 because he said it was a compatible with windows 7. I ran the installer and it gave me an error like this:

    "An error occurred during the installation of assembly component"

    {74974F83-779E-3983-A06B-D6B9ABF34537}

    HRESULT: 0 X 80070003

    I tried for about 4 hours on forums like this, but nothing has worked. I looked around my computer and I can't find anything on MSXML. One thing that I suspect me, is that I got my computer wiped out about 6 months ago. I don't know this only erased. I have a Windows 7 64 bit Home Premium.

    I spent so much time for a game that has been a joy to play, you can help me find a solution.

    Original title: MSXML 4.0 SP3 'an error occurred during the installation of assembly component.

    Hello

    Thanks again for your response.

    Please refer to the suggestions of Halima S replied on 28 October 2010 and check if that helps.
    http://answers.Microsoft.com/en-us/Windows/Forum/windows_other-gaming/error-with-MSXML-40-in-Windows-7-64bit/19afaa80-6c5f-459e-9C0D-0aa5887bcd34

    I hope this information helps you.

    Thank you

  • Error 1935. An error occurred during the installation of assembly component: try to install CorelDraw X 5

    Win 7 64, Sony Vaio. I have installed Net 4 (previous issues have been reported with 2 Net on a BONE earlier).

    Product: Try to install the Suite CorelDraw X 5.

    I uninstalled my AntiVirus software, rebooted, defraged, ran a registry repair, ran as administrator. Tried to use two files from different sites. Searched the Web for clues, including Corel Forums.

    Anyone has an idea on the problem?

    ----------------------------------------
    I "think" the problem is with the MSI installer, but don't know why others have not had problems.

    Here's the info to view event > Application: _

    Product: CorelDRAW Graphics Suite X 5 - Redist - Error 1935.An error occurred during the installation of Assembly component {F0EB0F87-928F-3AF9-BC60-45AA94759E41}. HRESULT: 0 X 80070002. Assembly interface: returned IAssemblyCacheItem, function: commit, assembly name: Microsoft.VC90.CRT, publicKeyToken is "1fc8b3b9a1e18e3b", version = "9.0.30411.0", type = "win32", processorArchitecture is "amd64"

    - http://schemas.microsoft.com/win/2004/08/events/event">
    -
     
      11935
      2
      0
      0 x 80000000000000
     
      14104
      Application
      Pat-VAIO
     
     

    -
      Product: CorelDRAW Graphics Suite X 5 - Redist - Error 1935.An error occurred during the installation of Assembly component {F0EB0F87-928F-3AF9-BC60-45AA94759E41}. HRESULT: 0 X 80070002. Assembly interface: returned IAssemblyCacheItem, function: commit, assembly name: Microsoft.VC90.CRT, publicKeyToken is "1fc8b3b9a1e18e3b", version = "9.0.30411.0", type = "win32", processorArchitecture is "amd64"
      (NULL)
      (NULL)
      (NULL)
      (NULL)
      (NULL)
     
      7B35393132334343462D464544322D343646462D393239332D4431444338303034323231397D
     

     

    ----------------------------

    Here's the info to view event > system _

    The TrustedInstaller service failed to start due to the following error:
    The system cannot find the specified file.

    - http://schemas.microsoft.com/win/2004/08/events/event">
    -
     
      7000
      0
      2
      0
      0
      0 x 8080000000000000
     
      23596
     
     
      System
      Pat-VAIO
     
     

    -
      TrustedInstaller
      %%d Ko
     

     

    Andrew, thanks for your response. I tried all that. What happened... I was looking for solutions, I started having problems with my FireFox browser, then my IE browser. Then I noticed other problems of stability. Not sure what caused it, but I decided to just go ahead and restore my Win 7 in original factory condition and X 5 installed without a hitch. NET 4 doesn't load until after installation, so I don't know if it's causing problems, or if it was just my whole system. I think that a program back - up my data online in real time could be the cause of stability issues. In any case, five hours later, I got this job, and I don't think it was a problem of Corel.

    Once again, thank you. Offer good advice!

  • An error occurred during the installation of Assembly component, cannot install MSXML 4.0 SP2

    Original title: error downloading MSXML 4.0 SP2

    I have trouble to install MSXML 4.0 SP2 Parser and SDK.  An error message appeared:
    An error occurred during the installation of assembly component
    {303994BA-6487-47AE-AF-1D-7AF6088EEBDB}.
    HRESULT: 0X800736FD.

    Hello

    1. What is the exact full error you get when you try to install MSXML 4.0 SP2?

    2 are you able to install other applications on your computer successfully?

    3. how you try to install the MSXML 4.0 SP2?

    4. have you made changes on the computer before this problem?

    Method 1:

    You can run the fix - it from the following link.

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Method 2:

    Step 1:

    You try to install MSXML 4.0 Service Pack 2 in the clean boot state. Read the following article.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    NOTE: once you are done with the boot, please follow step 7 of article to reset your computer to normal startup.

    Step 2:

    Check out the following link.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=13631

    See also:

    http://social.msdn.Microsoft.com/forums/en-CA/xmlandnetfx/thread/e7a63b76-63ec-47A9-86fa-7e7cdb2bc0a8

    http://support.Microsoft.com/kb/973688

    It will be useful.

  • Hi, receive error message: Error 1935 when trying to install adobe photoshop elements 11. An error occurred during the installation of Assembly component {9F81AF1-0E47-DC99-A01F-C8B3B9A1E18E}. HRRESULT:0 X 80070057. Can anyone help? I use windows Vista an

    Hi, receive error message: Error 1935 when trying to install adobe photoshop elements 11. An error occurred during the installation of Assembly component {9F81AF1-0E47-DC99-A01F-C8B3B9A1E18E}. HRRESULT:0 X 80070057. Can anyone help? I use windows Vista and the DVD is to this system. May this be the cause?

    Error 1935. Assembly Microsoft.VC80.CRT component | Install | Adobe Creative Suite 5.5, CS5, CS4 | Windows

  • I have a purchased Adobe Creative Suite 3 Design Standard. As I changed my PC, I can't use my original installation CD. I tried to download the programs on the web, but get "COMPONENT INSTALL FAILED" what should I do?

    I have a purchased Adobe Creative Suite 3 Design Standard. As I changed my PC, I can use my original installation CD.

    I tried to download the programs on the web, but get "COMPONENT INSTALL FAILED".

    What should I do?

    Please see:

    Error "problems occurred during installation". CS3

    https://helpx.Adobe.com/Creative-Suite/KB/install-Photoshop-CS3-get-error.html

    I hope this helps.

    Concerning

    Megha Rawat

  • ERROR: An error occurred during the installation of assembly component / ERROR: load capacity of third-party installer Adobe_Lightroom_x64.msi failed with exit code: 1603

    During the Installation of LR, I get an error message. Initially, I didn't have enough space for the installation on the boot partition drive. However, now, it should be enough and I rebooted the computer, a couple of times, so I guess that the temporary installation files have been deleted.

    Now, however every time I try to reinstall the software I get the following messages:

    ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ ---

    ERROR: An error occurred during the installation of Assembly component {6435B7C0-E0C8-3EA2-91AE-7640034EAFCE}. HRESULT: 0 X 80070002.

    ERROR: Install payload MSI failed with the error: 1603 - Schwerwiegender Fehler bei der Installation.

    MSI error message: an error occurred during the installation of Assembly component {6435B7C0-E0C8-3EA2-91AE-7640034EAFCE}. HRESULT: 0 X 80070002.

    ERROR: installer of third party Adobe_Lightroom_x64.msi payload failed with exit code: 1603

    ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------ ---

    Given that the PS has been installed without problem I refrain from uninstalling the creative cloud and start over.

    Any tips?

    THX

    Claasd5335054 these errors can be found in the event viewer.  It is available through the Administrative Tools Control Panel.

  • execution of the procedure with refcursor as output parameter

    Hi I have the package following a procedure with parameter as refcursor OUT.
    Here is an example of sample with the same structure with name in the other table, handling exceptions in my dev environment
    CREATE OR REPLACE PACKAGE TEST_PACK
      IS
    Type refCursor  is  REF CURSOR;
    PROCEDURE TEST_PROC (out_data out refCursor);
    END;
    
    
    CREATE OR REPLACE PACKAGE BODY TEST_PACK 
     IS
     Procedure test_proc (
            out_data out refCursor
                ) is
        --
        v_sql varchar2(4000);
       
        --
        begin
    
               v_sql := 'select
                        * from emp';
                       
            DBMS_OUTPUT.PUT_LINE ( 'Select Query is: '||v_sql );
    
            open out_data for v_sql;
    
            Exception
                when others then
                    DBMS_OUTPUT.PUT_LINE ( 'Error '|| SQLCODE ||','||SQLERRM );
    
       END;   
    end ;
    When I try to execute this procedure with the followig block
    DECLARE
       TYPE my_newcursor IS REF CURSOR;
       test_cur   my_newcursor;
      out_text      VARCHAR2 (4000);
    BEGIN
       TEST_PACK.test_proc(TEST_CUR) ;
       LOOP
          FETCH test_cur INTO out_text;    
          EXIT WHEN test_cur%NOTFOUND;
          dbms_output.put_line('Value of refcur is:'||out_text);
       END LOOP;
         CLOSE test_cur;  
    END;
    I get the following error
    ORA-00932: inconsistent datatypes: expected - got -
    ORA-06512: at line 8
    Could you please help me where I am doing wrong

    Thank you

    You must extract your data to an appropriate data type.

    (and note there is no need to declare your own ref cursor type as Oracle provides sys_refcursor at the end)

    for example

    SQL> set serverout on
    SQL>
    SQL> create or replace procedure test_proc(out_data out sys_refcursor) is
      2    v_sql varchar2(4000);
      3  begin
      4    v_sql := 'select * from emp';
      5    DBMS_OUTPUT.PUT_LINE ( 'Select Query is: '||v_sql );
      6    open out_data for v_sql;
      7  end;
      8  /
    
    Procedure created.
    
    SQL>
    SQL> declare
      2    rc     sys_refcursor;
      3    empRec emp%rowtype;
      4  begin
      5    test_proc(rc);
      6    loop
      7      fetch rc into empRec;
      8      exit when rc%notfound;
      9      dbms_output.put_line('Employee: '||empRec.empno||' - '||empRec.ename);
     10    end loop;
     11    close rc;
     12  end;
     13  /
    Select Query is: select * from emp
    Employee: 7369 - SMITH
    Employee: 7499 - ALLEN
    Employee: 7521 - WARD
    Employee: 7566 - JONES
    Employee: 7654 - MARTIN
    Employee: 7698 - BLAKE
    Employee: 7782 - CLARK
    Employee: 7788 - SCOTT
    Employee: 7839 - KING
    Employee: 7844 - TURNER
    Employee: 7876 - ADAMS
    Employee: 7900 - JAMES
    Employee: 7902 - FORD
    Employee: 7934 - MILLER
    
    PL/SQL procedure successfully completed.
    
    SQL>
    

    Why do you use a slider ref anyway?

    {: identifier of the thread = 886365}

  • Cannot customize the skin of a component of the ist

    I need to change the skin of a list item.

    I read the Adobe link to this topic:

    http://help.Adobe.com/en_US/AS3/components/WS5b3ccc516d4fbf351e63e3d118a9c65b32-7f41.html

    but when I try:

    "Double-click the CellRenderer envelope to open a second range of skins for the different States of a cell in the list.

    as you can read in the above link, the second palette does not appear.

    Why?

    Thank you.

    In the instructions you listed, he wants that you open the component list of the scene. It apparently no longer works. Open the library window and you will see the list component. Open the folder named "active component". In this folder, you should find a folder named 'Cell Renderer Skins'. There, you will find the different parts of the component that you can modify.

Maybe you are looking for

  • FireFox does not have "full screen". .

    When you try to use the FULL SCREEN function by clicking on the MSDS icon or by using the F11 the browser won't go full-screen. The title bar, Menu bar, area address including my displayed ICONS and my Bookmarks Toolbar will not go upward and out of

  • SeriesDevice HP Photosmart C7200

    My printer has shown, ink system failure, and not print or copy again

  • Is it possible to run 95 Vista compatible games?

    Im running Windows Vista64.  Y at - it a patch to run a Windows 95 pc based game «Allied» general

  • Network card does not properly

    I just bought a Windows 7 HP Pavilion HPE with an Atheros AR8161/8165 PCI - E Gigabit Ethernet Controller. When I restart the computer, the network adapter does not work, I check the driver updates and they indicate that the driver of the card has th

  • Creative Cloud app displayed no file Menu or apps in Windows 10

    At the launch of creative cloud it opens in white with just the heading creative cloud in white text on a black background. Do not display applications.My computer Windows 10 meets all of the minimum requirements for creative Cloud applications and I