Can't Type Anything In The Flash Input Box
Hi guys! I hope anyone can help. I am working on a flash animation with input boxes... Now this swf will be embedded in a delphi program. The problem I'm getting is that whenever I test the flash within the delphi program I can't type anything in the input boxes. I think the issue lies with the program that the swf is embeded in but there might be some other way actionscript can control the input boxes....
the scenario is this. when I embed the swf in the delphi program it runs... I can actually select any input box and see the blinking cursor in it. but when I try to type in anything. it doesn't respond. Is there anything we can do to resolve this with actionscript? or is this a prob with the delphi program?
thanks in advance.
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 03-30-2008, 04:19 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Input Type File In Flash Form
Hi you all,
i'm making an form in flash, now i want to put a button into it like "input type file" in html.......so i can send a file with this form...
Flash Equivalent To Input Type=file? Is There One?
not sure if there actually is one, if tried looking for a while and all i could find was the fl.openFileDialog() for jsfl but i was wondering if anyone knew if there was a AS version of open file dialog, or something around those lines.
thanks in advance
Cant't Type In Input?
Hey, I've got a problem. I've finally made a sript that can email people from flash. Now, I'm trying to put it into a site that's going to be made completely from flash. There's just one big problem. I can't type in the input text feilds! I've tried changing the color of the font, etc. I've copy+pasted the same exact actionscript, MCs, etc. into a new flash page, and then it works! Also, the button in the form doesn't show text in the site, but it does in it's own seperate flash movie. I've even tried publishing the working version and importing it into the site, but it doesn't show the button (it shows it like it does in debug mode) and I can't type. Any ideas?
Input Type="file" In Flash
Hello everyone.
I have this problem, i need to make a input type="file" in flash.
Or explaining better, i want that when you click a button flash will show me a list of files and folders (as in the html input type= file)of the client, so that he can choose a file to upload to the server (forget the server side script, already made it), when he "submit" the flash.
Thanks in advance,
João
Equivalent To <input Type=
I'm creating a form in flash... and i need a command of actionscript that makes the same work of the HTML command <input type="file">
....i need the user to select a local file and to upload it throught the form....
heeeeelp!!!
bye
Chobin
CreateTextField With Input Type Problem
I've a problem:
I create a textfield with createTextField, then assign it an "input" type, embedFonts as true, assign it a textFormat previously defined with a reference to a font (which is included in my movie) and finally preview the movie: i can't write anything in the textfield!!!
I tried to work it out in many ways:
toggling the embedFonts off solve the problem since i can write in the field, but the formatting is not good and obviously it doesn't use the fonts i've included, messing it all up (graphically speaking)
another way is to assign the field a text, like a space or a character, but also in this way i can't append text while previewing it. I can only select the text in the field and then write what i want: therefor is obvious that also this doesn't solve the problem, since i need an empty field to be filled.
Anyone has suggestions? They would be very appreciated, i'm getting quite mad about this, cause i didn't read aything about this in any manual i've or forum consulted.
Thanks in advance
Alb3
Disable Input Text Type
Is it possible to disable an "input text" type movie clip by using actionscript instead of changing to "Dynamic Text"??
Using Type Input In Conditional Statement
If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you!
submit_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
if(name_txt.text == "ball")
{
gotoAndStop(2);
}
}
Using Type Input In Conditional Statement
If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you!
submit_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
if(name_txt.text == "ball")
{
gotoAndStop(2);
}
}
Using Type Input In Conditional Statement
If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you!
submit_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
if(name_txt.text == "ball")
{
gotoAndStop(2);
}
}
Cannot Type In Text Input Field
Hello
I have a rough small form (one frame and one layer) with four static text labels (using MX 2004):
Name
Email
Country
Message
To the right of each label I have a rectangular input text box for the site visitor to input his name, email, country, and message.
http://stevehigham59.7host.com/flashMail/EmailTest.html
I eventually wish to 'talk' to an ASP email script I have on a server, so to facilitate this I have typed in fullname, email, country, and message respectively in my FLA file where it says 'instance name' in Properties under each input text box.
I then create two buttons, 'Clear' and 'Submit' and import them from the library to the stage.
This is where I am now stuck. I presumably need to type in, somewhere, something for the 'Clear' button, and the following for the 'Submit' button:
on (release) {
loadVariables("myfile.asp", POST);
}
I understand this little script may be the correct one (though, apparently, opinions differ), yet when I click on the input text field, there is a note across the Actions Panel that 'Current selection cannot have actions applied to it'.
There is a further problem: when I try to type in the fields, I am not able to. I am not able to place the cursor anywhere.
Any ideas, please?
Steve
Using Type Input In Conditional Statement
If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you!
submit_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
if(name_txt.text == "ball")
{
gotoAndStop(2);
}
}
--Jamesabth, thnx for your last reply!
Using Type Input In Conditional Statement
If the user types "ball" in the input textfield, instance name: name_txt, I want to move to the next frame and stop. Can somebody tell me, what I am doing wrong here? Thank you!
submit_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
if(name_txt.text == "ball")
{
gotoAndStop(2);
}
}
StartDrag With Dynamic Ot Input Text Type... HOW?
I have been racking my brains over this now for quite some time, I did try this ages ago, and still could could accoplish it, so I gave up and used buttons to move the text boxes.
But now I really do want to use the StartDrag method.
As far as I understand, you can only make a movieclip draggable, so if I change dynamic or input text box to an MC, it is no longer editable, as the ON(press) command takes control.
So how can it be done?? I have done countless earches, and cannot find the answer.
There is a website which has the idea I require, except their "Draggable" text is not directly editable (which is what I would like)
The site link is http://www.tshirtcandy.com/ , if you click design, then select any old TShirt, it will take you to text bit I was talking about.
I am sure it is easy, and obviusly it can be done, as it has been done on the above website.
Thanks in advance
Check An Input Menu For Data Type
Does anybody know an easy way to check if the an input is a number?
The way i was thinking of doing it was, beaking the input apart and chcking every character if it is equal to 1,2,3 .. 0 . (In an Array, obviously)
[F8] Cant Type Inside Text Input Component
Hey if you go to the contacts page on the link below youll notice you cant type in the form fields. Why isnt it working?
http://www.spaodesigns.com/Boardriders/
Also here is my .fla
http://www.spaodesigns.com/Boardriders/Contact.fla
Cannot Type Cyrillic Characters Into Input Textfield
The problem: Cyrillic characters cannot be typed into an input textfield.
Prepopulated dynamic textfields aren't a problem. I can even paste Cyrillic characters into an input textfield, but if I try and type, question marks appear instead of the intended characters.
Things tried: various kinds of character embedding, font embedding, useCodepage shenanigans, and other stuff too...
After a bit of searching I've found a few people reporting similar sounding problems, but none of them are getting the answers I need.
But I can't believe that there's no solution, otherwise half the world would be asking why they can't use input textfields, wouldn't they?
Am I missing something, or do I need to take a trip to see a certain software developer and kick them in the shins? (again)
Any help much appreciated.
Cant Type Inside Text Input Component
Hey if you go to the contacts page on the link below youll notice you cant type in the form fields. Why isnt it working?
http://www.spaodesigns.com/Boardriders/
Also here is my .fla
http://www.spaodesigns.com/Boardriders/Contact.fla
Newbie Trying To Recreate <input Type=file> In FlashMX
I need to be able to send multiple files to a file server from a local drive to a remote server.
Started with fscommand to call a javascript but one value is being written to all... also needs to work on Netscape too. Attached is the file that I downloaded from this site and tried to modify. Can anyone help I'm on a deadline...
[F8] Problem With Input Text Area, Cant Type Other Languages
Hello all,
recently i came across a (yet another) flash problem.
Although i never had a problem creating input text that would handle both english & international text (greek in this case) this one will not. No matter if i switch language in windows to greek, this text area will type ENGLISH in firefox.
In IE, it will type a mixture of greek/whatever mambo jumbo text.
I have everything i need embedded already.
Am i missing something?
The craziest part is that when i test the movie locally it writes english & greek fine. (using the flash player). When i try to type into it from the browser (placing the swf file in an html file) i can only get english in firefox and the mixture of greek and scrambled text in IE).
Isnt it odd?
What has the html code to do with it?
Image Type (input) Button In A Form Messes Up
Hi!
I replaced a button in a form by an image, and now, all the javascript that worked is not working anymore.
Here's the current html code :
<input name="image" type="image" onClick="SendFormAllCtrlAdr(document.envmail)" value="Commander" src="../gifs/petits_elements/btn_commander_vert.gif" width="79" height="20">
I want a few javascript functions to check all the textfields before validating. The problem is that now, the button (type="image") validates the form even if all the fields are not correct.
Is there a turnaround or something because i don't want to put back the plain basic buttons.
If you wan to test the page (in french) :
http://cdip.com/geneatique_2004/commande.htm
thanks
HELP:Input Form Type Changing Shape-link To See
Last edited by Jez : 2004-06-04 at 08:40.
My fonts look ok when i am using them in flash and i apple/enter preview within flash.
However, out of it when i just look at the swf in flash player and how it will look online they look terrible.
Look here:
http://homepage.ntlworld.com/jezthompson12/
Go over the web-design section and it just looks awful but fine within flash (the other buttons ignore)
Anyone have an idea?
Please
Fancy Box Type Moving Graphic Type Cool Efect But Im To Dumb Type Thingy
i am tring to make a box thinky simaler to the one on www.starvingeyes.com but cant even work out how to start it. is there anyone who can point me in the right direction or to a tutorial ?
the box has a graphic inside a grided box the sections of the graphic fade in and out as the mouse goes over them and displays random sections when the user is not moving the mouse over the box
i did find java tutorials for this effect but would much preffer it to come from flash as java is a bugger to get working on some machines
Any way thanks in advance for any help
Steven Green one_mad_punk@yahoo.co.uk
Problem With FMS2 Calling Web Service With Complex Type As Input
I wrote a web service in weblogic 9.2:
@WebMethod
public LoginResponse Login2(LoginRequest loginRequest) {
LoginResponse loginResponse = new LoginResponse();
System.out.println(loginRequest.getUsername());
System.out.println(loginRequest.getPassword());
if ("hello".equalsIgnoreCase(loginRequest.getUsername()) && "world".equals(loginRequest.getPassword())) {
loginResponse.setLoginSuccess(true);
loginResponse.setUserId(19);
} else {
loginResponse.setLoginSuccess(false);
loginResponse.setErrMessage("Login Error");
}
return loginResponse;
}
Here is the generated WSDL:
.....
<?xml version="1.0" encoding="UTF-8" ?>
- <s0:definitions name="UserServiceServiceDefinitions" targetNamespace="
Multiple Cursors In Dynamically Created Textboxes (type - "input").
Hello everybody,
I have a small problem. It would be great if anyone can provide a solution for this.
Problem: I am creating textboxes using "createTextField" in runtime and setting the type of the text to "input". As few of the textbox overlap one over the other slightly, I can see that there is a cursor in the other textbox too though the current focus is in the current text. Is there any thing that I can do through the script to avoid and get ride of these unnecessary/unwanted cursors.
Thank U :-)
Input Type="file"
Is it possible to simulate a form input control type file, in Flash MX?
Implicit Coercion Of A Value Of Type String To An Unrelated Type Function
Hi there
Why I can't use an "eval" function (i am not sure this is the right terminology) inside addEventListener (I put in yellow) ?
for (i=1;i<10;i++) {
var constructFunction1:String;
var constructFunction2:String;
constructFunction1="choix3"+i+"Handler";
constructFunction2="choix3"+i+"HandlerClick";
MovieClip(this["choix"+i]).addEventListener(MouseEvent.MOUSE_OVER,constructFunction);
Then error in the compiler:
1067: Implicit coercion of a value of type String to an unrelated type Function.
Pixel/Bitmap Vs True Type/Open Type Fonts
I'm new to flash and I've been getting conflicting advice on which type of fonts to use. I've done several searches in the forms and I'm still just as puzzled so I've decided to start my own discussion on the subject. So here we go:
1) Are Pixel and bitmap fonts the same type of font?
2) Which is better to use True Type or Pixel (bitmap) fonts and where and/or why
Please help this newbie to flash and jump in with your opinion, experiences, etc.
Thanks
Email Form In Flash Using PHP - Input Fields Won't Allow Input?
I've used this tutorial http://www.kirupa.com/developer/actionscript/flash_php_email.htm
to create an email form. When I test in Flash, the input fields work fine. However when I publish it to the server I'm using, it won't allow the fields to be clicked on! You can see it here...www.tagdenim.com
(click on the Email List button at the bottom right.)
Any one else have this problem? I'm pretty sure I got all the code right, and I know for a fact that my server supports PHP. I'm using godaddy's server, btw. Maybe I have to turn the PHP on or something??? not sure. I'm a newbie to using PHP and Flash together. Any help would be appreciated!
Thanks!
Email Form In Flash Using PHP - Input Fields Won't Allow Input?
I've used this tutorial http://www.kirupa.com/developer/actionscript/flash_php_email.htm
to create an email form. When I test in Flash, the input fields work fine. However when I publish it to the server I'm using, it won't allow the fields to be clicked on! You can see it here...www.tagdenim.com
(click on the Email List button at the bottom right.)
Any one else have this problem? I'm pretty sure I got all the code right, and I know for a fact that my server supports PHP. I'm using godaddy's server, btw. Maybe I have to turn the PHP on or something??? not sure. I'm a newbie to using PHP and Flash together. Any help would be appreciated!
Thanks!
Making A String Type Into A Number Type
The title is probably misleading and because I’m new to flash and coding this is probably a very simple problem. What I am trying to do is make a function in which I give the name of an instance, it adds the ._alpha and then have the function take the instance and have the instance go from being visible to invisible.
The following is the code that I have developed.
function dealpha(dename:Number):Void{
dealpha = (dename) ++ (._alpha);
for(i=0;i<100;i++){
dealpha -=1;};
};
dealpha(mc_mc);
The error that I get when I compile the file is this
Syntax error.
dealpha = (dename) ++ (._alpha);
Total ActionScript Errors: 1 Reported Errors: 1
I appreciate any help that I can get with this code.
Compile Type Check For Object Type
I used Flex Builder 3 to compile my actionscript. I have a question regarding the compile type check for type Object. I have set my compiler to strict mode, but it does not seem to detect this compile type error:
var o:Object = new Object();
o.foo(); //this should generate compile type error because foo() is not method inside Object, but flex builder is just silent.
But if I try this
var s:String = new String();
s.foo(); //flex build flag this as error
flex builder correctly detects the reference error.
I can't understand the reason for the different behavior for the Object type versus the String type. Can anyone help to explain the reason for this?
Thanks.
Help With Flash Type
I created the file for flash typer but when I DL the file it doesn't give me the two buttons that do the special effects.... the play button and the play text fadeout button. Can anyone help? thanks.
email me back at JesseNLe@hotmail.com also thanks.
Type In Flash
hello all
just wondering when i have designed a website and then published it online i have found that the type on my imac17" is fine, but when friends log on to there pc at home normally 15" screens the type is very bad and fuzzy. why is this? is this because the type is done in flash and not dreamweaver?
Type In Flash
hello all
just wondering when i have designed a website and then published it online i have found that the type on my imac17" is fine, but when friends log on to there pc at home normally 15" screens the type is very bad and fuzzy. why is this? is this because the type is done in flash and not dreamweaver?
Xml Type In Flash Mx
I have a flash file that reads information from an xml file that looks like this...
<clients>
<node1> client 1 </node1>
<node2> client 2 </node2>
<node3> client 3 </node3>
<node4> client 4 </node4>
</clients>
and when i use the script
function update(newNode){
text1=newNode[0].nodeValue;
i always get a null value. so i checked the nodeName the same way and got <node1>, so i know it has the right node. I then checked the nodeType and it returns "1" an xml element. My question is how do i get the nodes to be type "3" or text nodes?
Is There A Way To Type A Flash Var?
Is there a way to type a flash var something other than String? I can’t seem to pass one typed as a String when it’s really a number (4 in this case) thru a switch expecting numbers. I tried to force it by assigning the string to a var cast as a number but had no luck.
Example
ActionScript Code:
var jumpTo:Number = jumpPage; // try to force jumpTo (the flash var) to be a number
As I understand it you can’t just change a vars type. Is there any way around this or a way to define it before hand?
Help With Flash Type?
I have seen a page filled with thumbnail images and when you click on an image, the full -sized image loads on top of the thumbnails. When you then click the full image it goes away leaving the thumbnails again.
I'm a beginner and not sure if this is action script or wwhat causes it. I would like to be able to create a page like this.
I am using flash 5 and windows xp
Hopefully Somebody Has Done This Type Of Flash Pop Up.
Hello,
I have been racking my brain trying to figure out how they do thos new flash pop ups with no walls and then make then blend with the background and shut off in a couple seconds.
I have seen then on tvguide.com cnn.com and couple other sites.
Anybody have a sample of how to do this?
Thank,
1034: Type Coercion Failed: Cannot Convert Flash.display::Stage@1c4d9461 To Flash.dis
new to AS3 and working with classes (would consider myself knowledgeable enough in AS2 to be dangerous) and am encountering all kinds of migraine inducing fun while trying to make the leap to AS3.
latest is trying to reference the main timeline from within my class.
i am trying to reference it like this:
Code:
var home:MovieClip = MovieClip(this.parent); // variable handle referring to _root timeline
and getting this error(s):
Quote:
TypeError: Error #1034: Type Coercion failed: cannot convert flash.display::Stage@1c4d9461 to flash.display.MovieClip.
at Carousel()
Error: Error #2136: The SWF file file:///Macintosh%20HD/Users/Nate/Desktop/Flash%20%2D%20Learning/Lee%20Brimelow/with%20Classes/MainCarousel.swf contains invalid data.
at Carousel/frame1()
I believe the first error is that i cannot cast the _root timeline as a movieclip for some reason and am really starting to wonder why the Display List is such a pain to work with (or appears to be a pain anyway).
sure would be nice to have a way to reference the stage and clips on it without having to write extra code or chew my own lips off. grrrr!! The second error isn't even on my radar yet although it looks like a doozy.
How Do You Get Sharp Type In Flash MX?
I've got problems with type I've set looking pretty choppy in flash MX. It's been viewed on all sizes/resolutions....sometimes it's okay...sometimes it's gross....I'm most concerned about the black body copy
Font: Helvetica 11pt
Ouput: flash 5 compatible swf
http://www.gravity-interactive.com/imec/services.html
There's the link of the site in progress.... the navi is VERY much under construction...
ANY advice would be IMMENSELY appreciated.
Font Type In Flash-HELP
I have noticed that many of the greatest website is using a type of device font in their flash.
When zooming in, it's pixelerated in the curve area but it's definitely vector based. Therefore it's very clear even in very small view of flash. How do they do that??
I have tried many ways in order to comply this type of font but no matter how I tried (searching over more than 6000 font and try using Photoshop and paste the font onto flash) but still I cannot get the font.
They look very similar to the video font I have seen through searching but it differs when come to scrutinized view.
Can anyone help?
Or can anyone know what it's called?
Vector font?Screen font?pixelerated font?device font?
This could be a very good question for beginner like me...
Yahoo Type Flash Ads?
Does anyone know how or of a tutorial that explains how to do the Yahoo Style Flash Ads?
The ones where the Flash is a layer on top of a page but may have transparencies behind it to show the rest of the web page?
Thanks,
Brian
Movable Type & Flash
Dear all,
I am writing to request your help and expertise... I would like to have my movable type blog viewable in it's entirety inside of a flash movie. I know that i'm gonna want the data to be formated in an XML file and imoprted that way, So far i've managed (using the data connection wizard) to get flash to read and display the contents of atom.xml in a datagrid. I also know that eventually (when it all works) i'll have to bind the data to components. With this in mind my question is, how? Should i create a custom template for every file that MT will output or can i import the data from that atom.xml file? (it had entries and id's etc) Will doing this still enable me to have comments visible? Has anyone attempted / done this? Please help, any information is useful. Many thanks and respect.
Craig Mackenzie
Buddyprofile Type UI In Flash
Is it possible to make a nice UI in flash that will upload all the variables taken from the movie and stick them in a mySQL database? All I really need to know is how to set up a differant language than AS. aka,
onClipEvent(enterFrame){
language="ASP"{
/*
Code to send vars here
*/
}
}
Thats not really how I would code it, but I would like to know if it is possible before I design everything and find out I can't do it.
How Do I Do This... C++ Type Pointers In Flash
Hi everyone, I am veteran C++ programmer and new to flash. Kind of stuck here trying to populate an object with elements from an Array. Very easy in C using pointers but can't figure out a way of accomplishing it in Flash. Your help is greatly appreciated.
/* Trying to populate my_lv object with array elements so that I may submit it to a php script via LoadVars.sendAndLoad for processing
*/
// The array itself
var myArray:Array = new Array();
myArray[name] = "John Doe";
myArray[age] = 25;
myArray[height] = 70";
// The object declaration
var my_lv = new LoadVars();
// Loop to go through array elements and populate the LoadVars object
for (everyelement in myArray) {
trace ("myArray[" + everyelement + "] = " + myArray[everyelementname]);
// THIS IS WHERE I AM GETTING STUCK!!!
my_lv. & everyelement = myArray[everyelement];
// the & everyelement does not work because it makes no sense. Can someone please point me in a direction where I can make sense of it. Thanks.
}
BTW, the myArray.toString() function will not work for me because it only returns back the array data with the pointer name.
Thanks,
Mansoor Lakhani.
Thinkmap Type App In Flash
hello friends,
well it's come to this.
i'm desperate.
i'm trying to replicate the behavior
of the thinkmap
inside of flash.
here's an example done with java:
http://www.http://www.visualthesaurus.com
try typing in a word
and you'll se how it works.
and here's an example done with flash:
http://www.schnappstudio.com/example/
unfortunately it was writeen in flash 4 code
and is just about indecipherable.
has anyone seen anything
else like this online.
perhaps someone's seen
a sample fla floating around
i could work from.
at this point i'm so frustrated
with this flash 4 app that i'm ready
to give up on it and start over
even though the thing does
just what i'm looking for.
any help is appreciated.
even just a url that looks like this
would be really helpful
to start me in the right direction.
thanks,
jonathan
Somebody Please Explain To Me How To Do This Type Of Flash :D
If you go to http://www.the7threvolution.com/site/index.htm, you'll see a flash menu.
I really like the simplicity of that. Will someone explain me the whole.. way the thing works?
Like how the other buttons come from below. I would really like how to make that, and how to activate that by clicking the main buttons.
I hope somebody will help. Thanks.
|