Javascript :: Can't Locate What Char 25 Of Line 1 Might Actually Mean
May 25, 2009
I 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.
View 2 Replies
Similar Posts:
Nov 23, 2009
I use sifr3 for my textNow my problem is that i can't get the line height right for my tag.line-height, height, leading etc wont work.URL...
View 1 Replies
Apr 12, 2012
I have a conundrum with a design. Imagine the new Facebook timeline with lots of chronological posts attached to it. However instead of a straight line I need to make a randomized curved line with the content placed against it like so:
The complexity comes in because as the user scrolls more posts are loaded (facebook/google images style) so the line could almost be endless.
As far as I can tell my options are:
SVG - poor support in old browsers
Flash layer - embed will be huge and cause performance issues
Canvas - again the canvas will be huge and might cause performance issues
Question: Are there any cross browser gfx libraries which could do this, preferably with support for IE7/8? Or is there a smarter way to do this which I might be overlooking?
View 3 Replies
Dec 13, 2011
I have data whose primary visual representation is a simple number as aline height, but the rest of the data for a single sample contains much more data. I want to convey this extra information on a html5/flash line graph where each example is guaranteed to be on a single tick, and that the control can drive a click event that supplies the closest tick near the click and the entire associated sample data.[code]The graph would have at least 3 ticks, and if the user hovers/clicks, the extra data of the nearest tick would be shown elsewhere.
View 1 Replies
Nov 1, 2009
I am using sifr3 and I know it is supposed to let you use multiple fonts in one line. I have tried a number of changes with my sifr.css and sifr_config.js files to no avail. I tried using spans, sub class of h1, etc. Sample Link: [URL]
View 1 Replies
Sep 13, 2010
Given the following xml:
<form>
<personalDetails>
<name>John</name>
[Code]....
View 1 Replies
Aug 25, 2006
I want to move my movie clip on x axis by 10 pixel on every 'left & right' keypress.how will I do that?
View 5 Replies
Oct 4, 2010
I'm using flash cs4 on a mac and I need to embed some characters to support greek, and probably a lot of other languages. The problem is, my Character embedding dialogue box is empty! There's nothing in it at all... I'm using Tekton Pro as the font for that dynamic text box, I tried using something more basic, Arial and Helvitica didnt work, still nothing to embed. I know the phrase that will be in it, at least the first one, when I put it in the "Include these characters" box and reran, all the dt box would show is an apostrophe. I put the phrase into the dt filed itself and "autofilled" it did the same thing. I also tried doing the same with the % character version ie %B6, it picked up that they were characters but still wasnt displaying right. I'm diverging.
View 3 Replies
Feb 2, 2010
how to get the charCode from the character but I cant seem to find out how to get the character from the charcode.
Basically I am I am listening for the KeyDown event on a TextInput.
I prevent the char from being typed via event.preventDefault();
Later I need to add the text-char to the TextInput.
I can get the charCode via event.charCode so if I can turn that into a string I can save it for later user.
Why I need it
Basically I am making a TextInput, that that I can set to display default text in it. When A user types into it, I want to remove the default text first then add the user typed text.
Currently I am either removing it all, or ending up with both.
View 1 Replies
Oct 10, 2011
I have created a text file with the following information:[code]The issue is that the "+" (plus sign") doesn't show at all? I have used the following code in the fla. to replace the special char's and it works for everything but the "+" sign![code]Does anyone is a problem or why the "+" isn't working?
View 2 Replies
May 26, 2009
I'm using flash cs4 on a mac and I need to embed some characters to support greek, and probably a lot of other languages. The problem is, my Character embedding dialogue box is empty! There's nothing in it at all... which is... problematic.
I'm using Tekton Pro as the font for that dynamic text box, I tried using something more basic, Arial and Helvitica didnt work, still nothing to embed. I know the phrase that will be in it, at least the first one, when I put it in the "Include these characters" box and reran, all the dt box would show is an apostrophe. I put the phrase into the dt filed itself and "autofilled" it did the same thing. I also tried doing the same with the % character version ie %B6, it picked up that they were characters but still wasnt displaying right. I'm diverging. get that Char embed box to have chars in it... I don't know why its empty.
View 4 Replies
Nov 26, 2009
I have a multiline text input field used as a message area on a form (sending mail through a PHP doc). When I hit return to start new paragraph in that field and the form content is send and received at other end everything after that return is lost?
View 11 Replies
Feb 14, 2009
I searched the forums and found several examples but none of them worked for me.I tried...
ActionScript Code:
var pattern:RegExp = /_/gi;
var instanceName:String = evt.target.name;[code].......
View 2 Replies
Jul 22, 2009
If I import a font to the library, am I correct in assuming that it imports the massive character set (all). There seems to be no setting that I can see where to specify the glyphs or level of character support for example all the funny characters.
View 9 Replies
Oct 18, 2011
This code works when I click in the text field and try to enter letters. ActionScript Code:
_root.InputTxt.text.restrict = "0-9"; However when I add this code to allow keyboard input, I can type other characters beside digits. Why is restrict not working?
[Code]...
View 3 Replies
Sep 10, 2009
I'm trying to use the restrict property of a TextInput field to limit the entry of minutes, so restricting the number of characters to 2, while restricting the first character to the range [0-5] and the second character to the range [0-9]
I've tried a billion things, but I'm not sure I'm going about this the right way,
View 4 Replies
Mar 10, 2009
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 Replies
May 14, 2009
Using 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 Replies
Sep 2, 2009
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). 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 Replies
Jul 28, 2006
I 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?
View 2 Replies
Jul 5, 2011
I have to make a game. in that game there are some notes on the wall. The character (here emma) can be moved by the player with the left and right arrow key. If you press the up key, there should be a function so that you have to keep it pressed for a while, to let her jump, thus making her jump to the notes, so she can get them.
here's the code:
//notes on the wall
var teller:Number=1;
for (var i:uint = 1; i<=4; i++) {
[Code]....
View 8 Replies
Dec 17, 2009
i have an xml file and i want my code in flash to read it line by line but its only showing the first line out of 5 lines.Below is the code:
var NigeriaNumber:Number;
var stateName:String;
var year:String;
[code].....
View 0 Replies
Feb 9, 2011
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 Replies
May 11, 2011
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.
View 1 Replies
Sep 2, 2009
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 Replies
Jan 23, 2010
I'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.
View 2 Replies
Aug 27, 2010
How do I split a string by char 0 / byte 0 / 0x00 / u0000 in flash actionscript 3
View 1 Replies
Dec 19, 2008
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 Replies
Feb 24, 2011
I 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.
View 2 Replies
Jan 7, 2011
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.
View 1 Replies