iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Flash Discussion Forum Flash design presents a limitless number of possibilities for your sites and designs. Discuss your Flash ideas, questions and issues here.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-24-2004, 10:45 AM
WebProWorld Member
 
Join Date: Feb 2004
Posts: 58
yorks RepRank 0
Default flash/ASP problem

Hi all

These are probably very simple problems to solve for most of the folks on here but I am a humble beginner :) The messenger system I am trying to tailor is the EZ Text Messenger from Semtech interactive

we have a instant chat system written in Flash/ASP. The user lists shows the names of all the user logged onto the messeneger (obviously). The user list is displayed using a flash dropdown box.

I am wanting to do 2 things

1. In the instant messenger user list I want to place a small icon next to each name which can be clicked on to view a webpage containing that persons profile. We have the user name so all I would have to do is tag this onto the end of the URL ie.

http://www.mysite.com/yorks

The code line that 'builds' the user name list is as follows


response.write "Name" & count & "=" & application("" & anewid & "") & application("" & astatusid & "") & "&DataRow" & count & "=" & application("" & aboxid & "") & "&Go=Yes&"

This will build the array containing the usernames in the following format

yorks (online)
etc etc

The code in the flash movie that displays the user list is as follows

function AddItems() {
dropdown.removeAll();
for (i=0; i<NumItems; i++) {
var Name = eval("Name"+i);
var DataRow = eval("DataRow"+i);
dropDown.addItem(Name, DataRow);
}





2. Secondly I need to be able to click on certain usernames to inital a chat window depending on the membership status of that user. The code that initiates the chat window is as follows

function SelectItem(){

URLName = dropDown.getSelectedItem().label;
URL = dropDown.getSelectedItem().data;
URL2 = myid;
getURL("javascript:launchwin(" + URL + " , 'newwindow' , 'height=310,width=375' , " + URL2 + ")");
gotoAndPlay(11);


Hope i have provided enough info here

thanks in advance
Reply With Quote
Reply

  WebProWorld > Site Design > Flash Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:38 AM.



Search Engine Optimization by vBSEO 3.3.0