Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




On-screen Keyboard With Flash 8 TextInput



Ive written an on-screen keyboard, but i'm having two problems.I can make it type into a dynamic cell but cant make it type into a flash 8 textinput component.I'm figuring the variable is not being set properly.Dynamic text field var is TextEnterBut it is assign my Flash 8 TextInput to this var it don't work i.e.TextEnter = TextIn.textor var TextEnter = TextIn.textAny ideas?



Actionscript 2.0
Posted on: Thu Oct 26, 2006 10:04 am


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Keyboard-event Only On Textinput?
Im trying to add a global key-listener that will listen on any key pressed...no matter what object that is active.

on frame1:

Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKey);

function onKey(event:KeyboardEvent):void {
trace(event.keyCode);
if(event.keyCode == 90 && event.ctrlKey){
GUI.doSoemthing(null);
}
if(event.keyCode == 37){
GUI.doThis(null);
}
if(event.keyCode == 39){
GUI.doThat(null);
}
}
For some reason this only works when a inputfield has focus.
If I with the mouse selects a row in a DataGrid, the listener doesnt work anymore.

All graphics on stage is in a class called "GUI.as" and is added to the displaylist from same frame the eventlistener is on.

Any solution?

On Screen Functional Flash Keyboard
Hi guys,

I am in a spot of trouble and appealing for your aid. I need to create an on screen keyboard that has a text box with a button which saves the current text and sends it to another frame. I have very little experience with Flash and would really appreciate a novice level guide. Is there any current keyboards out there that I could use that I may have not seen? Im looking for the easiest option.

On Screen Keyboard
ok i have an onscreen keyboard im making the psp but my backspace key wont work.
say if you click on the q key it uses

_root.string_1 += "q";

so how would i make a backspace key?

On-screen Keyboard
hi Everyone,

I want to create a keyboard that is usable via point and click or touch screen. Is there any tutorials that can give me the basics? Or any information you can provide would be great.

Thanks!

Edit: grammar. Sorry im english is bad.

On Screen Keyboard
Hi,

Does anyone know of a decent onscreen keyboard that is compatible with AS3?

The best one I could find is this:

http://www.dncompute.com/blog/2006/0...-keyboard.html

I tried converting it over to AS3 but didn't have much luck

Thanks for your time

On-screen Keyboard
all right, so i'm working on a keyboard for an rpg style game, so that you can name your character and such(without actually typing on the keyboard). I have quite a few problems. First - I am not able to change the variable name from the button i have set up. when i try, it just comes up as undefined. here is my code for the button on the hit keyframe:

onClipEvent(enterFrame) {
_global charname = _global.charname+ "a";
}

here is my code for the actions layer on the main timeline:

onEnterFrame = function() {
trace (_global.charname);
_global.charname;
typing.text = _global. charname;
title1.text = "Name Yourself";
}

typing is the spot where it should show your name, and title1 is where i tell you what to name ( in case i would have someone name a town or something). as you can see, i made typing.text equal to a variable, since i couldn't figure out a way to change it from the button. also, if you know how to make it so that i can just hit the arrow keys and move a cursor around the o.s. keyboard, that would be cool.

On-screen Keyboard
Hi,

I just wonder if there is any way to create an on-screen keyboard for use in a flash application that I am developing. I want to use this on-screen keyboard to allow user to input text in some field of my application.

Thanks

On-screen Keyboard
I need a Flash on-screen keyboard. I have barely found any documentation online, so please forgive me if this has been asked.

I need 3 text fields (Name, Email, Comments - Therefore they must be individually named) Where do I begin?

As far as I can see from one keyboard I found and attempted to edit, It can be done and the coding isn't extensive, but I can't get the keyboard to work with 3 fields (the only brief tutorials/and or keyboards I have found are for one field).

I have attached an example I found and tried to edit. Thanks.

On-screen Keyboard
I need an on-screen keyboard in Flash. I have found a few online, including the .zip I have attached. My problem is how to tweak it so that there are three different text fields instead of the one (Name, Email, Comments)???

On-screen Keyboard
I need an on-screen keyboard in Flash. I have found a few online, including the .zip I have attached. My problem is how to tweak it so that there are three different text fields instead of the one (Name, Email, Comments)???

On Screen Keyboard
Hi.. i was trying to make an onscreen keyboard.. but had a problem on directing my input to where the focus is

bascailly i have 2 input fields.. and i want the input to go to where the focus is currently at..

can anyone pls help me out?

On-screen Keyboard AS3
Anyone know of a pre-built class for an on-screen keyboard used for kiosk/touchscreens?

Found an example in AS2, but it needs to be in AS3.

Thanks for your input.
-CK

On-screen Keyboard
Hello everyone,

First I am new to the Dev Shed Forums. Looking forward to learning new things.

I was wondering if anyone knows the first steps I should take to making a point and click or touch-screen controlled keyboard via flash.

Thank you.

KEYBOARD TOUCH SCREEN
I need to create a Keyboard using only Flash that will be used in an interactive Kiosk touchscreen. The user will touch each letter then click "Send" (will be used as a search).

I modified a calculator and it works fine, but I can't seem to create a "Backspace" button. Currently, the user would have to erase everything and start over from scratch.

Are there any suggestions on how I can delete letters in a text field?

Or is there a FLA file out there that contains a keyboard?

Thanks.

Creating On Screen Keyboard
I'm doing a test for an idea I had.
I want to create an on screen keyboard so that when a user clicks on a letter it will type it as if pressing a letter on the keyboard. Here's the catch though. I want to use it as a real keyboard in other programs.
Typing a document in word etc. This may sound odd but what I am planning to do is buy a small Touch LCD screen and try to create a flash animated keyboard on it. Is this possible?

Also, what is the best way to make a flash button run a program?

-= greendog =-

Typing With On Screen Keyboard
i want it so that i declare a variaable like this:
_root.typeto = "_root.textarea";

then on the keyboard it is like this right now:
Q key:
_root.text += "q";

so how would i make it so that i can have _root.typeto defined and the spot where the text goes like:
_root.typeto += "q";

[CS3] [AS2] - Urgent - On Screen Keyboard
Hi, I'm trying to make an onscreen keyboard for a language using non latin characters. So e.g Arabic, Hebrew, Urdu etc

is this possible??..

I have been trying to modify on screen keyboards which I found online. However, I can't figure it out

http://www.flashkit.com/movies/Scrip...7947/index.php

http://www.dncompute.com/blog/2006/0...-keyboard.html

I was thinking that I might need to make my keys to image files, this would make the image files appear in a selected area, I don't think it would appear in the random order the user clicked the keyboard, but in a specific target area for each key?

So basically I've got this onscreen keyboard, the user should be able to type using either their mouse cursor or, or using the actual keyboard which corresponds to the onscreen keys.

Anyone have any clue about this?...

Thanks

Touch Screen Keyboard
I need help in being able to allocate specific keys to certain buttons to fill into a text field. If there is any easy way of doing this it would be most appreciate. All my attempts up to date have been failures. I can allocate variables to to a button to fill in a letter to a text field,
but it needs to be able to tab various fields, and fill it with multiple characters.

In short its a digital form filled in by a touch screen keyboard, all in the same flash movie.

Thanks in advance

AS MX 2004 (On Screen Keyboard)
This problem has been stuck in my head for awhile. Its an on screen keyboard for a touch screen kiosk.

The text is easy enough.

I have a dynamic text box.

The on screen keys are scripted like this

a_btn.onPress = function(){
my_txt.text = my_txt.text + "a";
}

okay that's fine but how am I going to do a delete key? Strings? Never worked with strings. I've been playing with the String.slice() method but no luck.

Urgent Help - On Screen Keyboard - [CS3 - AS2]
Hi, I'm trying to make an onscreen keyboard for a language using non latin characters. So e.g Arabic, Hebrew, Urdu etc

is this possible??..

I have been trying to modify on screen keyboards which I found online. However, I can't figure it out

http://www.dncompute.com/blog/2006/06/21/on-screen-keyboard.html
http://www.dncompute.com/blog/2006/06/21/on-screen-keyboard.html

I was thinking that I might need to make my keys to image files, this would make the image files appear in a selected area, I don't think it would appear in the random order the user clicked the keyboard, but in a specific target area for each key?

So basically I've got this onscreen keyboard, the user should be able to type using either their mouse cursor or, or using the actual keyboard which corresponds to the onscreen keys.

Anyone have any clue about this?...

Thanks

On Screen Keyboard With Text Field
I'm looking for a simple way to have an alphabet on screen and people can click on each letter to input text into a text field - a space button, delete and clear button also would be great!
It doesn't have to do anything else at all, it's just for demo purposes!

Can anyone help me?

Cheers

Rob.

Disable Print Screen Key On The Keyboard
hello

I just have a question ..

What is the code that disables the "print screen" key, thus, preventing the user from printing the screen contents, while the swf if playing ?

Does something like that exists?

Thanks in advance

On-Screen Keyboard + Search XML File
Hello,
I would like to search an XML File using for writing the searching values an on-screen keyboard. I found an on-screen keyboard at the following url: http://www.dncompute.com/blog/2006/0...-keyboard.html
Any ideas on how to do it?

On Screen Keyboard And Input Textbox
I need some help, I am trying to develop an on screen keyboard so that when you click over the buttons it would add the value of the button to an input box. This then can be used in forms and stored as information in a database. I just need the script for the buttons and the dynamic textbox.

KeyBoard Event And Full Screen
Hi to everyone,
Look at this little sample of code. As you see, it lets the user go to full screen mode when he clicks on the blue restangle. A eventListener has been set to lesson to keyBoard events ...and the events detected are printed in a white textField
Here is what I noticed :
In FireFox
When I click to go to full screen mode, a keyboard event is detected ! ... a space bar keydown event !... I swear, i did not press this cursed space bar ! ... strange ...
In IE
No keydown event at all are detected .... and this time I pressed keys on my keyboard as if my life depended on it .... no effect ....
Thanks a lot to anyone who could give me a hint to get out of this problem. In fact, I really nead to make keyboard work in full screen mode (wich is, I guess, a pretty usual thing down here ...)
; )








Attach Code

# stage.quality = StageQuality.HIGH;
# stage.scaleMode = StageScaleMode.NO_SCALE
# stage.align = StageAlign.TOP_LEFT;
#
# var textField:TextField = new TextField();
# textField.x = 220;
# textField.y = 0;
# textField.width = 1000;
# textField.height = 500;
# textField.background = true;
# textField.backgroundColor = 0xffffff;
# addChild(textField);
#
# // pour le fullScreen
# var carre:Sprite = new Sprite();
# carre.graphics.beginFill(0x000099);
# carre.graphics.drawRect(0,0,200,200);
# addChild(carre);
# carre.addEventListener(MouseEvent.CLICK, fullScreenOnClick);
#
# function fullScreenOnClick(e:Event):void
# {
# stage.displayState = StageDisplayState.FULL_SCREEN;
# }
#
# // pour le clavier
# stage.focus = stage ;
# stage.addEventListener(KeyboardEvent.KEY_DOWN , reportKeyDown);
#
# function reportKeyDown(event:KeyboardEvent):void
# {
# textField.text = event.toString();
# }


here is the html code of the page :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.</title>


<style>
body {
margin:20;
padding:20;
background-color:#333333;
}
#tableau
{
height:100%;
width:100%;
border:0;
}
#anim
{
text-align:center;
vertical-align:middle;
}


</style>
</head>
<body>
<table id="tableau">
<tr>
<th scope="col" id="anim"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,18,0" width="1000" height="750" id="full" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="testbug.swf" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="testbug.swf" quality="high" bgcolor="#000000" allowFullScreen="true" width="1000" height="750" name="full" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object></th>
</tr>
</table>
</body>
</html>

On-Screen Keyboard + Search XML File
Hello,
I would like to search an XML File using for writing the searching values an on-screen keyboard. I found an on-screen keyboard at the following url: http://www.dncompute.com/blog/2006/0...-keyboard.html
Any ideas on how to do it?

Prevent Double Space From On-Screen Keyboard
I am making a screen keyboard with a textfield that captures and writes the equivalent of the pressed key. I do not want the space or " " to be captured in the textfield more than once. How could I do this? Thanks.

Access On A Frame The Output Text From An On-screen Keyboard
I have the following class:

Code:

class KeyboardTester extends MovieClip {

var output:TextField;
var keyboard:OnScreenKeyboard;
var text:String;
var frameCounter:Number;

function KeyboardTester() {

//Create a keyboard and position it on the stage
keyboard = OnScreenKeyboard.place(this);
keyboard._y = Math.ceil( output._y + output._height )+1;
keyboard._x = 1;

//Start listen for what the user types
//Listener for EVENT_OUTPUT instead of EVENT_KEYPRESSED,
//EVENT_KEYPRESSED would return us things like notification of when
//the left shift key is pressed, which we don't care about
keyboard.addListener(OnScreenKeyboard.EVENT_OUTPUT,this);

//Reset this timer. We use it to create a blinking cursor
frameCounter = 0;
//User html text so we can create our blinking cursor effect
output.html = true;

//Reset the text the user has typed
text = "";

//Refresh the stage
repaint();
}

/**
*
* This class is called by the onscreen keyboard whenever a user types
* output of interest.
*
*/
function receiveOutput(evnt:Object):Void {

//Handle backspace input
if (evnt.data == "backspace") {
text = text.substring(0,text.length-1);
//Append any standard input
} else {
text += evnt.data;
}
repaint();
}


function repaint(Void):Void {
//Simulate a cursor by alternating the font color of a pipe at the end
var interval:Number = 10;
if (frameCounter % interval > interval/2) {
output.htmlText = text+"<font color='#ffffff'>|</font>";
} else {
output.htmlText = text+"|";
}
output.scroll = output.maxscroll-1;
}

/**
*
* Repaint to make a blinking cursor
*
*/
function onEnterFrame(Void):Void {
frameCounter++;
repaint();
}

}Could anyone tell me how to access on a frame the variable output, so as to take the typed value in a textfield from an on-screen keyboard and search an xml file?
Thanks apriori.
Could anyone tell me how to access on a frame the output text of the above class, so as to take the typed value in a textfield from an on-screen keyboard and search an xml file?
Thanks apriori.

Access On A Frame The Output Text From An On-screen Keyboard
I have the following class:

Code:

class KeyboardTester extends MovieClip {

var output:TextField;
var keyboard:OnScreenKeyboard;
var text:String;
var frameCounter:Number;

function KeyboardTester() {

//Create a keyboard and position it on the stage
keyboard = OnScreenKeyboard.place(this);
keyboard._y = Math.ceil( output._y + output._height )+1;
keyboard._x = 1;

//Start listen for what the user types
//Listener for EVENT_OUTPUT instead of EVENT_KEYPRESSED,
//EVENT_KEYPRESSED would return us things like notification of when
//the left shift key is pressed, which we don't care about
keyboard.addListener(OnScreenKeyboard.EVENT_OUTPUT,this);

//Reset this timer. We use it to create a blinking cursor
frameCounter = 0;
//User html text so we can create our blinking cursor effect
output.html = true;

//Reset the text the user has typed
text = "";

//Refresh the stage
repaint();
}

/**
*
* This class is called by the onscreen keyboard whenever a user types
* output of interest.
*
*/
function receiveOutput(evnt:Object):Void {

//Handle backspace input
if (evnt.data == "backspace") {
text = text.substring(0,text.length-1);
//Append any standard input
} else {
text += evnt.data;
}
repaint();
}


function repaint(Void):Void {
//Simulate a cursor by alternating the font color of a pipe at the end
var interval:Number = 10;
if (frameCounter % interval > interval/2) {
output.htmlText = text+"<font color='#ffffff'>|</font>";
} else {
output.htmlText = text+"|";
}
output.scroll = output.maxscroll-1;
}

/**
*
* Repaint to make a blinking cursor
*
*/
function onEnterFrame(Void):Void {
frameCounter++;
repaint();
}

}
Could anyone tell me how to access on a frame the output text of the above class, so as to take the typed value in a textfield from an on-screen keyboard and search an xml file?
Thanks apriori.

Flash CS3 Textinput Component Bug
Kamusta!!

Follow these steps to reproduce the bug:

1. Create a new flash file in AS3.
2. Drag a Textinput component on the stage.
3. Set the HTML settings tab of window mode to transparent windowless.
4. Publish both swf and html.
5. Open it in IE - textinput is still visible.
6. Open it in firefox (v. 2.0.0.4) - textinput if gone!!

Now how do i solve this?

Cliburn M. Solano

Keyboard Domination - Best Tricks To Hear All Possible Keyboard Shortcuts
I'm looking to recreate a keyboard shortcut quiz in flash much like this example that's been done in javascript.... (Note: the example seems to only really work well on Windows - I'm hoping mine proves to be more compatible?). a timer counts down while it waits for you to correctly perrform the shortcut on the keyboard.

I've successfully implemented a key combination listener such as is detailed in a tutorial here. I've gotten it to parse my list of shortcuts from a delimited txt file, correctly analyze user combination held & advance/score if correct, drive score based on countdown time remaining, manage "pass" to skip tough ones, etc.


You can see my progress here.
http://www.realitytheory.com/clients...indexTest.html

However I've still got several things that don't work even though I'm using fscommand("trapallkeys", "true"); (does that even matter when used within browser plugin?)


1) Ctrl key doesn't register on Macs (tried Safari & Ffox) but Cmd key does. This is odd since it works fine when previewing in Flash via Ctrl-Enter (and having enable keyboard shortcuts disabled in that player). Not a showstopper as client's cool if it's windows only.

2) Any shortcuts that utilize the Alt key - seems flash doesn't detect a key event when I hit that key. I've seen another thread here intimating that Flash can't hear code #18 (alt) even though javascript can it certainly seems true in flash player. Is this true? Can it be somehow "pressed" by javascript via a JS key handler?

3) Any that conflict with browser default actions e.g. Ctrl-P, Ctrl-S. Before saying there's no way, note that somehow the JS on the example link *do* block those (on IE/Ffox Win anyways). Does anyone have a clue what part? Will disabling the browser's default actions mean Flash receives the input or will flash not hear them either?

Any help will I'm sure benefit anyone looking to listen for key combos.

RemoveMovieClip() ( Keywords: Problem Bug Issue Flash 8 TextInput )
For anyone having trouble with removeMovieClip ....
If you happen to be using a TextInput component in your Movie then read on. I'm pretty confident this is a bug so I thought I'd post about it while I remember. I've also included a solution.

Below is code to create an empty MovieClip, and then create a red box inside that clip. To remove the MovieClip (using removeMovieClip) you should be able to press CTRL & ENTER.

(NOTE: if testing this via the IDE, in the FlashPlayer window ensure you have Control-> Disable Keyboard Shotcuts ticked, else the keyboard shortcut won't work!!)

Here is the code. test it and it should work:

ActionScript Code:
var aaa:MovieClip;

//CREATE CLIP AND DRAW BOX
aaa = _level0.createEmptyMovieClip("aaa", _level0.getNextHighestDepth());
aaa.clear();
aaa.beginFill(0xFF0000, 90);
aaa.moveTo(0,0);
aaa.lineTo(Stage.width, 0);
aaa.lineTo(Stage.width,Stage.height);
aaa.lineTo(0,Stage.height);
aaa.lineTo(0,0);
aaa.endFill();

//-----ADD KEY LISTENER (Pressing CTRL & Z should delete the MovieClip)------
__keyListener = {};
__keyListener.onKeyDown = function() {
           
    if (Key.isDown(Key.CONTROL) && Key.getCode() == 90) {
        aaa.removeMovieClip();//CTRL & Z   
    }
};
Key.addListener(__keyListener);

Now drop a TextInput on the Stage (or have one in the library, set to export in the first frame). Test the code again and it should fail.
This is not a swapDepths issue and it doesn't appear to be a naming issue.

If you want to continue using the TextInput component, create a wrapper and delete the inner swf like so:

ActionScript Code:
var aaa:MovieClip;
var bbb:MovieClip;

//CREATE CLIPS
aaa = _level0.createEmptyMovieClip("aaa", _level0.getNextHighestDepth());
bbb = _level0.createEmptyMovieClip("bbb", aaa.getNextHighestDepth());

bbb.clear();
bbb.beginFill(0xFF0000, 90);
bbb.moveTo(0,0);
bbb.lineTo(Stage.width, 0);
bbb.lineTo(Stage.width,Stage.height);
bbb.lineTo(0,Stage.height);
bbb.lineTo(0,0);
bbb.endFill();

//...ETC... (SEE FIRST EXAMPLE FOR KEYPRESS CODE)
If anyone finds out this is not a bug please let me know. If it is, I hope this helps :]

Flash Image Gallery Embed In PHP Click Flash Screen Appear In Middle Of Screen
Firstly Thank you for taking a look at this thread. Secondly i tried searching for this and couldn't find anything

In case you haven't read my intro topic. i am working on an online retail website. It is relatively old and only displays 1 picture of the shoe. I have looked around other websites and some appear to have a flash script, that enables the user to click on the picture and make a grayish box appear in the screen. This small box has thumbnails of the images which can be clicked to be enlarged and also the ability to zoom in a fair amount and move around the picture. Below are some screen shots i have found. Any ideas or suggestions would be very much appreciated

Kind Regards
Delphi



^ This is one i found on a site.. its flash and allows you to click on the smaller thumbnails to bring it to the top. also allows you to zoom in.



^ This is what i meant by Quote: greyish box appear in the screen .

[F8] TextInput.text +TextInput.text Doesnt Add
I'm trying to running this simple addition formula and am running into a problem.


PHP Code:




Label.text = TextInput_1.text + TextInput_2.text;







By default flash is concatenating the two numbers instead of adding them as I'm trying to do.
Does anybody know how I fix this problem?
Thanks!

Full Screen Flash Projector Reverts To Windowed When Exiting Screen Saver
I've created a flash projector that displays a companies product catalog on a 50" touch screen plasma display.
It looks great and plays great if I launch the projector and force it to full screen.
However, since this is a plasma, screen burn in is a major issue to contend with.
I've set the Windows screensaver to activate after one minute of inactivity.
The problem is that when the screensaver is exited by a touch, the flash projector that was running in full screen mode is now back in windowed mode so CTRL-F has to be hit to force it to full screen again.
This isn't good.
So, I guess my question is two-fold:
Is it possible to programatically force the projector to full screen mode so that no user intervention is required? (fscommand works on the first launch, but when the screensaver kicks in, all bets are off.)
And/Or
How would I go about creating a timer to activate an internal screensaver and insert it into the actionscript for the XML gallery?

Any help is greatly appreciated.
Thanks,
Rick

Full Screen Flash - Screen Center Problem
Hi, I'm trying to use full screen flash, and place my movieclips with actionscript.
It's screwing up the screen center for some reason though, and I can't seem to figure out why...

Here's the screwed up site:
http://www.combinecreative.com/test/mover.html

Here's the code that's on a movable MC:
onClipEvent (enterFrame) {
_x += (_root.logox - _x)/3;
_y += (_root.logoy - _y)/3;

Here's the code I'm using on the main timeline to move the MC's:
_root.logox = Stage.width / 2;
_root.logoy = Stage.height / 2 - 200;

It seems pretty straight foward, but for some reason it's offsetting my screen center...

Any ideas would be great!

Full Screen Flash Page On All Screen Settings
PLEASE COULD SOMEONE HELP

I am NEW to FLASH and am designing a website (www.sk1online.co.uk)

I have designed a website the size of the website is 800x600.

I have published the website with the following settings:

100%x100%

Scale: Exact Fit

Window: Transparentless


When I view the website on a 800x600 screen setting the website appears perfect and takes up the whole screen.

HOWEVER, when I view the website on other settings say 1024x768 the website shrinks and dosnt take up the whole page.

PLEASE LET ME KNOW HOW I COULD PUBLISH THE WEBSITE SO IT FILLS THE WHOLE PAGE ON ALL SCREEN SETTINGS.

I have used the following to no LUCK.

Stage.align = "TL";
Stage.scaleMode = "noScale";

Full Screen Flash - Incorrect Screen Middle
Hi, I'm trying to use full screen flash, and place my movieclips with actionscript.
It's screwing up the screen center for some reason though, and I can't seem to figure out why...

Here's the screwed up site:
http://www.combinecreative.com/test/mover.html

Here's the code that's on a movable MC:
onClipEvent (enterFrame) {
_x += (_root.logox - _x)/3;
_y += (_root.logoy - _y)/3;

Here's the code I'm using on the main timeline to move the MC's:
_root.logox = Stage.width / 2;
_root.logoy = Stage.height / 2 - 200;

It seems pretty straight foward, but for some reason it's offsetting my screen center...

Any ideas would be great! pretty please...

Flash Presentation On 16:9 Screen Or A Wide Screen Plasma Tv
Hi Gang,

I am new to the forum, so big hello to all your hot flash gurus!

I have been given a project where I need to create a flash site, that will be played on full screen on any computer.

However, they also would like to play it on a wide screen tv, like a plasma screen.

When it comes to proportions I am not sure where I should begin.

For example, if I begin the site for a website I could start with 800 x 600, 1024 x 768 these all being the 4:3

If the site works full screen on 4:3 then thats great and thats my goal, but I want to make sure that when I play the flash site on the WIDESCREEN plasma, it doesnt distort.

what I am hoping will happen is that when we run the projector file, the site simple opens, but the box where the site compotents are, simply sits in the middle and there are spaces on the right and left, where its been centred inside the widescreen display.

The second concern is pixel size, I know that the shape of pixels are different on TV screens, to computer monitors, do I need to worry about this? or will the computer that we play the Flash projector file through, on to the PLASMA just sort all that out, as if I was playing the site on a normal computer screen.

Thanks so much for any advice you can give.

FULL SCREEN FLASH PAGE ON ALL SCREEN SETTINGS
FULL SCREEN FLASH PAGE ON ALL SCREEN SETTINGS
PLEASE COULD SOMEONE HELP

I am NEW to FLASH and am designing a website (www.sk1online.co.uk)

I have designed a website, the size of the website is 800x600.

I have published the website with the following settings:

100%x100%

Scale: Exact Fit

Window: Transparentless


When I view the website on a 800x600 screen setting the website appears perfect and takes up the whole screen.

HOWEVER, when I view the website on other settings say 1024x768 the website shrinks and dosnt take up the whole page.

PLEASE LET ME KNOW HOW I COULD PUBLISH THE WEBSITE SO IT FILLS THE WHOLE PAGE ON ALL SCREEN SETTINGS.

I have used the following to no LUCK.

Stage.align = "TL";
Stage.scaleMode = "noScale";

How To Make Flash Screen Saver Always Fit Screen?
hi.
i'm trying to make a screen saver just for the pleasure of myself and a few close friends in my team. i've searched everywhere but have not found an answer to the following problem. although i use this command:
Code:
fscommand("fullscreen", true);
in the first frame of my movie, the screen saver does not fit the screen all around as it should. yes, it does scale to a certain extent, but only according to the dimensions of the original fla, that is, it'll stretch only horizontally or vertically until the stage limit leaving a gap either to the top or sides... and this won't do as my friends have different stage dimensions as me.
so. can someone please tell me what i'm missing? i'm using flashforge to produce the .scr. i've tried with trial versions of a couple of similar converters, but the problem persists. must be something with my .fla settings.
wise words will be much appreciated here!

Full Screen Flash On All Screen Sizes
The problem I have is that I designed a website 800x600 (page size).

When I publish the website in 800x600 screen resolution the website doesn't fit in the whole page (it stretches).
I then designed the website taking up half of the 800x600 page and published it. It viewed full screen on 800x600 screen resolution only and on other screen resolutions it shrinked.

PLEASE LET ME KNOW HOW I COULD VIEW IT FULL SCREEN ON ALL RESOLUTIONS,

HERE IS MY CODE BELOW..

PLEASE COULD YOU SEE WHAT IS WRONG WITH IT:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>index</title>
</head>
<body bgcolor="#000000">
<!--url's used in the movie-->
<a href="<A href="mailto:FAZ@SK1ONLINE.CO.UK"></a">mailto:FAZ@SK1ONLINE.CO.UK"></a>
<a href="<A href="mailto:dhol99@hotmail.com"></a">mailto:dhol99@hotmail.com"></a>
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/...version=7,0,0,0" width="100%" height="100%" id="index" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="best" />
<param name="scale" value="exactfit" />
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#000000" />
<embed src="index.swf" quality="best" scale="exactfit" wmode="transparent" bgcolor="#000000" width="100%" height="100%" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>

How Can I Get A Flash Screen Size Of Screen Width?
Hi all,

I want to get the size of the screen the flash movie resizes so that I can locate another MC accurately.

-Kaz

Flash Keyboard
Kind of a newbie question I guess...

I'm creating a Flash Keyboard as an assignment and the one button I can't figure out is a backspace. Clicking on a button causes the associated letter, number or symbol to appear in a textbox, clicking submit will mail the content of the textbox to me. The only one I can't get working is a backspace.

Can anyone help me with the actionscript for this?

Thanks

Flash Keyboard Help
Hi folks.

I'm beginning work on a large application, and one of the parts that I am having trouble figuring out is how to make a typing keyboard in flash that outputs the letters you press with the mouse into a dynamic text box.

Basically the keyboard is like your basic QWERTY keyboard, and it will also have delete left and delete right. My first issue is getting more than one letter to appear at a time (ie. you press C then A then T and you get "CAT", rather than a C which is replaced by an A, which is replaced by a T)

Does anyone know of a tutorial on this? My code is embarassing at the moment, but I'll paste it in anyway:



Code:
var A1 = "A";
var B1 = "B";
var C1 = "C";

var one = false;
var two = false;
var three = false;


if (one == false){
var A1 = "";
}

if (one == true){
var A1 = "A";

}

if (two == false){
var B1 = "";
}

else {
var B1 = "B";
}

if (three == false){
var C1 = "";
}

else {
var C1 = "C";
}



var one = false;
var two = false;
var three = false;



writeIn.movA.onPress = function() {
var one = true;
writeIn.txtWriteIn.text = A1 + B1 + C1;

}


I seriously doubt this is the right track to be on. Eventually this also has to be able to be deleted and also...once the person is done inputting the type, you go back to the previous screen and it replaces the words "write in" on a button that is there with what you typed in.


Also, I realize that an input box would be fine if you wanted to just type in from the keyboard, but unfortunately the demo that I am making is for something that has a touch-screen keyboard. Please help me out with this if you can...I'm short on time.

Keyboard In Flash
Hello.

I wanted to make a keyboard in flash. You click a letter on the flash keyboard, and the corresponding letter is put into a text field. you can type as much as you want, then select the text and copy paste it if you wanted to.

here is how i'm guessing it would work:
I create the keys as a series of buttons. when you click on one of the keys, the corresponding letter is generated into a text field. i think i may need to know what the letter is called in the font i choose?

any suggestions?

Full Screen Flash. No Toolbars, Controllers, Just The Flash Page On Full Screen - How
Ive seen this on DVD Roms, Multimedia Roms, Presentation Cds, etc.

People insert their DVD or CDs of their Flash and it plays automatically and at Full screen. There's no Controllers or anything except the one you make in the Flash itself.

There's no browser either. Its like watching a DVD where all you see is just the movie.

Anyone know exactly what this method is called and any tutorials or samples on how to do this with your Flash page.

Thanks

Making A Keyboard With Flash...
Hi. I want to make a computer keyboard with flash. What I want to do is have the keyboard popup on screen. Each letter on the keyboard will be a button. Instead of using the mouse to press the buttons on the screen, I was going to use the on(keyPress) event. For example, if I hit 'a' on my keyboard, I want the 'a' key on my flash keyboard to go down like it has been pressed. Any sugguestions on how I could accomplish this? As I mentioned earlier, I plan on making each key a button. Should I make a moive clip of each key animating as if it is getting pushed and make this clip play with the onKeypress event?

on(keyPress,"a")
{
play movie clip of button being pressed?
(I'm not sure how to get a clip to play)
}

Thanks for any advice in advance!

Mini Keyboard In Flash
hi ya,
Im making a mini keyboard in flash (its for a prototype interface) I've made buttons for all the different keys/letters. What i want, is for the user to click on these buttons and the corresponding letter will pop up in a text field (dynamic with a variable im guessing)

on the keys i put :-

on (release) {
_root.keyvar+"b";
}




and the dynamic text field with the variable keyvar. However it works but what i want is for the user to select any text field on the page, then corresponding text go into it... a dynamic varible?
I put and example of the fla at:
http://www.seewhaticando.co.uk/keyboard.fla

its very small

any suggestions???

cheers

danny


http://www.seewhaticando.co.uk
[Edited by casper_org on 05-18-2002 at 07:32 AM]

Copyright © 2005-08 www.BigResource.com, All rights reserved