Story Pixel

Independent Interaction of Sam Wilson

  • Paul Savinsky

    Interesting method! I typically search the current url for “http://” but this is a bit more elegant.

    Thu, July 02, 2009 at 5:04pm
    Paul Savinsky's gravatar
  • Srinivas Tamada

    Fantastic work…....

    Sat, July 18, 2009 at 1:08am
    Srinivas Tamada's gravatar
  • Sam Wilson

    Thanks Srinivas for that, have an excellent week!

    Mon, July 20, 2009 at 10:17am
    Sam Wilson's gravatar
  • Tiffani

    i am a frustrated web amature.  I recently designed the above site through css “guess work.” i works…but i LOVE your work and i am having a ton of difficulty trying to figure some “basic” things out with css.  Can you help?  Any books you recommend?  I cant figure out how to CENTER my page in a browser withOUT the links and text moving/shifting when the window is re-sized.  PLEASE if you can, HELP.

    Wed, July 29, 2009 at 3:20pm
    Tiffani's gravatar
  • Brian Endicott

    Your work is great, I am gonna have to ask if you have any recommendations on books or websites that can help me beef up my action scripting. I am a graphic designer and would love very much to get into more action scripting to improve my websites!

    Thanks

    Brian

    Mon, August 17, 2009 at 8:31am
    Brian Endicott's gravatar
  • Sam Wilson

    re: Tiffani, I’d like to be able to tell you that it was easy but the way I learned CSS was by a lot of practice although with the proper tools you can speed up things. There is a brilliant book called CSS Mastery that helped me with CSS. Also I love CSS Edit for tweaking the CSS (software). For HTML programming, I recommend staying far, far away from WYSIWYG stuff and go with TextMate or Coda. If you are on Windows, Google for the equivalents of TextMate and Coda for the PC.

    re: Brian, definitely there are a lot of amazing Flash programming sites out there. I actually haven’t followed any for a long time, but my advice is to look into a very simple MVC implementation and understand it as much and as soon as possible. If you eventually perfectly understand MVC, you’ll understand (as a bonus) many other things like OOP, events, encapsulation… all fancy ways of saying “overall good program organization.”

    Wed, August 19, 2009 at 7:45pm
    Sam Wilson's gravatar
  • Brian Endicott

    Ok, now i have to ask what MVC is and if its something simple that I couldn’t think of I am gonna be mad at myself !!lol

    Fri, August 21, 2009 at 6:52pm
    Brian Endicott's gravatar
  • Brian Endicott

    Ok, now i have to ask what MVC is and if its something simple that I couldn’t think of I am gonna be mad at myself !!lol

    Fri, August 21, 2009 at 6:52pm
    Brian Endicott's gravatar
  • brian Endicott

    Ok I looked it up! Do you know if there are sites dedicated to MVC programming or books?? I have a book on action script from Adobe. I am just wanting to make sure I am heading in the right directions!

    Thanks

    B

    Fri, August 21, 2009 at 6:57pm
    brian Endicott's gravatar

have your say...

Determining domain

Many times in building a Flash app, you need to know what your current domain is. Sometimes you need to know from where to load in assets depending on if you are testing on your computer in the IDE or if the application is live on a server.

A convenient way to determine your current loading path is an oldie but goodie—the domain property of LocalConnection.

var executingDomain:String = new LocalConnection().domain; if (executingDomain == ‘localhost’) { // If localhost, then we are running the flash in the IDE on our computer executingDomain = "" }else { // If online, then the executing domain will be the url, which we complete with 'http://' and '/' executingDomain = 'http://' + executingDomain + '/' }