macromedia flash flash remoting:
I'm designing a menu system in flash for a website that uses javascript & framesets. Whenever I select a section from the flash menu I want that section button to change colour so that its clear that the user is now in that section. The problem arises when I navigate to a section from a link within html. I can get to that section alright but, seeing as I haven't used the flash menu to get there, that section's button on the flash menu remains the same colour. Would this be the reason why Macromedia has chosen not to highlight section buttons in its top menu once a section has been clicked? Flash remoting doesn't appear to cater for a flash/dhtml architecture. Getting stuff into flash from the server, as I understand it, can only result from actionscript inside the flash movie invoking a serverside function and this then returns data to the swf file,which can result in something (like the colour of a button) changing in the swf. How do you get something to change in a swf if an event begins from outside that swf? its not just a cause of returning a result then. thanx in advance finty
The way I would do it is to put a small transparent flash movie (stub) on your HTML pages that then uses a Local Connection to communicate with your menu system. So when the stub loads it calls a function in your menu movie. This function then moves the playback head accordingly or does whatever it needs to do to get the menu into the state that you need it in. Good Luck, Mike Weiland
Don't see what you're looking for? Try a search.
|