Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / June 2005



Tip: Looking for answers? Try searching our database.

Dynamic Textbox Hyperlinks?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ashlyAtWork - 26 May 2005 20:25 GMT
I am creating a faculty profile that pulls every faculty member's info from my
query and then I pass it to flash.  I have a dynamic textbox where I output the
names and departments, and for each listing I want to load another flash movie
into a new browser window where that member's information will be displayed.  I
think I know how to pass the faculty member's ID onto the next movie, but how
do I link each listing?  Right now I have it set up in a for loop that prints
each member's info, but I am unsure of how to write the actionscript to
complete the next step.  Here's what I have so far:

function getFacultyList_Result(resultRecordset) {
                           for (var i = 0; i <= resultRecordset.length; ++i) {
        var fullname = resultRecordset.items.fullname;
        var faculty_id = resultRecordset.items.faculty_id;
        var dept = resultRecordset.items.dept_name;
        nameList.text += fullname+"<br>";
        deptList.text += dept+"<br>";
    }
}

Any suggestions?
tutsamewasa - 09 Jun 2005 08:22 GMT
Hi,

Make links like this
<A href= \"asfunction:yourAScriptFunction, ID\">+ Name+ "</A>
yourAScriptFunction is your Action Script function that will be called when
someone clicks that link,
and ID is an argument that will be passed to the function.

Please tell us if you need more light on this.

Hope this helps

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.