I'm not positive about this, but I believe you can only access
Application/Session/Client scoped variables from the "initialization" section
of the CFC. Think of it like your constructor, you would declare "private" CFC
variables right after the opening <cfcomponent? tag, which you would then have
access to from inside the individual component functions, the ones I'm
assumming are interacting w/ Flash remoting.
This is all theory, mind you, as I've not worked with this recently.
Fool around with the CFC and application variables from within bsic CF pages
first, once you get a handle on it you should be able to connect w/ FLash
remoting seamlessly. Theoretically......
nif - 02 Dec 2005 08:02 GMT
hi there,
thanks for replying!
i managed to grab the application scope by passing in the current application
name and then using it with an <application name="arguments.appname"> however,
this isn't the best option in my eyes.
oddly, when working locally and setting up some dummy remoting stuff i could
pickup the app scope with no hassles... the problem i am having is on a project
which is running a massive cms with different mappings etc. and there's not
alot of mucking about i can do with it.
i will give your suggestion a try... it makes sense. will let you know how it
goes.
thanks,
nikki