# Working between platforms, any help?

**URL:** <https://forum.kirupa.com/t/working-between-platforms-any-help/331278>\
**Category:** Uncategorized\
**Created:** [June 27, 2013, 7:17am UTC](https://forum.kirupa.com/t/working-between-platforms-any-help/331278 "2013-06-27T07:17:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FJW](https://avatars.discourse-cdn.com/v4/letter/f/ee59a6/32.png) [@FJW](https://forum.kirupa.com/u/FJW)\
**Post date:** [June 27, 2013, 7:17am UTC](https://forum.kirupa.com/t/working-between-platforms-any-help/331278/1 "2013-06-27T07:17:00Z")

</div>

Hi Guys an Gals  
Am trying to make small test between Mac and PC. This time is an f4v video clip. On PC everything works but on the Mac nothing. The code snippet from my netstream attempt is below. Does anyone have any idea why it does not work on Mac? If I put the a.f4v file in the root of the project and ns.play(“a.f4v”); voila it works on the Mac but how to pass a String? Perhaps it needs the string encapsed between “”.  
Best regards  
FJW  
\<code\>  
public function FindFilms():void  
{  
filmList = new Array;  
videoDir = File.documentsDirectory.resolvePath(“Films”);  
videoDir.createDirectory();  
targetPath = videoDir.nativePath;  
var contentsV:Array = videoDir.getDirectoryListing();  
for(var i:int = 0; i \< contentsV.length; i++)  
{  
filmList.push(contentsV\*);  
}

if ( Platform.substr(0,1) == “W”)  
{  
targetPath +="\";  
}  
else  
{  
targetPath +="/";  
targetPath += filmList[0];  
}  
}  
public function play()  
{  
ns.play(targetPath);  
}  
\</code\>
