Text Fades With Enter But Not With CTRL-Enter
I have followed steps I've found in tutorials, but my TEXT does not fade when I run the web-page version (CTRL-Enter) even though it does fade when I just hit Enter inside Flash. (I have converted the text to Symbol -- both graphic and movie clip)Images fade fine in both.Is this something simple I'm blind to?
Adobe > Flash General Discussion
Posted on: 11/26/2006 10:03:22 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Ctrl+Enter Instead Of Enter In TextArea
Hi,
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...
I have to programm this application in AS2 but will be glad if you have an AS3 solution as well (to use later, learn and help others reading this thread
thnx,
Philip Seyfi, fs-studio.eu
CTRL + Enter
I've got a password loggin and if you press CTRL + Enter then it automatically goes to the next frame !
Is their any way to disable the CTRL + Enter keys from working?????
Thanks
Appels
CTRL + ENTER <<<< Not >>>> UPLOAD
when testing my movie (ctrl + enter) and then (ctrl + enter) "show streaming" my preloader works fine...
It shows the bytes loaded and when done it goes to the third frame...
But when I upload the file it won´t go, or start already there, on frame 3...
Does anybody know something about it?
Thanks!!!!
Ctrl+Enter Prob
I've just discovered that in a flash swf or projector exe, pressing Ctrl+Enter causes the stop(); command to be ignored, and it jumps to the next keyframe, or scene.
I've tried trapping the Ctrl+Enter key press...but flash won't let me. Can someone tell me how to do ot...or suggest a way around it?
Thanx
MX Ctrl + Enter Preview
Hi
We are using MX on a Windows 2000 network and are experiencing some intermittent problems when attempting to preview movies.
Some machines display a blank screen when Ctrl + Enter are pressed. On others it seems to work alright. Has anyone experienced this problem and if so do you have any suggestions for solving it?
Thanks
Richard
Error Ctrl+Enter
I am with a book of the ActionScript Bible, and I have one action there, I copied it and seeing what it makes and such, but it of the one error, and I did not obtain to discover, if somebody will be able to help me, it not of the error alone in this action, but almost in the book all, follows the error.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 6: The class 'DrawingUtils' could not be loaded.
var duDrawerrawingUtils=null
Total ActionScript Errors: 1 Reported Errors: 1
Error Ctrl+Enter
I am with a book of the ActionScript Bible, and I have one action there, I copied it and seeing what it makes and such, but it of the one error, and I did not obtain to discover, if somebody will be able to help me, it not of the error alone in this action, but almost in the book all, follows the error.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 6: The class 'DrawingUtils' could not be loaded.
var duDrawer:DrawingUtils=null
Total ActionScript Errors: 1 Reported Errors: 1
Error Ctrl+Enter
I am with a book of the ActionScript Bible, and I have one action there, I copied it and seeing what it makes and such, but it of the one error, and I did not obtain to discover, if somebody will be able to help me, it not of the error alone in this action, but almost in the book all, follows the error.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 6: The class 'DrawingUtils' could not be loaded.
var duDrawer:DrawingUtils=null
Total ActionScript Errors: 1 Reported Errors: 1
Error Ctrl+Enter
I am with a book of the ActionScript Bible, and I have one action there, I copied it and seeing what it makes and such, but it of the one error, and I did not obtain to discover, if somebody will be able to help me, it not of the error alone in this action, but almost in the book all, follows the error.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 6: The class 'DrawingUtils' could not be loaded.
var duDrawerrawingUtils=null
Total ActionScript Errors: 1 Reported Errors: 1
Stoping Ctrl+Enter From Keyboard
Hi All,
I am facing one problem if anyone there can pls help with me this out with some help or can forward some code.
I have a flash with 12 frame with every frame with different information for user with next and back button.
But if user press Ctrl+Enter from the keyboard everything gets crap. Flash starts running it self to each frame so I want when flash is running and if user press Ctrl+Enter that doesn't work to my Flash file.
Pls help me out with this...
Ctrl + Enter Vs. Projecter - Difference?
ok so I've built a flash kiosk for the hospital that I work for and I needed to have the presentation go to the main menu after so long of inactivity. I thought I had as it works when I'm in flash and hit ctrl + enter but when I publish the file into a projecter (.exe) it no longer works? any thoughts?
Code:
//Define var to keep track of inactivity
//---------------------------------------------
var isActive:Boolean = false;
var oldX:int = new int;
oldX = mouseX;
// Create timer and have it trigger every 10 mins (set to 6 secs for testing)
//----------------------------------------------
const timer:Timer = new Timer(6000);
// Listen for timer complete event
//----------------------------------------------
timer.addEventListener(TimerEvent.TIMER, onTimer);
// Start the timer
//--------------------------------------------------
timer.start();
// Method triggered when timer is done
//---------------------------------------------------
function onTimer(event:TimerEvent):void
{
// If there was no user activity, then reset
if(oldX == mouseX){
gotoAndPlay("frMain", "Scene 1");
trace("RESET");
}
// Reset oldX to current X location
oldX = mouseX;
}
any thoughts as to why this works in one spot and not in the other would be great. Thanks
CTRL-Enter = Clean Restart?
Pressing CTRL-Enter lets me view my SFW in the Macromedia Flash IDE. All works fine as long as I make sure to close the preview window properly. If I merely press CTRL-Enter twice again (to restart the flash), there seems to be a lot of left over variables and objects set, which interferres in subtle but bothering ways.
Two questions:
Is this my fault and a sign of bad code?
Does this quick restart thing ever happen in the real world? (eg. outside the Macromedia Flash IDE).
In other words; is this something I should/need to deal with? Turning the mapgenerator into a singleton perhaps?
Both CTRL+ENTER And PUBLISH Not Working
I downloaded a FLASH CS3 trial version. On my project, I imported 30 jpegs into my library and converted each to a symbol. When I pr
essed either CTRL+ENTER or PUBLISH, it works. When I added another 30 jpegs and converted to a symbol, both CTRL+ENTER and PUBLISH d
id not work.
When I tried to delete the jpegs and its corresponding symbols, both CTRL+ENTER and PUBLISH still did not work. Even if I reached on
e jpeg already, still did not work.
What is wrong?
How To Disable CTRL + Enter [renamed]
Hello.
I really need some help. Me and my friends have done a game and when we export it you can scroll through the whole game by pressing Ctrl + Enter.
So my question i simple: How can we block Ctrl+Enter from skipping frames???
THX...
Bjorno
How To Disable CTRL + Enter [renamed]
Hello.
I really need some help. Me and my friends have done a game and when we export it you can scroll through the whole game by pressing Ctrl + Enter.
So my question i simple: How can we block Ctrl+Enter from skipping frames???
THX...
Bjorno
Works In Test Mode (Ctrl + Enter) And Not In IE?
I have this swf that works in test mode (CTRL + Enter) but it doesn't work in Internet Explorer or in flash player.
I do have the latest version of flash player installed in my browser.
Any Ideas?
Thanks in advance,
Justin
How To Disable The Ctrl+enter Key In Flash Player
Hi All,
Let me explain the problem, I have to validate the user using a password which is hard coded into the flash application.
I am doing the password checking in the first frame of the file, if the password is ok then jumping onto the next frame.
The password checking is working alright but when I press ctrl+enter in the flash player then it is not checking the password and playing the file...
so I need to disables the ctrl+enter, any help from any of you is very helpfull.
Thanks and regards,
Vikas.
Stop Ctrl + Enter From Going To Next Frame On _root's Timeline
How do I stop Ctrl + Enter from going to next frame on _root's timeline.
In my rpg i have a secret and you havet to hold Ctrl and press enter. And when i tested it (exported to desktop and tested) it when to the next frame on the main time line. (There are only two.)
Ctrl + Enter -- Movie Plays Behind Actions Panel
Is there any way to force your tested movie on top of the screen at all times? I've been noticing that when I start Flash, I can test the movie a few times and it appears correctly, but after a while it starts showing up behind the actions panel. Is this just on mine?
Simple Yet Doesn't Work When Ctrl Enter To View It
I am using flash cs4 and I have two movie clips frontpage (which is the front of a sheet of paper page 1) and backpage (which is the back sheet of a page 1). I am trying to get frontpage to flip over to backpage. I have 62 frames in the movie which is 32 fps. On frame 1 frontpage is alpha100% and backpage is alpha 0%. On frame 21 I have frontpage alpha 100% and backpage 0% and frame22 I have frontpage alpha 0% and backpage 100%. On frame 62 I have frontpage alpha 0% and backpage alpha 100%. when I hit enter and the movie plays through it looks good on screen, however when i ctrl enter to publish view the movie there is a glitch. It looks like the backpage shows up before it should and looks totaly different when you just hit enter and watch movie.
does anyone have any suggestions as why or how to fix this issue. I can send a .fla file if needed.
Projector Requires CTRL+ENTER To Continue After Stop
Assistance would be appreciated, please. I've created an SWF with the following AS3 code. As an SWF, it works as intended; as a projector file, the "continue" button, cont_btn, does nothing, but hitting CTRL+ENTER lets the movie continue.
Related AS on frame 1:
cont_btn.enabled = false;
var slide:String;
cont_btn.addEventListener(MouseEvent.CLICK, forward);
function forward (e:MouseEvent):void {
cont_btn.enabled = false;
bookmark++;
slide = String("slide"+bookmark);
gotoAndPlay(slide);
}
On the timeline one frame before each labelled frame, I have the following code:
cont_btn.enabled = true;
stop();
Can anyone tell me why this works in the SWF but not in the projector?
Button That Fades Sound Away & Enter Frame That Brings It Back
Hi,
I'm looking for help in try to make a button that when hit fades away the sound from 100% to 0%, but when the playhead hits a special frame that enables the sound back on to 100%.
The code I tried putting on the button is this:
Code:
on (release) {
_root.radioSound.setVolume(_root.radioSound.getVolume()-10);
if (_root.radioSound.getVolume()<=volume) {
gotoAndPlay("start");
}
trace(_root.radioSound.getVolume());
}
But it doesn't seem to work It'll trace to output 40, but it doesn't fade.
Also I'm not really sure on how to make
Code:
on (enterFrame) {
// Sound back on
}
Can anyone help out.
Thanks
Disable The "ctrl+enter"
when runing a swf. file containing more than 1 frame, the user can use "ctrl+enter" to jump to the next frame, which escapes the restriction made by AS. So, how can i do to make it disabled?
Why Won't Key.ENTER Not Detect The Enter Key?
the subject says it all really... how do you detect the <enter> key with clip events? The ASCII code for Enter is 13 and i've tried it using key.getCode and Key.ENTER, both unsuccessful. I'm using a laptop (not that it should make a difference right?).
Does anyone know?
"test Movie" Works But Not "Ctrl + Enter" ?
I have a small swf file that seems to work ok but the preloader doesn't work and the movie isn't functional.
Can someone inspect my code. I downloaded it from and open source site and modified it.
Using Enter Key In An Input Text Box
Hey Folks -
I've got an Input Text box which I use for a search function of sorts. I've got it working fine with a "submit" button, but I'd like for the search action to also be initiated when the user enters their text and hits return inside the text box. I'm kinda stumped, but then I'm kinda new to Flash MX too so I'm sure there's an easy solution.
Thanks!
Ignoring 'enter' On Text Sent To Db
Ok, weird problem going on.
Every text typed in the input textfield/boxes and sent to the database (via asp) gets there without any enters/line breaks typed in.
So, if I type:
"Hello
How are you?"
The DB gets "HelloHow are you?"
To add to the weirdness, if I go on the db and add an enter manually, the same textfield reads the enter without a problem (the same field reads and sends).
Any idea of what could be? I considered even trying to get some sort of 'if enterkey pressed, convert to 'newline'", but I know thats not going to work and, even if it did, I wouldnt know how to make it work
Any chance thats NOT flash, but the asp?
Thanks in advance,
- K
Enter Key In Input Text Box
Lets say i want the insert point in the input text box go to the next one when i press the Enter key.
Hope someone could help me. Thanks
Enter Info Into Text Box
I have 4 text boxs called a,b,c,d I want it to take a letter and put infront of .text = "hello"; does that make anysense?
I have a script that randomly chooses this letter do you konw what I mean f you dont just ask!
Enter Key In Input Text Box
Lets say i want the insert point in the input text box go to the next one when i press the Enter key.
Hope someone could help me. Thanks
Multiline Input Text With Enter Key
I have a simulation where a user types a string of values into a multiline input text field, then clicks an OK button to check the text and move on (if the text is incorrect, an alert dialog box appears instead). The text field will look something like this:
text1
text2
text3
text4
I am trying to use the "
" escape character sequence to recognize the line breaks, but it's not working. Here's what I have:
on (release) {
if (input == "text1
text2
text3
text4"){
_root.gotoAndPlay(_root._currentframe+10);
} else {
setProperty(alert, _visible, true);
}
}
Can someone please tell me what I'm doing wrong?
Thanks!
How Do I Check For 'Enter' In A Text Field?
I have this bit of code to execute a search function as soon as i press enter. It does not detect the key press.
It worked if i used some other keypress... eg. 'a' or 'b' etc...
Is there some other way? i tried getCode and getAscii. also tried Key.Enter, 13, '
' everything..........
searchtext.onChanged = function()
{
if(Key.getAscii()==13)
{
//Execute search function
trace("Key Pressed : Enter");
}
};
Help!
Stripping 'enter' From A Text File
Hey all
is there anyway to strip an 'enter' from a text file? hehe I know thats not a great explination.
basically I want to be able to have a text file to 'loadvariables' into a movie but have the text in the file be like this...
&myTitles=song1
,song1
,song1
,song1
,song1
,song1
,song1
and then split the string using
_root.myTitlesArray = myTitles.split(",");
the reason I want to keep the text like this is so the client can update it easily without having to do song1,song2,song3, etc.
I hope I explained this well enough Thanks!
Using Enter Key To Submit Text Answer?
I have an activity in which the user submits an anser into a text field - my question is: Is is possible to use the enter key to submit the answer?
Thanks in advance
Ol
Enter Text (or Press Key) To Proceed?
Hi!
How can i make a page that
looks like a static flash page (maybe a logo) and
when the user (one's who know) click a certain button from keyboard (or writes the right text) proceeds to the real web page.
Like index.html page that only contains a flash movie with logo that
proceeds only after a certain key is pressed (or typed a certain phrase)
Is this possible?
Change Input Box Text After Enter
I have a series of input boxes that start off blank. When the user enters data and tabs or clicks out of the input box, I want to change the color of the input box. I know how to change the color property. I don't know how to code the change event. Can someone help please?
Text Input & Enter/return
I was wondering how i could code this so when i hit the enter key in the text input field it does the same as clicking the send button.
I have googled this for hours and i cant seem to find something that works.
This is for a TelnetSocket using AS3
You can download the files i have Here (adobe live docs site) **look for the TelnetSocket file
Code:
package
{
import flash.display.Sprite;
import flash.utils.ByteArray;
import flash.events.MouseEvent;
import com.example.programmingas3.socket.Telnet;
public class TelnetSocket extends Sprite
{
private var telnetClient:Telnet;
public function TelnetSocket() {
setupUI();
}
private function connect(e:MouseEvent):void {
telnetClient = new Telnet(serverName.text, int(portNumber.text), output);
}
private function sendCommand(e:MouseEvent):void {
var ba:ByteArray = new ByteArray();
ba.writeMultiByte(command.text + "
", "UTF-8");
telnetClient.writeBytesToSocket(ba);
command.text = "";
}
private function setupUI():void {
loginBtn.addEventListener(MouseEvent.CLICK,connect)
sendBtn.addEventListener(MouseEvent.CLICK,sendCommand); //<-- Here is the "Send" button
}
}
}
I would appreciate any help thanks guys.
[CS3] Input Text - Limiting What They Can Enter
How do I limit the input text on a text box, i have a calculation which i want people to only be able to enter 11 or 20, i have tried the embed-restrict part of properties but it does not seem to work,, its got to be easy, but i am obviously doing something stupid,,,, i am extremely new to flash.. to say the least
Can't Enter Input Text In A LoadMovie
I'm about to lose it here.
I have a main movie that loads an external contact.swf with some input fields.
This used to work fine.
Now, when I test the contact.swf, I can type in the fields, but when I load it through the main movie (through an empty movie clip), I'm unable to type at all. As test, I created a new movie and loaded the contact.swf into it, and I can type in there also.
I've made a lot of changes tonight, including adding a preloader, but for the life of me I cannot figure out what's causing this.
I would really appreciate any help. My brain is fried, and it's completely possible I've missed something simple.
I'll post the files. The contact movie is loaded by clicking the "contact" button in the main movie.
Thanks in advance.
Pressing ENTER During Text Box Focus
When I have clicked and entered text in my text box I would like to be able to press ENTER to submit the information (Players name) then move to the next frame. Right now I can press enter to go to next frame until I my cursor is focused on the text box.
Please tell me the action script to make pressing ENTER on the keyboard work.
Thanks folks
Edited: 06/02/2007 at 05:51:56 PM by ZypheR2007
Can't Enter Input Text Through LoadMovie
I'm about to lose it here.
I have a main movie that loads an external swf (contact.swf) with some input fields.
This used to work fine.
Now, when I test the contact.swf, I can type in the fields, but when I load it through the main movie (through an empty movie clip), I'm unable to type at all. As test, I created a new movie and loaded the contact.swf into it, and I can type in there also.
I've made a lot of changes tonight, including adding a preloader, but for the life of me I cannot figure out what's causing this.
I would really appreciate any help. My brain is fried, and it's completely possible I've missed something simple.
You can download the .flas here:
http://www.loobis.com/tests/input%20trouble.zip
The contact movie is loaded by clicking the "contact" button in the main movie.
Thanks in advance.
Can't Enter Input Text Through LoadMovie
I'm about to lose it here.
I have a main movie that loads an external swf (contact.swf) with some input fields.
This used to work fine.
Now, when I test the contact.swf, I can type in the fields, but when I load it through the main movie (through an empty movie clip), I'm unable to type at all. As test, I created a new movie and loaded the contact.swf into it, and I can type in there also.
I've made a lot of changes tonight, including adding a preloader, but for the life of me I cannot figure out what's causing this.
I would really appreciate any help. My brain is fried, and it's completely possible I've missed something simple.
You can download the .flas here:
http://www.loobis.com/tests/input%20trouble.zip
The contact movie is loaded by clicking the "contact" button in the main movie.
Thanks in advance.
|