; // Event handler for the MenuBar control's itemClick event. private function menuHandler(event:MenuEvent):void { Alert.show("Label: " + event.item.@label + "\n" + "Data: " + event.item.@data, "Clicked menu item"); } // Event handler to initialize the MenuBar control. private function initCollections():void { menuBarCollection = new XMLListCollection(menubarXML); } ]]> can you compile it? Any ideas..... Thx Luca[M] [allowsmilie] => 1 [showsignature] => 0 [ipaddress] => [iconid] => 0 [visible] => 1 [attach] => 0 [infraction] => 0 [reportthreadid] => 0 [isusenetpost] => 1 [msgid] => [ref] => [htmlstate] => on_nl2br [postusername] => Luca[M] [ip] => meg.a@tiscali.i [isdeleted] => 0 [usergroupid] => [membergroupids] => [displaygroupid] => [password] => [passworddate] => [email] => [styleid] => [parentemail] => [homepage] => [icq] => [aim] => [yahoo] => [msn] => [skype] => [showvbcode] => [showbirthday] => [usertitle] => [customtitle] => [joindate] => [daysprune] => [lastvisit] => [lastactivity] => [lastpost] => [lastpostid] => [posts] => [reputation] => [reputationlevelid] => [timezoneoffset] => [pmpopup] => [avatarid] => [avatarrevision] => [profilepicrevision] => [sigpicrevision] => [options] => [akvbghsfs_optionsfield] => [birthday] => [birthday_search] => [maxposts] => [startofweek] => [referrerid] => [languageid] => [emailstamp] => [threadedmode] => [autosubscribe] => [pmtotal] => [pmunread] => [salt] => [ipoints] => [infractions] => [warnings] => [infractiongroupids] => [infractiongroupid] => [adminoptions] => [profilevisits] => [friendcount] => [friendreqcount] => [vmunreadcount] => [vmmoderatedcount] => [socgroupinvitecount] => [socgroupreqcount] => [pcunreadcount] => [pcmoderatedcount] => [gmmoderatedcount] => [assetposthash] => [fbuserid] => [fbjoindate] => [fbname] => [logintype] => [fbaccesstoken] => [newrepcount] => [vbseo_likes_in] => [vbseo_likes_out] => [vbseo_likes_unread] => [temp] => [field1] => [field2] => [field3] => [field4] => [field5] => [subfolders] => [pmfolders] => [buddylist] => [ignorelist] => [signature] => [searchprefs] => [rank] => [icontitle] => [iconpath] => [avatarpath] => [hascustomavatar] => 0 [avatardateline] => [avwidth] => [avheight] => [edit_userid] => [edit_username] => [edit_dateline] => [edit_reason] => [hashistory] => [pagetext_html] => [hasimages] => [signatureparsed] => [sighasimages] => [sigpic] => [sigpicdateline] => [sigpicwidth] => [sigpicheight] => [postcount] => 1 [islastshown] => [isfirstshown] => 1 [attachments] => [allattachments] => ) --> [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass - Macromedia Flex General Discussion

[FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass - Macromedia Flex General Discussion

hi guys, i can't compile mxml with flex 2.0 sdk this is the output : "C:\Program Files\Adobe\Flex2SDK\bin\mxmlc.exe" "prova.mxml" -accessible=false -allow-source-path-overlap=false -as3=true -benchmark=true -debug=true -default-background-color 13421823 -default-frame-rate 24 -es=false -generate-frame-loader=false -headless-server=true -incremental=false -keep-generated-actionscript=false -lazy-init=false -optimize=false -show-actionscript-warnings=true -show-binding-warnings=true -show-deprecation-warnings=true -strict=true -use-network=true -verbose-stacktraces=false -warnings=true Loading configuration file C:\Program Files\Adobe\Flex2SDK\frameworks\flex-config.xml Initial setup: 421ms Loaded 7 SWCs: 1000ms Error: Unable to resolve a class for factoryClass: _prova_mx_managers_SystemManager. Files: 366 Time: 4907ms Total time: 6328ms and this is the file prova.mxml [url]http://livedocs.macromedia.com/flex/2/langref/mx/controls/MenuBar.html#event:itemClick[/url] <?xml version="1.0"?> <!-- Simple example to demonstrate the MenuBar control. --> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initCollections();" > <mx:Script> <![CDATA[ import mx.events.MenuEvent; import mx.controls.Alert; import mx.collections.*; [Bindable] ...

  1. #1

    Default [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass

    hi guys, i can't compile mxml with flex 2.0 sdk
    this is the output :

    "C:\Program Files\Adobe\Flex2SDK\bin\mxmlc.exe"
    "prova.mxml" -accessible=false -allow-source-path-overlap=false -as3=true -benchmark=true
    -debug=true -default-background-color 13421823 -default-frame-rate
    24 -es=false -generate-frame-loader=false -headless-server=true -incremental=false
    -keep-generated-actionscript=false -lazy-init=false -optimize=false -show-actionscript-warnings=true
    -show-binding-warnings=true -show-deprecation-warnings=true -strict=true -use-network=true
    -verbose-stacktraces=false -warnings=true
    Loading configuration file C:\Program
    Files\Adobe\Flex2SDK\frameworks\flex-config.xml
    Initial setup: 421ms
    Loaded 7 SWCs: 1000ms
    Error: Unable to resolve a class for factoryClass:
    _prova_mx_managers_SystemManager.
    Files: 366 Time: 4907ms
    Total time: 6328ms

    and this is the file prova.mxml
    [url]http://livedocs.macromedia.com/flex/2/langref/mx/controls/MenuBar.html#event:itemClick[/url]

    <?xml version="1.0"?>
    <!-- Simple example to demonstrate the MenuBar control. -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="initCollections();" >

    <mx:Script>
    <![CDATA[

    import mx.events.MenuEvent;
    import mx.controls.Alert;
    import mx.collections.*;

    [Bindable]
    public var menuBarCollection:XMLListCollection;

    private var menubarXML:XMLList =
    <>
    <menuitem label="Menu1">
    <menuitem label="MenuItem 1-A" data="1A"/>
    <menuitem label="MenuItem 1-B" data="1B"/>
    </menuitem>
    <menuitem label="Menu2">
    <menuitem label="MenuItem 2-A" type="check"
    data="2A"/>
    <menuitem type="separator" />
    <menuitem label="MenuItem 2-B" >
    <menuitem label="SubMenuItem 3-A" type="radio"
    groupName="one" data="3A"/>
    <menuitem label="SubMenuItem 3-B" type="radio"
    groupName="one" data="3B"/>
    </menuitem>
    </menuitem>
    </>;

    // Event handler for the MenuBar control's itemClick event.
    private function menuHandler(event:MenuEvent):void {
    Alert.show("Label: " + event.item.label + "\n" +
    "Data: " + event.item.data, "Clicked menu item");
    }

    // Event handler to initialize the MenuBar control.
    private function initCollections():void {
    menuBarCollection = new XMLListCollection(menubarXML);
    }
    ]]>
    </mx:Script>

    <mx:Panel title="MenuBar Control Example" height="75%" width="75%"
    paddingTop="10" paddingLeft="10">

    <mx:Label width="100%" color="blue"
    text="Select a menu item."/>

    <mx:MenuBar labelField="label" itemClick="menuHandler(event);"
    dataProvider="{menuBarCollection}" />

    </mx:Panel>
    </mx:Application>


    can you compile it? Any ideas.....

    Thx

    Luca[M]


    Luca[M] Guest

  2. #2

    Default Re: [FLEX 2.0 SDK] error compile: Unable to resolve aclass for factoryClass

    This forum is for Flex 1.5 questions. Notice the title.

    Please post 2.0 questions in the 2.0 General Discussion forum.

    Tracy
    ntsiii Guest

  3. #3

    Default Re: [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass

    > This forum is for Flex 1.5 questions. Notice the title.
    sorry but my title is :
    Newsgroups: macromedia.flex.general_discussion
    (?? where is 1.5?? )
    > Please post 2.0 questions in the 2.0 General Discussion forum.
    ok
    ciao
    Luca[M]


    Luca[M] Guest

  4. #4

    Default Re: [FLEX 2.0 SDK] error compile: Unable to resolve a class for factoryClass

    Same here.

    --
    Lon Hosford
    [url]www.lonhosford.com[/url]
    Flash, Actionscript and Flash Media Server examples:
    [url]http://flashexamples.hosfordusa.com[/url]
    May many happy bits flow your way!
    "Luca[M]" <meg.atiscali.it> wrote in message
    news:ebcvmv$l93$1forums.macromedia.com...
    >> This forum is for Flex 1.5 questions. Notice the title.
    > sorry but my title is :
    > Newsgroups: macromedia.flex.general_discussion
    > (?? where is 1.5?? )
    >
    >> Please post 2.0 questions in the 2.0 General Discussion forum.
    >
    > ok
    > ciao
    > Luca[M]
    >

    Motion Maker Guest

Similar Threads

  1. error: unable to resolve '/images/datepicker.png' for transcoding
    By taiq in forum Macromedia Flex General Discussion
    Replies: 4
    Last Post: June 23rd, 09:33 PM
  2. Error: unable to resolve '/images/title.png' fortranscoding
    By monkeyden.com in forum Macromedia Flex General Discussion
    Replies: 1
    Last Post: April 23rd, 06:03 AM
  3. #24606 [Opn]: Compile Error- Unable to install OpenLink IODBC Support
    By kalowsky@php.net in forum PHP Development
    Replies: 1
    Last Post: July 11th, 04:05 PM
  4. #24606 [Fbk->Opn]: Compile Error- Unable to install OpenLink IODBC Support
    By wolf at nbm dot com in forum PHP Development
    Replies: 0
    Last Post: July 11th, 03:37 PM
  5. #24606 [NEW]: Compile Error- Unable to install OpenLink IODBC Support
    By wolf at nbm dot com in forum PHP Development
    Replies: 0
    Last Post: July 11th, 03:11 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139