Maybe I will write what is the all issues. Flash Application is a part of a large Asp.Net project. There will be a model which user will be able to set position and save it in Database. There will be posibilty to save 5 different positions. Then user will be able to show every positions, and use "play" option where model will be moving from first to last position. So what I need to do is:
1. make a save button which will send information to flash to invoke savevalue().
public function urlLoader_complete(e:Event):void {
testN = e.target.data;
if (testN == "nowe")
{
savevalue()
}
}
and then send back position variables and save it in asp.net DB
2. make 5 position buttons which will invoke getposition() function
....
if (testN == "Pos1")
{
getposition1()
}
3. make "play" button which will invoke play()
if (testN == "play")
{
play()
}
I would like to make those buttons in asp.net, because i will be able to send also a username from asp.net DB. Unless there is a better solution
it looks like your post in message 12 is a completely different topic.
you're now trying to communicate from asp generated buttons to an embedded flash file? if yes, you would use the externalinterface class. in particular, you would use the addCallback method.