ActionScript 2.0 :: Lock Text Box So It Cant Be Edited?
Oct 30, 2005How would i lock a text box. I thought it was mvc.enabled = false; but i guess not.
View 4 RepliesHow would i lock a text box. I thought it was mvc.enabled = false; but i guess not.
View 4 RepliesIs there any simple way to solve the above problem by means of actionscript 3 .
View 1 Repliesis there a way to check if a text field is selected/being edited?
View 5 RepliesFonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts.
View 2 RepliesI bought this template a while back ago and now I am going to use it, the thing is the contact form is not accepting some characters like "q,w,e,r,t,y,@" etc. I remeber I had this issue a while back ago and I embeded the fonts and that fixed the issue, but with this one, aint working, I embeded all the fonts the template uses and it is not working.When I export the movie I always get the message "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts."I went to text> Font Embedding> I added pretty much all the characters for the fonts but I am still getting the message and still I am unable to add characters into the contact form.
View 1 RepliesAS3:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
[code].....
I'm trying to make three text boxes each inside its own movie.Then I want them to each fade in.. not at the same time.. but like.. movie one starts fading in.. a few seconds later the second starts fading in.I've been working this code around but I'm having trouble with it.If I set it to embed fonts the text doesn't display.I also can't make the dynamically stuff be set to an alpha property.[code]
View 1 RepliesDoes the textfield send events when its edited, or scrolled by the user?
What about key presses when focus is on the textfield?
I've used Flash for just a few days, so this surely is obvious for most of you. I have made a movie that works as an intro of a website, and I'd like it to redirect to a specified URL when it stops.
View 6 RepliesI've got a FLA with the facility of changing colors, adding text, etc...
Does anyone know a method or referance link on how to SUBMIT the online edited graphic data? I'm wondering whether it's possible to get a screenshot on click to be mailed.
I've used Flash for just a few days, so this surely is obvious for most of you. I have made a movie that works as an intro of a website, and I'd like it to redirect to a specified URL when it stops.
View 6 RepliesI need some help with streaming wav files in flash. I can load a wav file and stream it ok using actionscript 3 into my fla file. However if I go to edit the wav and make it shorter the saved wav file will not play. I have used a trial version of soundbooth to see if I could somehow change the settings for the wav but I still cannot make it work. It will stream as an mp3 but I want the file to loop and need the file to be wav. I have attached the file. I have no problem when I upload the file into the fla file but that is not what I want to do.
View 2 RepliesThe home page of our site (URL...) uses Flash animation that was created by an agency outside of our organization. We are undergoing a site redesign and are interested in giving our Flash characters less real estate, so I am trying to determine if it is possible to make the characters smaller.I thought I might be able to do that with the height/width attribute of the object tag in the html, but I guess that would have been too easy.I know zip about Flash but do have CS3 at my disposal.Is there a way within the .fla file to make the animation smaller?
View 8 RepliesI would like to modify an Accordion class to suit my needs.Instead of simply extending Accordion, I would like to copy and paste the whole class as a start, with the new class name "MyAccordion", into the src folder; to gain the maximum freedom(I assume).
However, several problems encountered. For the "include "../core/Version.as";" error, I had solved by replacing it with a explicit Version static const string. But for the problems lead by the inheritance, e.g. AccordionHeader, etc, I found that there would be too many files to be edited when going down the stream. I suspect I mis-understand the whole logic of editing the class.
How can I detect when a user changes a date field - specifically when they TYPE the date as I have set it to editable:
<mx:FormItem label="Assigned" x="220" y="59">
<mx:DateField formatString="YYYY-MM-DD" id="clinicianAssignedDateInput" editable="true" text="@{this._currentEditEncounter.clinicianAssignedDate}"
[Code]....
The change event seems to only throw when using the calendar pop-up. It is not thrown when the user manually types in to the field. I also tried dataChange.
This is the link Picnik to an online image editing application built using Flex and Flash as I understand it.I have been away from Flash for awhile now. Can anyone tell me what/how these images are being edited.
View 3 RepliesI am making a site for a client and he requires an editable form. It would need at least 10 editable text boxes and then I would need to have a way to save it and publish it to the website. (The client would be the only one editing so I don't really know what to do as he doesn't have any of the Adobe tools used to edit the site)
1) How do I make an editable form?
2) After the site is finished my client will need to keep adding things, is this possibe or will he have to send the files to me and haveme edit the site myself?
3) How do I make it so my client will be the only one who can edit this?
I'm using an editable datagrid where the user is typing in their data. When they click outside the datagrid it doesn't show the last value they entered. The value is there and if you click on that field again it will show up. If you click outside the field for a second time, this time the value stays displayed. How can I get the value to show up the first time the datagrid looses focus?[code]
View 2 RepliesWhat is the equivalent of editedItemPosition for the Spark datagrid?
View 1 RepliesI am working on a prototype or proof of concept for my company to adopt Flash as an alternative rather than conventional HTML. I've created my demo XML file locally and followed instructions on a YouTube video (yeah I'm that new) and it all works as it should. The problem is this... I have been looking literrally for hours for a way to get my Flash file to update when the XML gets changed. Either on the fly or via some sort of timer/auto-refresh. I simply cannot wrap my head around it.
Here's my AS3 code so far:
var xmlholder:URLLoader=new URLLoader(new URLRequest("test.xml"));
xmlholder.addEventListener(Event.COMPLETE,onload);
[code]......
ive created a flash site for a client and it runs very smoothly on Fire Fox, but when it is opened in IE, come elements crapped!! what should i do, should i plce a splash screen that will tell them that "this site is best viewed on fox!", IE has many bugs!! esp in flash. above is the link to the site. all are fine in fox, except for IE. the links are on the products section are all popups because thats what the client told me, he doesnt want it to be external swfs. notice on the products section: Firefox: all product links are functional IE: Some are functional and some are not, and theres a ! sign on the lower left saying error loading page.
View 4 RepliesI was wondering how I apply an edited actionscript class to a component?
I've made a few changes to the TileLayout class (spark.layout.supportClasses.LayoutBase), but am unable to apply this new layout format to my group in my application... is it treated like a different tag within the layout tag?[code]...
I have two datagrids 1. OPTION GRID and 2. ELECTION GRID. I have used VBox container as itemRenderer in ELECTION GRID which consists of TextInput in Description Column. The following is the sample SWF.
Whenever the checkbox is selected in the OPTION GRID i have to add a corresponding text input with description value in the 2nd grid (ELECTION GRID) for all the rows. Suppose if two checkboxes are selected, i have to add two textinput in the 2nd grid and so on... This is working fine. But whenever if i edit the textinput and scrolled up or down, the value gets collapsed between the rows or get vanished. I suspect that the itemRenderers will be re-used for the other rows while scrolling. How to retain the edited value in textinput ?
The following is the code.
Main code :
<mx:VBox width="100%" height="100%">
<mx:Label text="OPTION GRID :" fontSize="12" fontStyle="normal" fontThickness="15"/>
<components:CAEventDetailDataGrid width="100%" height="20%" dataProvider="
[Code].....
The Election Event is a customised event which will be triggered and invoke the listener function addTextInput whenever the checkbox is selected/de-selected in OPTION GRID.
private function addTextInput(electionEvent : ElectionEvent) : void
Is their a way to retain the edited value in TextInput ?
I want to have a banner with text. I want to be able to edit the text on the banner. When I edit the text, I want the new text to display instantaneously, for everyone who is viewing the banner. They don't need to refresh or anything; the banner changes as soon as I edit it.
View 8 RepliesI have an MP3 file in Flash 5.5 that I have edited in the properties panel of the frame where the sound is...I basically cut a couple seconds off the beginning by editing the timeline. It plays fine when I'm in Flash, but when I publish the movie, the sound is published unedited.
View 3 RepliesI am designing a webpage with a password (yes, I know it can be hacked)I want to be able have an alert appear in the textbox "mess" when the Caps Lock key is activated. (not just being held down). I have already tried this and it comes out as staying on until you leave the page or mess changes.[code]What can I put to make the "CAPS LOCK IS ON" go away when the capslock is off?
View 1 Repliesi save my flas in the normal "save as" and i find some of my flas have a lock icon on the red fla icon.
View 3 RepliesI'm wondering if there is an effective way to insure a .swf file uploaded to "Website A" will refuse to run on any website outside of "Website A". I recall years back that AS2 could compare the .swf file's URL location to a URL String, something like:
ActionScript Code:
if (_root._url != "http://www.mywebsite.com/content.swf") {
//block access
[code].....
I'm using a preloader on my website. The preloader works fine on Internet Explorer, however when I tested it in Mozilla and on a Mac (running Netscape) there is a lockup on the preloader. The screen will just sit there and the website doesn't load. Both were running Flash Player 6 which is the version I'm aiming for. I found that if I refreshed the page the site would begin to work, but I doubt visitors to my site would do this and I don't want it to be required to get my site to work.
Heres the action script - from the first frame of my launch movie
Code:
stop();
function loadSWF(theURL, theTarget) {
loadMovie(theURL, theTarget);
loaderInterval = setInterval(loadChecker, 50);
}
[code]....
As you can see I call the loadSWF function to load menu.swf into the holder1_mc movieclip. That function then sets an interval with the loadChecker function that acts as the preloader. This is where nothing happens on some browsers (yet it works fine in IE).
I've created a slider control (using the excellent tute on kirupa) and am using two instances of it on my stage. I also have a lock that sets the variable locked to true or false. What I want to do is if locked == true have both sliders move simultaneously to the same values if either one of them is dragged...
View 1 Replies