PureMVC Architects Lounge

Announcements and General Discussion => Public Demos, Tools and Applications => Topic started by: eliatlas on December 28, 2011, 04:50:06



Title: Pure MVC Console with pure AS3 project
Post by: eliatlas on December 28, 2011, 04:50:06
Hi All

I am trying to use the Kap Lab console with my AS3 project.
The idea is to make a Flex application that will initiate my original AS3 application.

Is there a better way?
Also, for now I did not manage to make it work, is it even possible?

Thanks
Eli


Title: Re: Pure MVC Console with pure AS3 project
Post by: puremvc on December 28, 2011, 09:03:51
I am trying to use the Kap Lab console with my AS3 project. ...Also, for now I did not manage to make it work, is it even possible?
The console should work equally well with Flex or AS3 applications

The idea is to make a Flex application that will initiate my original AS3 application.
I'm not sure how the Kap Lab console, which is for debugging your app, is involved in the plan to launch (or load?) an AS3 app from a Flex app. Can you elaborate on what it is you're trying to make happen and how the console fits into that scheme?


Title: Re: Pure MVC Console with pure AS3 project
Post by: eliatlas on January 01, 2012, 12:34:09
I'm not sure how the Kap Lab console, which is for debugging your app, is involved in the plan to launch (or load?) an AS3 app from a Flex app. Can you elaborate on what it is you're trying to make happen and how the console fits into that scheme?
Please ignore what I asked. The reason I was asking it is that assumed that the error is happening because of the fact that the application is pure AS3.
About the error I get:
I am compiling an AS3 project, with SDK 4.1.
Right now the application Facede overrides the DebugFacade as it explained here:
http://lab.kapit.fr/display/puremvcconsole/PureMVC+Console+Integration+Guide

I am trying to initiate the console like this:

:
var p : PureMVCConsole = new PureMVCConsole();
and this is the error I receive:

:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at fr.kapit.popup::PopupLoader()
at fr.kapit::PureMVCConsole()



Title: Re: Pure MVC Console with pure AS3 project
Post by: puremvc on January 03, 2012, 08:55:53
Have you tried asking Kap IT? I'm not sure what their DebugFacade does that would cause problems, but based on the error output perhaps it's using some Flex components to do Popups somehow?

-=Cliff>