Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / December 2005



Tip: Looking for answers? Try searching our database.

cf scopes in flash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nif - 11 Nov 2005 11:03 GMT
hi ,

i am struggling to access the application scope with remoting. i can access
the scope on the actual cfm page that calls my swf, but i can't  pull that via
the cfc's into flash.

i haven't done remoting for nearly 2 years now and i remember having this
problem before but solving it somehow... just can't remember the "somehow" part!

has anyone else had this problem and does anyone know how to solve it?

any help would be much appreciated.

thanks,
nikki
ufitzi - 01 Dec 2005 19:36 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.