Flash MX 2004 Professional: Tool tips, captioning, etc.

Please help me with this question:

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21191895.html

You get the points for this question and the other one also.

Brad
LVL 7
Brad Dobyns, CSMScrumMasterAsked:
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.

vickerleungCommented:
Brad,

I don't know actually you know how much about the ASP to Flash data passing

So I better first give you a brief idea here.

First of all, you better write your ASP scripts first so that to get the data from
the database and be able to pass the data to Flash.

The passing is not that difficult, just call the ASP to print out the variables to Flash
is okay. The syntax will be something as follows:

&variable_name=value&variable_name=value$.... etc

Or if you are in an array, you can export them like this

&varaible_name=value|value|value&variable_name=.... etc

The | here is just a symbol to seperate the values, you can use whatever you like~

The next step is to call the Flash to call the ASP script
It will be something like the following

data_array = new Array ();
data_vars = new LoadVars ();
data_vars.sendAndLoad ("xxxxx.asp", "this", "POST");

data_vars.onLoad = function ()
{
     data_array = this........
     // I don't provide that much by now until I know what you wanna know
}

And the final step is to dynamically link up the data get from the array to the tooltips function

I don't know how your tooltips function works,
but most of them should be quite dynamic like the following

tool_tips ("the toop tips content");

If this is so, then you can simply use the following to link up your tooltips and the database content

tool_tips (data_array [i]); // where i is any integer indicating the array item to get

Do ask so that I can help you more~

Vicker
0
vickerleungCommented:
By the way,

Check this post for more information on linking ASP with Flash

http://www.experts-exchange.com/Web/WebDevSoftware/Flash/Q_21197885.html

Vicker :)
0
BuffonCommented:
Brad,
plz post your email I'll send you an example flash with class I've wrote for tooltip, exactly what you are searching for.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Brad Dobyns, CSMScrumMasterAuthor Commented:
@Vickerleung,

Actually, if you looked at the Oasis/Arboviral application, I used Flash/ASP/SQL Server to produce those pages, so yes I know all too well about Flash/ASP relations. :o)
Thanks anyway. Does Flash MX Professional 2004 have a function called tool_tips()?? Is that a part of Actionscript 2.0 or 1.0?

@Buffon,

If you read the EE Newsletter this last time, they mentioned something about given e-mail addresses out. Not that I normally would have a probelm but I figured since they mentioned it that it must be. If you go to the Oasis site and click on "Contact Us" in the sidenav with the Subject "Forward this to Brad", that would work for me. So you are saying that your app. can be dynamic and work like the CNN app. I gave a link for?

Brad
0
vickerleungCommented:
Brad~~

I wanna say there are no internal tooltips function in Flash MX or 2004

I just know there are external class for that
I remember that somebody asked before~ maybe is you~ ha~ I forget~

Vicker
0
BuffonCommented:
Brad, its not a problem. Sent it to you as you have asked. Good luck.
0
Brad Dobyns, CSMScrumMasterAuthor Commented:
@vikerleung.

Do you know of any tool tip classes that I can look at that are online?

@buffon

OK I got it. Thanks. :o)

In looking at it and I'm not sure it would work. The counties are all movie clips and pretty soon we will be going to vector data to draw the counties. Will the class be able to handle that? Also, I'm not sure what 'foo' is used for...can you explain? And, are the -30,-30 coordinates within the flash stage?

Thanks,
Brad
0
BuffonCommented:
1)It handles movieclips
2)foo is a reference to function which will be executed onRelease event, its not required, it was just useful for some cases.
3)its coordinates respectably to mouse cursor
0

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
Brad Dobyns, CSMScrumMasterAuthor Commented:
Since I am not at a point where I can fully delve into this problem, I am going to go ahead and close this question. Are there any other 3rd party or personal tool tip classes or components that I can get from the Internet? Thanks for your help. Buffon, I will get back to you with your e-mail when I can devote more time to the problem and its solution.

Thanks,
Brad
0
BuffonCommented:
You are welcome :)
0
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
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.