Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 40

Thread: HOWTO : developing flex with gvim

  1. #11
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : developing flex with gvim

    you can use either.

    but mxml tends to be easier to layout things (and it's easier to bind things and use event handlers in mxml)

    I suggest going through this http://www.adobe.com/devnet/flex/?tab:samples=1

    because there's only so much I can explain, mainly because I'm not too good at explaining things, and I don't have much spare time atm, and I'm still very much learning myself
    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

  2. #12
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO : developing flex with gvim

    oops, lol, sorry i looked more at your first post on this, it was very obvious, i was being stupid
    Hey! You just found my signature!

  3. #13
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : developing flex with gvim

    Quote Originally Posted by rtoot3 View Post
    oops, lol, sorry i looked more at your first post on this, it was very obvious, i was being stupid
    that's alright
    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

  4. #14
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO : developing flex with gvim

    ok i dont know if im just stupid, or flex doesnt like me, but i put in this code

    <?xml version="1.0"?>
    <!-- mxml\DefProp.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >

    <!-- Omit the default property. -->
    <mx:ComboBox>
    <mx:ArrayCollection>
    <mx:String>AK</mx:String>
    <mx:String>AL</mx:String>
    <mx:String>AR</mx:String>
    </mx:ArrayCollection>
    </mx:ComboBox>

    <!-- Explicitly speficy the default property. -->
    <mx:ComboBox>
    <mx:dataProvider>
    <mx:ArrayCollection>
    <mx:String>AK</mx:String>
    <mx:String>AL</mx:String>
    <mx:String>AR</mx:String>
    </mx:ArrayCollection>
    </mx:dataProvider>
    </mx:ComboBox>
    </mx:Application>

    and saved it as HelloWorld.as, then i typed in the terminal mxmlc HelloWorld.as and this is what the output was

    Loading configuration file /usr/local/flex/frameworks/flex-config.xml
    Error: unable to open 'HelloWorld.as'

    Use 'mxmlc -help' for information about using the command line.

    help me in my stupidness!
    Hey! You just found my signature!

  5. #15
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO : developing flex with gvim

    ok sorry again for my stupidness, i found out that was because i didnt cd to where i saved it, but this time with the same file(except i renamed it snackytreat.as) i did mxmlc command and it comes up with this

    /home/ryland/Desktop/snackytreat.as(3): col: 4 Error: Label must be a simple identifier.

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
    ^

    /home/ryland/Desktop/snackytreat.as(3): col: 17 Error: Attribute is invalid.

    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" >
    ^

    /home/ryland/Desktop/snackytreat.as(6): col: 4 Error: Label must be a simple identifier.

    <mx:ComboBox>
    ^

    /home/ryland/Desktop/snackytreat.as(12): col: 1 Error: Syntax error: expecting identifier before xmltagstartend.

    </mx:ComboBox>
    ^
    WHY DOES EVERYTHING GO WRONG FOR ME!?!?!?
    Hey! You just found my signature!

  6. #16
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : developing flex with gvim

    you have to save mxml files with a .mxml extension

    also. a forum better suited to flash/actionscript/flex specific questions would be over here http://board.flashkit.com/board/
    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

  7. #17
    Join Date
    Apr 2008
    Location
    Placelandia
    Beans
    91
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: HOWTO : developing flex with gvim

    k ill go there, and thank you so much! youve been a huge help, just one more thing though, the default background color for the flash objects is like a grayish color, do you know how to change that?
    Hey! You just found my signature!

  8. #18
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : developing flex with gvim

    Quote Originally Posted by rtoot3 View Post
    k ill go there, and thank you so much! youve been a huge help,
    no probs

    just one more thing though, the default background color for the flash objects is like a grayish color, do you know how to change that?
    http://livedocs.adobe.com/flex/201/h...er_064_04.html

    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

  9. #19
    Join Date
    Apr 2008
    Location
    Colombia
    Beans
    24
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: HOWTO : developing flex with gvim

    wich sdk should i download ?? i see 2 one for windows one for mac, so i dont know wich should i download :/

  10. #20
    Join Date
    May 2006
    Location
    Victoria, Australia
    Beans
    648
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO : developing flex with gvim

    hmm, weirdly the link in my first post pointed to the downloads for the flex builder...

    the sdk can be found here http://www.adobe.com/products/flex/f...ads/index.html

    (I've updated the first post to point there)
    if u find some of my ideas weird...look at my avatar for the reason
    http://delfick.storage.googlepages.c...ycfuserbar.png

Page 2 of 4 FirstFirst 1234 LastLast

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
  •