Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2007, 01:32 PM
Junior Member
 
Join Date: Jun 2007
Posts: 9
Default Path problem -SOLVED

***import SWFKit.*;
***var basePath = Global.getAppDir() + "\\";
1. doesn't work
// var path = basePath+"path1\\path2\\path3\\"+_root.language+"\ \"+"a.pdf";
2.works
var path = basePath+"path1\\a.pdf";
Shell.open(path);

i am tring to open a pdf file but it works only from path1 , if i add more depth to the path it doesn't work. where can be the problem?
Reply With Quote
  #2 (permalink)  
Old 07-05-2007, 01:31 AM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Path problem

Please use
Code:
Dialogs.msgBox(path);
to see whether the "path" variable contains a valid path name.
Reply With Quote
  #3 (permalink)  
Old 07-05-2007, 07:46 AM
Junior Member
 
Join Date: Jun 2007
Posts: 9
Default Re:Path problem

seems i have been working to hard yestreday , i allready traced the path from flash and it was ok (or at least i thought so)


But now in the morning with clear eyes i saw MY MISTAKE . i put path3 in front of path2

i had a wrong path :'(

Thanks for the help. You reminded me to check the path again.

Reply With Quote
Reply

Was this information helpful?    Yes No



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. The time now is 04:26 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.