sms interaction with flash

I have a 3D papervision component which displays rotating JPG thumbnails in a 3D space. Each thumbnail will have a code on it that when texted via sms it plays this thumbnail in full screen which would be an external swf. If you preview the file and mouse click on a thumbnail it does just this (some swfs arent loaded yet so it just displays a jpg) what i need it to do is the same thing but be triggered by an sms message as opposed to mouse interaction.

I was working on another version of this which was just a 2D interface and had some as code which queried the sms software xml file every few seconds checkin for new texts then going to the chosen video (frame label) when it received one. What im having trouble with is getting it to work with the 3D component. Below is the original code i was using;

Project Link:

Many thanks in advance.

import mx.xpath.XPathAPI;
var request_xml:XML = new XML();
var response_xml:XML = new XML();
response_xml.ignoreWhite = true;
response_xml.onLoad = function(success:Boolean) {
	trace("XML Loaded" + this);
	if (success) {
		var thePath_str:String = "/response/data/message/messagedata"
		//var thePath_str:String = "/rss/channel/item/title";
		var title_array:Array = XPathAPI.selectNodeList(this.firstChild, thePath_str);
		trace ("XML Message length=" + title_array.length);
		if (title_array.length > 0){
			frameTarget = title_array[0].firstChild.nodeValue;
			trace("Frame Target="+frameTarget);
			if (frameTarget == "101"){
			} else if (frameTarget == "102"){
			} else if (frameTarget == "103"){
		}	else {
			trace ("no message in xml");
	} else {
		trace("error loading XML");
function loadRSS():Void {
	trace("loading RSS");
	request_xml.sendAndLoad("", response_xml);

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


the code you posted does not have any button interactions in it...  can you post your code that controls the mouse states of tthe thumbnails?

but basically, you would just tap into the same code that controls the mouse click...    you fire off that function based on a unique identifier...

rp / ZA
billybrown1Author Commented:
the button interaction is within the component itself i think, the only thing you can control is the parameters of the component. I made a text box with for what i need and in theory i should just need to replace this interaction with my original code but i cant seem to get it too work with the component. See example attached, thanks :).
billybrown1Author Commented:
Newly released Acronis True Image 2019

In announcing the release of the 15th Anniversary Edition of Acronis True Image 2019, the company revealed that its artificial intelligence-based anti-ransomware technology – stopped more than 200,000 ransomware attacks on 150,000 customers last year.


can you point me in the direction of the documention for the component... almost always, a component will have an open API to methods available, or at the very least allow you to use event callbacks.

rp / ZA
billybrown1Author Commented:

 On the right hand side of the page is a link ('3D wall 'PRO' userguide') to the PDF guide. Thanks.

it looks like in the 33 page of that document, it gives an example of how to setup an event listener for the mouse click event...  

so you should be able to dispatch an event and setup an event listener for what happens when you click on a thumbnail.

take a look at that, and let me know if you need help with it...

rp / ZA

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
billybrown1Author Commented:
i had a look and im not sure exaclty how i would implement this, my knowledge of as is very basic.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.