ActionScript 2.0 :: Random Misc Errors Which Popup And Can't Locate?
May 30, 2008How many people have random misc errors which popup and can't locate why?
I'm trying to downplay my lack of skill to find the source gah.
How many people have random misc errors which popup and can't locate why?
I'm trying to downplay my lack of skill to find the source gah.
if I put a TLF in my FLA, doesn't matter where, the project compiles but as soon as it runs triggers errors that are not related to TLF at all.It doesn't find a linked class apparently. A class which has nothing to do with TLF. I remove the TLF (in root, anywhere I put it no difference) and the project runs again.
View 1 RepliesIf you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?
View 1 Repliesi'm using the centered pop up window script from: [URL]. i have multiple buttons in my flash movie which open screenshot html pages in external browser windows. the script works fine except when a popup window stays open. the rest of the buttons don't open/replace past that one popup. i tried changing the window name in the onRelease script to screen1, screen2, etc for each button, but that didn't work.
View 1 RepliesI need to close the popup(adobe flex), non modal window if I click on the parent page of the popup. I have to do the out of focus check and then do some validation before close the popup. So what I was thinking that is there any inbuilt focus check event or do we need to create custom event for that?
View 1 RepliesI have a web application which contains a data grid. Double clicking on any row of that grid will open a popup (lets call it popup1). Now this popup1 again opens a new popup(lets call it popup2). When I close the popup2, I need pass an Object to popup1. Which is the easiest way to do that?
(PS: While opening popup2 from popup1, I am adding an event listener on Close event of popup2)
I have a parsley popup that can create another popup.The issue comes when I close the root popup, when I open the popup again and click on the child popup, it's actually opening 2 child popups.Any idea why this thing happen?
<parsley:PopUp open="{presenter.scenarioCreatePopup}" modal="true" center="true" reuse="false" id="hem" >
<views:ScenarioView width="100%" height="100%" id="scenarioView"/>
[code].....
I recently started to use flex and I'm having trouble with the debugger. Every time I try to run it in flash player, it says it can't locate my debugger. But I downloaded the flash player debugger from the Adobe website and put it in the library > internet plugins folder. I'm using flash player 9 on flex 3.
View 1 RepliesUsing flash CS3, how can I locate a use of a movie on the stage? I know if I can see it, I can click it to ID but that is the problem.
View 1 RepliesOn my website I go to "movie explorer" and go through all the ActionScript and on the bar tab it does open upa moving vertical options (it shows up when I have it in swf or preview it) but while I am in Flash CS4 I can't find it....there are extra componentsin separate files inside the folders (mx) and (tm). It is not live on my site yet but what I am trying to do is have certain tabs go directly to a different webpage (not all of them to the flash tabs as specified) as you will see by visiting my site: [URL]
View 4 RepliesI have loaded an external .swf file on to the stage with multiple movieClips in it. From the main timline of which I load this external .swf file, I am moving the movieclip(s) around the stage (with the commands of the arrow key). On the main timeline I have this:
function this_function() {
trace(mc_holder.village._x);
}[code]....
When I trace the village on the onEnterFrame function, I am successful in viewing the value/position of the village in the in the external .swf file. However, if 'this_occurs' and I tell it to use the function 'this_function', where I tell it to trace the village again, it doesn't recongize the movieClip, or village. Instead of giving me a value, it just gives me 'undefined'. So why is it that the 'this_function' can't locate the external .swf file village?
I have a Flash project created in an earlier version that I'm opening in CS3. I'm trying to change one link, but it appears to be buried in code and I can't locate it and I need to change the link to an outside page.
View 8 RepliesI have a menu screen that for various reasons consists of a number of buttons as separate flash movies. When a button inside these movies is clicked, it is supposed to call a javascript function to move to the appropriate page. It works fine in firefox, but is currently failing in IE7. I don't have an IE6 handy to test on.This is the error I get in IE:[code]I can't locate what char 25 of line 1 might actually mean. I only get the error when I click on the button, and after installing Visual Web Developer to try and get some actual debugging, it doesn't seem to be actually firing the function that is called, so it seems like the error is happening in whatever mechanism actually makes ExternalInterface.call work?[code]
But as i said it doesn't even show up if I put a breakpoint here and debug it. If I put a javascript:gohere('id') link in the html screen and click that it works fine.I have ExternalInterface.call working in other parts of the same project, and can't for the life of me see any differences in the way it has been implemented.
I'm trying to load an as3 swf in another as3 swf,but it says it can't find a class that's being used in the swf that I'm trying to load.I want to know if I can specify the path of the class that's being used so that the swf can locate it when loaded to the main swf.Here's the error I get:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at ro.fwd.template::Main()
I tried scpecifying the path in the publish settings, but had no luck.
On my website I go to "movie explorer" and go through all the ActionScript and on the bar tab it does open upa moving vertical options (it shows up when I have it in swf or preview it) but while I am in Flash CS4 I can't find it....there are extra componentsin separate files inside the folders (mx) and (tm) . I am trying to do is have certain tabs go directly to a different webpage (not all of them to the flash tabs as specified) as you will see by visiting my site: http:[url]....
View 3 RepliesI'm in the process of migrating my 1st flash game from my PC to a web site. I have a preloader that will load a couple of .swf files to start but it stops when requesting the 1st URL.
Here is my code:
var l1:Loader = new Loader();
var l2:Loader = new Loader();
var completeTimer:Timer;
[code]...
This is not the entire preloader file, just the part until it halts.
Is it possible that I need to publish with specific settings? After all, everything was working fine until it was copied on the server.
There's a way to know which frame number I'm located in a movie? I fond this 'getCurrentKeyframe () ' but I don't understand how does it work.
View 2 RepliesI know I should read the manual to deal with the debugger.I'm not there yet. <g>.Anyhow, here's what the debugger is rendering:
at Website_fla::MainTimeline()[Website_fla.MainTimeline::MainTimeline:2]Cannot display source code at this location. What does the 2 signify?How can I locate the line of AS3 code that triggers this error?if it is too complicated to explain Ill wait until I'm into the debugging chapter of the manual.
I want users to be able to locate objects ,say rectangles, freely on the screen. Each Rectangle will have width, height, x, y.
I want that when users resize browser window, the rectangles change location and size relative to the window while maintaining proportion.
I noticed I could do something width="20%" height="20%" and then object will resize but if the aspect ration is diffenent the rectangles will look distorted. Also I wasn't sure what's the best way to locate object relatively as I noticed I couldn't bind Flexglobals.toplevelapplication.width/Flexglobals.toplevelapplication.height to x/y.
I've started getting the following when I try to run FB4 projects:
/Library/Internet Plug-Ins/Flash Player.plugin
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
I've installed the debugger version of the Flash Player. Didn't work. I've reinstalled Flash Builder. Didn't work. I tried using Safari instead of Firefox. Didn't work.
When I go to Macintosh HD/Library/Internet Plug-Ins/ in the finder, I can see Flash Player.plugin right there. But when I go to Username/Library/Internet Plug-Ins the entire folder is blank. So I tried copying Flash Player.plugin to the latter folder. Didn't work.
Mac questions (I'm new to mac): Which of these is really the root? Is it normal that there should be duplicate directories like this, with non-duplicate contents??
In FB I opened Windows --> preferences --> Flash Builder --> Profiler --> Player/Browser and browsed to /Applications/Adobe Flash CS5/Players/Debug/Flash Player Debugger.app
What does Flash Player Debugger.app have to do with Flash Player.plugin?
i am have trouble understanding code, i need a code that can locate my movie clip anywere within my fla. any ideas?
View 2 RepliesHow would I go about making a search function that can locate an array of buttons?
The buttons direct to movieclips. The purpose is to have a search field in the flash project to help find specific movieclips (the buttons that direct to them, anyway) based on criteria using arrays. I am using Flash8, but have access to CS4 if necessary.
I am unable to locate this component in the user interface library, every other component is listed but this one.
Is this a new you must roll your own from the list component and create it?
PS I just noticed the Alert component is missing too.
I'm building a game that will be using a bitmap to render the environmental scene. the bitmap is a black image with little green squares to indicate x,y place holders for tree locations as i render the scene. i was thinking of looping thru each pixel to find green pixels but this proves to be a performance hit when the image is 2500x2500. then i found what i thought was a handy little method called BitmapData.getColorBoundsRect() that will locate the position of the green box. It does this but it returns me 1 rectangle of all the green boxes inside.
View 2 RepliesI was trying to upload an external .txt file which is located up one level from my .fla file but I couldn't make it work, this is what I have...This code works just fine if I put my external .txt file in the same folder as my .fla
ActionScript Code:
var myRequest:URLRequest = new URLRequest("MaterialRef.txt");
but when I try something like... where the .txt file now is in a folder called "Materials" which is located up one level, it just doesn't work.
ActionScript Code:
var myRequest:URLRequest = new URLRequest("../Materials/MaterialRef.txt");
I am not able to locate sample implementation (sources) for LiveSample.swf in FMS 3.5. Can somebody point it to me?
View 4 RepliesAre there an updated set of Flash UI Components for working with FMS 4.5? I'm not able to locate an extension or even a legacy set of components.
The older component set
had:
ConnectorChatWhiteboardLoginOthers...
I'm having problems setting up Ant to use with Flex.I install it fine but I get this error when I try and check the install: Unable to locate tools.jar.From what I've read, I just need to point JAVA_HOME to the directory that contains the jdk. Unfortunately,I'm not sure I know which jre I'm using in Eclipse and also, I do a search for tools.jar on my machine and it's not there???I have a C:Program FilesJava directory and there is this in there:
j2re1.4.2_05
jdk1.6.0_03
jre1.6.0.23
In Eclipse --> Windows --> Preferences --Java --> Installed JREs, it's pointing to here:
eclipse-host-distro, C:Program FilesAdobeAdobe Flash Builder Plug-ineclipse-host-distro
Am I not working with a full JRE?
I got an error when i tried to run the application as Flex Builder cannot locate the require version of flash player and saying you might need to install flash player 9.
I am using Flex Builder 3 with SDK 3.2 and having latest flash player of version 11.1.162
Even having latest version of flash player why i could not able to run the application?
The last time I did a motion path in Flash CS4 I was able to locate the Orient to Path "command" on the properties window.
I have drawn my path and placed the symbol on the beginning of that path and can not for the life of me locate the Orient to Path command ,