I'm trying to call a MG event from a stand alone page. So for
example,when someone browses to test.cfm gets, I want to really be
executing what would happen if the user would have instead browsed to
index.cfm?event=someEvent.

The reason for this is I'm trying to control access to my swf file, so
I'm doing something like:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
   <param name="movie" value="/path/to/my/flex/getFlex.cfm" />
</object>

The getFlex.cfm file will make sure they are authorized and then feed
the swf via <cfcontent>. I'd like to have all that logic inside MG
instead of in the getFlex.cfm file.

If I try to reference it like:
<param name="movie" value="index.cfm?event=getFlex" />

then the flex app thinks its being loaded from the webroot and looks
in the webroot for all its assets.

I've been digging around trying to figure out how to do this, I
thought it would be something like
#application.MYAPP_GLUE.executeEvent("getFlex",StructNew())#

but so far I haven't been able to get it to work.

Thanks.

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to