ActionScript 3.0 :: Read Rss Only Works With Shift + Enter

Oct 13, 2011

My name is jemerson, I'm from Brazil and I'm in big trouble this script only works when I do shift + enter into the flash ... when I open the swf outside flash does not work. I must use it on my website plus it also does not work on the server

[Code]...

View 4 Replies


Similar Posts:


Actionscript 3 :: Flash : ENTER Does Not Get Detected But CTRL+ENTER Works Fine

Jun 23, 2011

When my focus is inside the input text field, pressing CTRL+ENTER works but ENTER does not.Pressing Enter when my focus is anywhere BUT the input text field works just fine..My intention is to detect if ENTER key was pressed after the user fills out the field, but it seems to only work for CTRL+ENTER

ActionScript 3:

// works:
stage.addEventListener(KeyboardEvent.KEY_DOWN, enterHandler);
// ignored:
email.addEventListener(KeyboardEvent.KEY_DOWN, enterHandler);

[code]....

ENTER results in charCode == 0, whereas CTRL+ENTER is charCode == 13 email was created using the Text tool and set to "Editable"

Note: I am testing in Chrome and Firefox running Flash v10

View 1 Replies

ActionScript 2.0 :: Loadmovie Works But Causes Whole Stage To Shift Left Of Screen?

Jan 11, 2011

I load my movie with loadmovie and when the swf plays on the frame, the whole website shifts to the left. My code is very simple

stop();
myMC.loadMovie("youtubeplayer.swf");
myMC2.loadMovie("hyper_youtube_version.swf");[code].....

When I load the myMC2.loadmovie Hyper_youtube_version.swf, the whole website shifts to the left. Plays fine but I cant figure out why its doing that. When I load a regular player....it works but but the new player I got hyper_youtube_version.swf is loaded, it doesnt seem to work.

View 0 Replies

Use Enter To Read In From An Input Field?

Mar 27, 2009

I know how to enter information into a field using a button or an event, but I can't find any material on how to do it with the enter key. I want it so you can just enter something into an input field and press enter, instead of using a button.

View 1 Replies

Flash :: Movie Works In Preview (Ctrl+enter) But Not In Published?

Nov 17, 2009

I have a flash project that I have been working on for a while, today its stopped functioning properly. To be clear. It still runs JUST FINE when I preview it (CTRL+ENTER), but when I publish the file and run  the SWF file, or  the HTML file the movie no longer functions properly. Specifically any ActionScript from the main timeline seems to no longer be functioning. ActionScript contained within movie clips continues to function properly, but nothing else.There is about 400 lines of code right now (variables, functions etc.)

View 8 Replies

Professional :: Loading CSV Works On Enter Frame But On Button Click Text Disappears

Nov 17, 2010

I have a files that is loading and parsing a huge amount of data from a csv file and creating and plotting a graph using the data.  All is well if I have the file loaded on the first frame of the movie.  But if I pass in the URL by entering the file name in a text input field and clicking a button.  The X and Y axis values disappear as do intermittent notes placed above the bar graph.  I still see the x and y axis and it's hash marks and the bar graph (shapes)  but all of the text is gone.

View 3 Replies

Text Read Via Public Var Loadertxt:URLLoader Works Only On 2nd Pass?

May 29, 2009

I have this code that works great but unfortunatelt it only works on the second pass ! On the first pass it complains of ...TypeError: Error #1010: term is undefined and has no properties. On the second pass it works fine Here is the code !

public class Main extends MovieClip  public var source:*;  public var indexcount:Number; public var loader:Loader;  public var loadertxt:URLLoader = new URLLoader(); //loadertxt.dataFormat = URLLoaderDataFormat.VARIABLES;  << this, if

[code].....

View 8 Replies

ActionScript 2.0 :: Ctrl+Enter Instead Of Enter In TextArea?

Aug 20, 2007

I'm creating a Flash instant messaging application (through XMPP protocol) and run into a problem. It isn't that important but I was quite upset that I wasn't able to solve it and I want to know if their is a solution =D

I have a TextArea chat input and a button to send the text, the TextArea is multiline and so captures the Enter key to jump one line... What I need is to send the message with the Enter key and jump with a Ctrl+Enter combination... My ideas were to disable the bubbling of the Enter key, trap it, and then manually assign the Ctrl+Enter combination to jumping the line in TextArea but couldn't find how to do all this...

View 3 Replies

Xml :: Flash - What Does Get Read From An Nonexistent XML Tag Read By Action Script 3

Aug 4, 2011

As the title says, suppose I have an hypothetical XML containing this:

[Code]....

I can check if a certain speech has a bg change by simply doing this:

if(bgs[i])
{
//true!
}

what should I compare in the case of sounds, I've tried many, like:

[Code]....

View 2 Replies

ActionScript 2.0 :: Colour Shift In Swf?

Jun 21, 2010

I have a psd that is to be the background of a flash site that i'm working on. I've tried every combination of exporting from photoshop and flash but the end result (in the browser) is always significantly brighter.Does anyone know what the best prossess for keeping the colour of imported raster content accurate in swf while keeping the size moderate?

View 1 Replies

Grouping Causes Motions To Shift?

May 7, 2009

I have a simple movie of a person - torso, arms, legs, each on a separate layer.  I'm adding a walk cycle and use tweens to move the arms and legs.  This works fine when I export to an swf.  But when I group and try to export to a movieclip, the arms jump way up.  This seems like a simple problem of adjusting coordinates, origins, etc.  But I'm kind of a newbie, so does someone have a suggestion for me?  How do I export to a movieclip and have it playback the same as when exporting to a swf?

View 5 Replies

ActionScript 2.0 :: Colour Shift In Swf

Jun 21, 2010

I have a psd that is to be the background of a flash site that i'm working on. I've tried every combination of exporting from photoshop and flash but the end result (in the browser) is always significantly brighter. Does anyone know what the best prossess for keeping the colour of imported raster content accurate in swf while keeping the size moderate

View 1 Replies

ActionScript 3.0 :: Movie Clip ROLL_OVER Only Works Once But MOUSE_OUT Works Infinitely

Apr 11, 2011

I have a movie clip (with instance name rectangle_mc) on the stage. Within this movie clip there are two separation animations on the timeline. The ROLL_OVER animation starts on frame "over" and the MOUSE_OUT animation starts on frame "off." If I roll over the movie clip, the initial animation plays, and when I mouse out the other animation plays to restore it to it's initial state. However, once the rollover animation has played once, it will not play again when I roll over it again, but for some reason the MOUSE_OUT plays every time.

[Code]...

View 1 Replies

ActionScript 3.0 :: XML Imported Links Shift?

Jan 14, 2009

I have an issue with links in a text box which are pulled in from a xml file.The problem is that when I have the antialias setting set to Advanced the links will shift their position to the left when you hover over them. If i turn the antialias setting off or to Normal the problem is fixed, but the text doesn't look as nice.

Here are the settings for my textbox.

Code:
bodyText.defaultTextFormat = txtFmt;
bodyText.styleSheet = cssStyle;
bodyText.embedFonts = true;
bodyText.antiAliasType = AntiAliasType.ADVANCED;

[code].....

View 0 Replies

ActionScript 3.0 :: Distinguishing Between Left And Right Shift On Mac?

Jun 17, 2009

As mentioned in this post KeyLocation.LEFT and KeyLocation.RIGHT only work a Windows PC, not on a Mac. I found that out the hard way during a presentation today :X

Is there any fix to determine which shift key is pressed on a Mac?

View 5 Replies

ActionScript 2.0 :: Way To Say Like If BOTH Shift And Space Are Down GotoAndStop?

Jan 12, 2010

I was just wondering is there a way to say like if BOTH shift and space are down gotoAndStop(3);?

View 1 Replies

ActionScript 2.0 :: Resize The Clip If The Shift Key Is Down

Apr 19, 2010

when a moive clip is clicked in my program it's instance is saved in a var _root.dis_one. My code makes the movie clip move when the shift key isn't down according to the arrow keys, and it is supposed to resize the clip if the shift key is down _root.dis_one is storing the proper var, but i am having a trouble with the resizing part. It will rezise a pre-maid movie clip, but it won't resize my dynamic movie clips. is there a certain way to rezise a dynamic MC?

[Code]....

View 3 Replies

ActionScript 2.0 :: Shift The Co-ords Of The Mouse?

Jul 30, 2006

Am having a poke around with an area when pressed, it will reloated the mouse position.I dont think it is this simple.

_root.nozone.onPress = function(){
_root._ymouse = 10;
_root._xmouse = 10;
}

View 1 Replies

ActionScript 2.0 :: CPU Heavy Alpha Shift?

Sep 22, 2006

So i am building a site for a client, and in it i have incorporated an automatically cross-fading background made of large photos.Wheneve they cross fade programatically my CPU gets WORKED!

I am using

Code:
if (this.photo1.imageholder1._alpha<100-this.fadeSpeed) {
this.photo1.imageholder1._alpha += this.fadeSpeed;
}

as the fading command. Is it just a characteristic of flash that it HATES to do ALPHA changes?

View 6 Replies

F5 :: Stop JPGs Doing Jiggle Shift Error?

May 1, 2009

I broke apart all JPGs and converted them to symbols.And they all have correct X & Y coordinates.But while tweening the JPGs shift a tiny bit. Anyone know how to stop the JPGs doing the jiggle shift error?(I've seen it before, and thought I could fix it by breaking apart the JPGs and making symbols out of them, but the JPGs still have that quiver bug now)

View 2 Replies

ActionScript 2.0 :: Circularly Shift Array Elements?

Aug 2, 2009

why the below script does not keep circularly shifting my array (ie. array = [1,2,3,4] -> [4,1,2,3]->[3,4,1,2] etc..)

var myArray:Array = new Array();
var tempArr:Array = new Array();
myArray[0] = 1;

[code]....

View 1 Replies

ActionScript 3.0 :: Pop Or Shift More Than One Element Of An Array In The Same Time?

Dec 28, 2011

How can I pop or shift more than one element of an array in the same time? I have been searching, and I can't find the answer anywhere. My new project is to pop or shift 3 element of an array of let's say of 100 elements, and with a click of a button display them into a textfield having in mind the date factor. If today I click the button, it'll give me the same numbers, all the day; but when tomorow i'll click the button, it will give me another set of numbers all the day long, and so on. Do I make sense and continue, or I just forget about it ? I have the button, the array, how to acces the date, and flash CS 5.5. All I need I believe, is How to pop or to shift more than one element.

[Code]....

View 6 Replies

Actionscript 3 :: Polarized Shift Of Percentage Values?

Jan 1, 2010

differencePercentage = Math.round(((Pay.init / Pay.current) * 100) - 100);

and that gives me the difference in percent between initial and current pay, but it's reversed. When it's positive i.e. pay is above the initial value it says -X%, and when it's below it says X%.

View 2 Replies

Flash :: Bitwise-shift Operations In AGAL?

Jan 18, 2012

If I encode all colors into one single float value (RGB) as:

//Each Channels are from 0 - 255
red << 16 | green << 8 | blue;

How can I retrieve those color channels back in AGAL? There doesn't seem to be any bitwise operators.

View 2 Replies

ActionScript 2.0 :: Link Shift Text On Hover?

Aug 9, 2011

I have attached and sample file with problem that show when you hover over the red link it shift the text. It only happens when I use antiAliasType = advance or my text field set to readability in combination to external or internal StyleSheet.

View 6 Replies

ActionScript 3.0 :: How To Pitch Shift Recorded Audio

Jan 15, 2012

What I'm trying to do is take a recording from the mic which is converted into bytearray. It will look something like this

ActionScript Code:
function startRecord():void{
mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
}function stopRecord():void{
mic.removeEventListener(SampleDataEvent.SAMPLE_DATA, micSampleDataHandler);
soundBytes.position = 0;
[Code] .....

View 2 Replies

ActionScript 2.0 :: Emulate The Nissan Shift Intro?

Mar 28, 2003

I am trying to make something along the lines of http:[url]....isn't that cool? here is what i have so far http:[url]....

View 13 Replies

ActionScript 2.0 :: Emulate The Nissan Shift Intro

Mar 28, 2003

I am trying to make something along the lines of [URL] isn't that cool? here is what i have so far [URL] as u can see, i am way off here

View 13 Replies

ActionScript 2.0 :: Can't Use A Variable As The Array Name Using Shift And Push

Nov 9, 2005

I've looked in the documentation and found nothing. I'm in MX 2004 pro.

here's my code:

Code:
var arrayName = "name";
trace(arrayName);
var numberofPics = arrayName.length;

[code]....

when it gets to the 'trace("shifted = " + shifted)' it comes back as "shifted = " when it gets to the 'trace("ordered pic is " + shifted)' it comes back as "ordered pic is " so is it just that a variable can't be used as the name of an array when using shift and push?

View 4 Replies

ActionScript 3.0 :: Bitmap Hue Shift With Custom Palette?

Feb 28, 2009

How do you shift the colors of a bitmap image, with a red/yellow cloud, so that red becomes orange, then yellow, then orange, then red again? The yellow should go trough the same process, but start and end with yellow. Same with all the other colors in between.Kind of like when you play with the hue-setting in photoshop, but instead of looping trough the whole spectrum, it only loops trough red>orange>yellow>orange>red.

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved