View Full Version : Controlling hotspot from main flash
ThomasC
07-03-2007, 02:00 PM
Hi!
I'm doing a project where I have set up a main flash movie that loads a panoramaview. From that main flash I want to control the panoramaview.
I have no problem loading a new area/panorama from the main flash but is it possible to control a hotspot from the main flash and is it possible to send variables/commands to the main flash from a hotspot?
I hope anyone can help me...
sonicoliver
07-04-2007, 05:30 AM
it would also be good to be able to make a hotspot goDown() with actionscript from somewhere else (like within an swf hotspot).
it would be great to be able to control anything from anywhere else...
if we can't have the source, can we at least have a list of functions and a basic addressing of objects?
thanks mate! I am totally in love with flashpanoramas, its awesome, I just need a bit more control :)
Denis
07-07-2007, 03:24 PM
From hotspot? You can see a source flvPlayer.fla - it's using click event applied to the hotspot Sprite. :)
You can investigate displayObjects structure yourself (parent and getChildAt()), it is really simple.
API for direct panorama communication is not ready. I believe in future versions. :)
ThomasC
07-13-2007, 10:04 AM
When I try to call af new panorama from my main flash I get this error after the now panorama is loaded without my hotspots:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at TransitionEffect$iinit()
at Hotspots/::startTransition()
at Hotspots/::waitForLoader()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.