Runtime sharing linkage URL stays empty
Hi,
I have this annoying issue where my linkage URL for runtime sharing stays blank even after entering a valid URL in it.
I have file_export.fla containing a movie clip mc_test that is exported for runtime sharing with URL file_export.gfx (we use scaleform so SWFs are converted to GFX files at runtime).
Then in file_inport.fla, I have the same mc_test that I create from scratch, check the "import for runtime sharing" option and set the same "file_export.gfx" URL. But after confirming and reopening the property window for that clip, the URL becomes empty again.
This works fine in many other circumstances but somehow in some cases it fails and I can't figure out why.
If I set any other URL that the "file_export.gfx", it works fine but somehow that particular one causes issues.
I even made a small JSFL script to see if the issue wasn't just in the animate UI :
run();
function run()
{
var doc = fl.getDocumentDOM();
var selectedItems = doc.library.getSelectedItems();
if (selectedItems.length != 1 || selectedItems[0].itemType != "movie clip")
{
var alertString = 'Please select a single movie clip object in the library before running this command. count = ' + selectedItems.length;
if (selectedItems.length == 1)
{
alertString += ' ; type=' + selectedItems[0].itemType;
}
alert(alertString);
return;
}
if (selectedItems[0].linkageImportForRS)
{
fl.trace( "runtime sharing option : url = " + selectedItems[0].linkageURL);
var newURL = prompt('enter new URL');
if (newURL != null)
{
selectedItems[0].linkageURL = newURL;
fl.trace( "runtime sharing option changed : url = " + selectedItems[0].linkageURL);
}
}
else
{
fl.trace( "not runtime shared");
}
}
But even when I run that and enter my "file_export.gfx" as the URL, the :
fl.trace( "runtime sharing option changed : url = " + selectedItems[0].linkageURL);
comes back as :
"runtime sharing option changed : url = "
in the console.
Does anybody has any idea what would cause something like this ?
