Skip to main content
Participant
July 9, 2010
Question

Passing flashvars data

  • July 9, 2010
  • 1 reply
  • 1919 views

Hi guys!

I'm new here!

So I've been starting using cairngorm to develop this piece of software but then I ran into the problem of passing the flashVars from the main application to the business processes.

Basically the setup would be like this:

1) I have a flashVar that will be accessed of course through Application.application.parameters.parameter_name_here.

2) onCreationComplete, I need to pass this variable (I really don't know where I should pass this variable)

3) I need that variable to reach my Delegate class that will call an amf request and I need that said variable to be used as parameter.

So my question is how/where will I pass that variable so that it will reach my Delegate class.

Regards,

Kromyko

This topic has been closed for replies.

1 reply

February 3, 2011

I recommend looking at the Cairngorm Task library – http://sourceforge.net/adobe/cairngorm/wiki/CairngormLibraries/#Task – to manage the flow of the tasks you need to perform on start up.

Follow the sample applications and guidelines here for other application structure examples and recommendations.

http://sourceforge.net/adobe/cairngorm/wiki/CairngormGuidelines/