It’s a simple tips about the VerifyError like #1079. When you start you app by upgrading you flex sdk or complie a relatively complex Flex (SDK 4.0) project with several Library projects, probably you will take the error like: VerifyError: Error #1079: Native methods are not allowed in loaded code. Sometimes even the code basically looks like this:
Posts Tagged ‘Tips’
Sometimes we need to get the swf path in our flex/flash project, it can be done with _root._url in actionscript 2, but _root not work in actionscript 3. How to get the swf path in as 3? The following is 2 ways on how to get it.
Hope it will be useful for you.
We can resize the browser window by using the methods window.resizeTo( newWidth, newHeight) or window.resizeBy( DX, DY). But if you are an experienced web development, you probably know the function resizeTo() can not be always so exactly resize the window. Especially unkown the size of contents before loading in different browse.