Flash Player pulling file name from data-field |
12/28/2007 6:32:04 PM |
ASPRunnerPro General questions | |
S
SDDivine author
Here's my problem.... |
|
![]() |
lefty 12/28/2007 |
Steve , |
S
|
SDDivine author 12/28/2007 |
THANKS FOR YOUR RESPONSE...but it doesnt work if I am following you.... Steve , If I'm getting your problem write . Just have one table in the database with fields ex.... filename1 and ex.....upload2_swf (fmedia file) . Then setup filename as hyperlink and actual player file field as file\image choice. Put a read/write directory on your server ex.... Player/ with the files or add the files through add page asprunner add/edit area.. when a user goes to that record on the list page thwy will click the link to the player and the player will open that file automatically. If the player is confiqured right then it should open the media file . make sure the filename upload is chose as file in the view page. make sure you have a directory seperated from the project . use ../../ to the path of the diretory. depending hom many folders up from the project I think this is what you are looking for. This is kind of the opposite . meaning open the player with the link instead of opening the link with the player. |
![]() |
Sergey Kornilov admin 12/29/2007 |
Steve, |
S
|
SDDivine author 12/29/2007 |
Sergey, Steve, set "View as" type of this field to Custom and make it output this HTML code. Replace file name (announce.swf) with strValue variable which should contain uploaded file name. |
![]() |
Sergey Kornilov admin 12/29/2007 |
Steve, |