dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Best approach for common functions?

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    13

    Best approach for common functions?

    I'm new to Flex Builder 3 and am starting to build up a number of functions that I'd like to use across many of my different Flex projects.

    I'm sure there are a number of ways to do this, but what is the best approach for building a set of common functions and including them in multiple projects?

    Many thanks,

    Steve

  2. #2
    Junior Member
    Join Date
    Jul 2008
    Posts
    13

    Best approach for common functions?

    I'm new to Flex Builder 3 and am starting to build up a number of functions that I'd like to use across many of my different Flex projects.

    I'm sure there are a number of ways to do this, but what is the best approach for building a set of common functions and including them in multiple projects?

    Many thanks,

    Steve

  3. #3
    supervillain gerbick's Avatar
    Join Date
    Jul 2000
    Location
    undecided.
    Posts
    18,978
    External *.as, simply include them into the other files... just as you would with external classes in Flash CS3. That's my typical approach.

    [ Hello ] | [ gerbick ] | [ Ω ]

  4. #4
    Junior Member
    Join Date
    Jul 2008
    Posts
    13
    "Simply" you say... ;-) At this point, nothing is simple for me! ;-) I don't know Flash either but I get your point. Do you usually keep the .as's in on directory?.. project?..

    Thanks for the reply btw!

  5. #5
    Member
    Join Date
    Sep 2002
    Location
    Seattle
    Posts
    93
    Use a "Shared Runtime Lib" or even a Module.

    Bye now,

    Greg

  6. #6
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    make a .swc using compc - then refer to it in your lib path

    http://livedocs.adobe.com/flex/3/htm...pilers_30.html

  7. #7
    Junior Member
    Join Date
    Jul 2008
    Posts
    13
    Great ideas, thanks for all the advice!

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center