ActionScript 3.0 :: Beginner Info And / Or Direction Needed
Feb 19, 2009
I would like to attempt to accomplish the following using Flash:I have a graphic representation of an LCD screen. The screen represents a display used to control a machine. Think of it as a kind of calculator. There are numeric keypads (1 - 0) as well as "enter" and "cancel" and "up" and "down" arrows.The LCD screen is two lines by 20 characters.First; I want to display in the two lines the data that would be displayed on the actual device. I have 160 lines of data in an ascii text file.I want to be able to "import" the ascii text file into the two line display, and be able to "scroll" up and down using the arrow buttons. What want to accomplish is that if the data changes,I can simply update the text file that is called. I saw a similar flash application, but it used a slider thing. I don't want a slider. I want to be able to scroll lines of text into and out the two line display. That is the first part, anyway. The second part will be to be able to change the displayed number values with the number keypad and update the text file with the data. But for now, just to get the text file to display and buttons to make it scroll.
View 1 Replies
Similar Posts:
Feb 24, 2009
i have a scroller developed in as2. it basically scrolls continuously in a direction until the direction of the mouse is changed. the images of course loop in the continuous scroll. now the problem is that for 10-15 photos its ok. but when i feed it with 180 photos, it seems to show only 11. why would this be? any restriction on flash ??
View 1 Replies
Jul 20, 2009
benefit a Flash/Action Script beginner?
View 2 Replies
Feb 7, 2011
However as a programmer it's kind of important that I learn the language. Now, I know about myself that I won't learn anything if I read guides or try to learn the functions. I need tutorials to learn, in my opinion the best way to learn is to actually make stuff.So I was wondering, can anyone point me to a few tutorials for beginners?
View 2 Replies
Apr 13, 2009
I am struggling with what seems to be a simple problem. Searched and can't find the answer, it seems. I have an FLA I said I'd edit for a friend... just a few simple text edits. However, when I go to publish the movie, it makes a call to an external "State Manager" that it can't find, so the movie loops endlessly. Here is the actionscript: Code: Select allimport com.exanimo.managers.StateManager;
So I'm guessing it's looking find that at that domain. I guess that's the doing of the original programmer. However, I have noticed that there is a StateManager.js file on the webserver in the same directory where the SWF resides. Have I received an old FLA that pointed externally instead of to the local js manager? How can I change the syntax so that it finds the state manager locally?
View 1 Replies
Jan 19, 2003
I was trying to follow the photo gallery instructions in Flash MX from this site. I was fine until I got to the line that said... "now copy and paste this code into the actions dialog box." Well, when I opened the action box...where/how do you paste this action. I opened the action box, then clicked movie control, but I do not see a line to add the code. [URL]..
View 1 Replies
Mar 1, 2010
I have a contact us form (I got with a pre built template)However when posting form data to PHP all the fields in the form show as undefined.When I run the file with trace mode on [code]I have ensured my input text has an instance name (ss)I have tried setting a var for ss This allows me to set the data ok but it is still undefined when I try to load it.I have added a keyframe to this frame as this is on frame 4 of a 4 page/frame timeline.
View 1 Replies
Mar 17, 2011
have a ball with the name of mc which can be moved using the keyboard .. when you press the left mouse button shoots the ball, this ball and the other flies in the face where the cursor was in the shot .. but if you move the cursor to another location and shoot a second time then the second ball is also flying in the direction of the cursor and the first ball change direction toward a second shot ..
ActionScript Code:
import flash.display.MovieClip;
import flash.display.DisplayObject;
import flash.events.MouseEvent;
[Code]....
how to make that first ball did not change its direction and continued to fly in the direction of the shot?
View 5 Replies
Dec 15, 2009
I am struggling to find a way to animate a fill of text in Flash CS4. The concept I am looking for is that over a time period have the color rise from the bottom to the top. My initial attempt was to have 2 objects, one filled with the color and the other filled with white. I was hoping to just adjust the borders of the object or text to have it disappear, but that just reshapes the object, not cropping it. If you know how to crop into objects and reveal the object beneath, let me know.
I am very new to Flash so hopefully it is a simple answer, but I am not seeing it yet.
View 7 Replies
Jun 24, 2010
I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...
Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........
also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.
View 1 Replies
Mar 1, 2011
I have a project both Flex and WWW and they are very closely connected. I want to put them both into into one SVN. I want to make revisions for changes that take place exactly both in flex and WWW at the same time. My question is that do I have to stick to "subclipse" (it would desynchronise changes for flex and WWW in one revision)? Would be possible to make revisions using only my tortoiseSVN without subclipse?
View 1 Replies
Apr 20, 2009
As usual, I am tired of constantly developing something, only to realize that someone out there has already created something identical to it, and often times much better.
In an effort to avoid keep reinventing the wheel, I ask you all: What coding is needed?
What libraries do not yet exist out there that you would like to see, or would like mixed together in one easy to use package?
View 14 Replies
Jun 20, 2010
When embedding an swf (which plays external FLVs), you have quite a bit of code generated for the HTML embed.
<script language="javascript"> if (AC_FL_RunContent == 0) { alert("This page requires AC_RunActiveContent.js."); AC_FL_RunContent( 'codebase',
[code].....
View 7 Replies
Mar 1, 2012
I'm using IE9 on a Windows 7 64bit machine. For testing, i've disabled my flash add-on in IE9. I expect IE9 to ask the user to install flash when it's required.
So does firefox and chrome, but IE9 does not do this for me.
Example: I go to this site [URL]
The only thing I get to see is a black screen with a small error icon on the top left of the screen. Here i expect IE9 to tell me that i need Flash and ask me to install it.
View 1 Replies
Oct 16, 2009
I have:
ActionScript Code:
package
{
[code]....
View 5 Replies
Jul 13, 2010
I'm currently having trouble with the file size of my latest project. This due to the file size of certain movie clips in my library. This obviously causes a long preloading time.
To get round this I thought I could load these movie cilps when I need them so the user can proceed normally until they appear. These movie clips have a linkage with 'Export for Actionscript' selected but I haven't selected 'Export in first frame' because I want to export it later when they're needed.
how to ignore loading these movie clips until I tell Flash I want them loading. Bearing in mind these aren't external .swf's.
View 4 Replies
Aug 19, 2005
i need that the word stop moving when i make a rollover on it and in the rollout make the word continue with the falling, the fla file its attached
View 4 Replies
Oct 16, 2009
I have a preloader that is not appearing until the movie has loaded 80% of its size. Until then all I get is a white screen. I have heard that it may have something to do classes and objects being exported/loaded on frame one before the preloader gets placed on screen. I have been into the publish flash settings and changed the Export classes on frame to 2, but it has'nt changed anything. The things I have importing is the caurina Tweener class and an XML file, both of which have been told to come into the movie after frame 1. Any graphics or movieclips are already on the stage after frame 1. All the code is contained within my stage, there are no external .as files.The code for the preloader im using has worked on a previous movie, here it is
stop();
//preloader
this.addEventListener(Event.ENTER_FRAME, loading);
[code].....
View 1 Replies
May 11, 2004
I have a main movie in wich i load external swf's. I would like to integrate a preloader in the main swf. I tried it with preloaders in the external swf's but that is only the first time functional.This is the code I have in the main movie:
Code:
function pagina(page) {
showContent(page);
}
[code]...
View 11 Replies
May 5, 2009
First, if I am doing a full flash site (like I did), what is the web standard now as far as load times? You see I have the site fully loading all content first, before the home page even shows. I have heard of dynamically loading content, for instance, different sections and subsections of the site, to be called on when clicked, as opposed to loading the whole site first.Now are there any benefits to dynamically loading sections as opposed to loading ALL of the content first? What is the pro standard? Is loadingsections/subsections/content dynamically something very easy to do, left for aprofessional, or left for a seasoned professional?Second, How important is the "title tag" in the html page that I am embedding the flash site in? I recently changed it from "Untitled", was leaving it as "Untitled" a rookie mistake?
Third, I have set up several email addresses for the client, including some web forms, that i used php file to send it to their email when they hit the send button; My question is...in the php file, I have it sending email to the client, and myself. I don't plan on reading their email, but thought I would effectively cc myself, for backup, in case something was wrong with their email, then I would have the client's email in case...so is that ethical or legal to do? What would web pro's do? I don't want to get in trouble, but I don't want to ask the client, because I don't think she will understand my reasoning.Lastly, if you were an instructor and I was your student that did the site I did as a final project, how would you grade it? Look at is as a critique of the site based on professional web standards and protocol so to speak.
View 17 Replies
Jul 4, 2009
a client has asked me to make modifications in a flash file used on his website. i am currently working on the same. the client has given me 'about.swf' file which i decompiled using sothink decompiler 4.5 build 90120 to 'about original.fla'. the xml folder resides in the same folder as ~about original.fla. it contains about_us.xml.you can download these files at [URL] online_questions.zip the change the client wants is as follows - if you view 'about.swf' - when you click on 'key people', the details of 4 people
[Code]...
View 2 Replies
Jun 20, 2011
Like some others here, I am trying to write a music player that will play live stream (shoutcast mp3). I've tried both Flex (Flash Builder 4.5.1) and Flash CS5.5, it works great when I play the SWF on the PC, but when tranferred to the phone I hear nothing, although it is streaming, I assume that it is something to do with the permissions, but I'm not sure. The permissions I am using at the moment (for android) are as follows:
[Code]...
View 2 Replies
Dec 13, 2011
I have a map that I want to make in Flash with mouseover effect. Example map is here [URL] What I need?
1) When mouse is over the location pin it must show infobox. Yes similar what Google Places does. but with mouse over effect, not on Click. I was using Adobe Flash 5.0's default code snippets and got stuck after this code bolow... I'm new to Flash, sorry but learn very fast/
[Code]...
View 2 Replies
Sep 7, 2010
I have an app where a user puts in the required info into text inputs inside a titlewindow pop up and it sends the data entered into a datagrid. This first time when I call for the popup and enter info it works fine. Here's the problem: the next time I call the component pop up and click anywhere on the popup, including textInputs, the first the item in the array is automatically entered into the textInput where the user is supposed to enter the data themselves (BTW this textInput is also a autocomplete component).What I want is nothing to entered into textinput until the user inputs the data themselves. I've been tweaking with it for hours and im stumped. Here's the code: (this is main page)
[Code]...
View 1 Replies
Jan 6, 2012
I'm trying to generate the contact.php for a website, but it's not filling in the fields.Right now I have this:[code]
View 1 Replies
Aug 24, 2011
I quickly realized that instantiating all movieclips in the document class all at once is probably not a good idea. I want to call movieclips from the DisplayList, instantiate them when needed. How do I go about on doing that.
[Code]...
View 0 Replies
Dec 23, 2003
i've tried the particles effect in kirupa lab..but how do i make them dissapear if i dont need them?the particles still there even though the frame is empty
View 2 Replies
May 17, 2005
is it possible to hide it in mx when the text is too short to be scrolled? i read its possible with flashMX04.
View 3 Replies
Nov 29, 2007
I have a good fla file for scrolling with ease. It is working fine but with small issue.Find attached fla and swf file.When we run it first time it is perfect.First you click 'down arrow buton' and scroll it. After this, again when you click 'up arrow button' at its last , the content movie clip keeps moving 1 or 2 pixel up and down contineously. Which is not needed. it should be static at its top position.
View 1 Replies
May 17, 2005
is it possible to hide it in mx when the text is too short to be scrolled? i read its possible with flashMX04.
View 3 Replies