Jump to content

seperate actionscript and mxml

- - - - -

  • Please log in to reply
3 replies to this topic

#1
P98

P98

    Newbie

  • Members
  • PipPip
  • 14 posts
i search for a temperature converter in flex and found this But the actionscript code and mxml code is all mixed up. Is there a way to seperate the two ?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Given how short it is, I'm not clear on what the problem is.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
P98

P98

    Newbie

  • Members
  • PipPip
  • 14 posts
oops sorry. I want to seeprate the view from the controller. How can i do that ?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
1) I don't program in actionscript
2) the linked code is only 25 lines long, total.

So, is the issue understanding the code and moving it to where you need it in your program, or not understanding how to call code in actionscript, or something else? What code do you have so far?
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users