Copy link to clipboard
Copied
My application works perfects when I open it in its .swf format, but some buttons don't work correctly when I open it in its .exe format. It doesn't work correctly in HTML as well. This is the error that flash gives me when I publish: Warning: No libraries were linked as Runtime Shared Libraries (RSLs) because of your publish settings: Windows Projector I have tried to merge code, but it only removes the error and does not solve the problem?
P.S: I am using graphics and sounds that are linked inside the library
Copy link to clipboard
Copied
copy and paste the code for one of the buttons that doesn't work.
Copy link to clipboard
Copied
There are a number of buttons that don't work, but they all work in .swf. All the buttons have a simple addEventListener(MouseEvent.CLICK, method) name
Copy link to clipboard
Copied
i understood that from your first message.
again, copy and paste the code for one of the buttons that doesn't work.
you can pick the shortest simplest function body to make debugging easier.
Copy link to clipboard
Copied
import flash.events.MouseEvent;
startMenu.information_btn.addEventListener(MouseEvent.CLICK, info);
function info(event:MouseEvent)
{
information.visible = true
startMenu.visible = false;
}
Copy link to clipboard
Copied
there's no problem with that code. it works on my computer.
see if updating your stand-alone player resolves the issue, http://www.adobe.com/products/flashplayer/distribution3.html
Copy link to clipboard
Copied
It still hasn't resolved my issue. Would this be because I have tlf text or something? If it is, do I switch the embeded fonts from tlf to classic, or do I just change the texts inside my layers from tlf to classic static?
Copy link to clipboard
Copied
using a tlf textfield would only have an impact if your security settings don't allow flash player to access the online tlf framework. and, if that were the case, merging the tlf would solve the problem.
in any case, create a new fla. save to a new directory. then copy the assets from your original fla to your new fla and see if publishing an exe from that new fla into that new directory solves your problem.
Copy link to clipboard
Copied
Hi,
I had the same problem, when i use TLF text box, mouse event also not working when i play in the browser. But i got the solution.
you have to change the setting in Library path, merged in to code. so TLF error won't come.
Then you have to install the player what kglad said, then it will work in browser also.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now