ActionScript 2.0 :: Mimic The Combat Log Used In Final Fantasy XI And XII?
Apr 20, 2007
im creating an RPG game, and im trying to mimic the combat log used in Final Fantasy XI and XII. (go to http://herenbdy.iblogger.org/game.swf , press the attack and magic buttons and youll see what i mean)
My Combat log is a movieclip with a dynamic text field. Currently my code for the attack and magic and help buttons is this:
[Code]...
My buttons are movie clips with Dynamic text fields for their names. If you press the attack / Genesen / Help buttons, youll see that the lines of text in the combat log are put in right after each other, i used a || before each message to make it eaiser to read. Id would like to know how I would go about making the combat log messages appear on different lines as apposed to the same line?
I tried to make the text field into an HTML text field and do:
Code:
combatlog.combatlogtext.text = combatlog.combatlogtext.text+" <br> Press the H key to toggle the combat log off and on.";But that doesnt work, can anyone help? Please tell me if i phrased my situation awkwardly.
View 6 Replies
Similar Posts:
Nov 20, 2009
On Linux (Debian Lenny) the installation instructions for the *installer*.tar.gz download file say:Unpack file.Navigate into directory or folder created.Run install program.But no directory created; no install program - what the hell is going on??What you get is a single *.so file. What do you do with it?I got it to work in the past, but perhaps by a different method.
View 1 Replies
May 16, 2008
I run a soccer fantasy league in which managers choose their team from a flash pitch linked to a list of players in a mysql database. They drag players from the list onto 11 places on the pitch and submit their team to the database. The players are listed in database columns which include their id number, their club (eg MUN for Man United, CHE for Chelsea) and their name.
There are three actionscripts attached to the three frames on the swf, one for loading the players from the database, another for moving them about and a third, I think, for submitting. The action script is 2.0.
I want the flash script to only allow managers to drag and drop a limit of two players from each club onto the pitch and into their team. If they try to drag a third player from the same club onto the pitch I want and error window to pop up stopping them from doing it.
I know a bit about flash design but little about actionscript. Would this be easy to do in the flash script?
Hope someone out there can give me a steer.
cheers
Mickey
View 5 Replies
Apr 25, 2009
I am new to Flash and working with a site template that uses a xml data file. In the animation there are a couple of 'read more' links that when pressed, the movie animates to a read more screen with basic info depending on which it is (read more 1, read more 2, ...) In Flash I have added an image on one of the main pages and I would like it to link to the same readmore just as one of the text links does.
The xml has the following line for editing the text, so I see how it is calling the readme page with asfunction, but I have no idea how to use actionscript (or behaviors?) within the flash document to mimic this with an image as the link. I am guessing its something simple but I have yet to stumble upon it.[code]...
View 6 Replies
Dec 10, 2008
I need a good Flash strategy for creating an ordinary PowerPoint presentation. We always need very media-rich presentations (PP is weak in this area). So far we have relied on embedding a Flash object in PP. This turned out to be a bad move because many of our clients deal with the Defense Department and are not allowed to D/L and install the latest Flash player. I have found that publishing a Flash movie projector (.exe) that advances slides like a PP is a good solution. The problem is that I have to put buttons on each slide and write unique functions to advance the slides I would like to be able to simpley click the mouse or use the arrow keys (like PP) for navigation. Should I use the "Flash Slides Presentation" template?
View 2 Replies
Jun 7, 2010
I would like to know, if it is possible to mimic the behavior of XML dynamic class:
[Code]...
View 11 Replies
Jul 7, 2003
I am trying to mimic a powerPoint presentation with Flash MX. I have 19 different slides and have created 19 small flash files, one for each slide. I am using alpha transperency to fade text and images in and out. I have also used the load feature to have another movie file load and play when the last one is finished.It works fine locally on my machine but when I upload it to the server to be viewed by all I get pauses in between movie files.
View 2 Replies
Nov 14, 2009
I would like to take advantage of Adobe's Runtime Shared Library system for swc's, but I'm not sure how it ACTUALLY works, like the programming behind it. I understand that it allows you to load SWCs at runtime, but how does it do that?
I'm asking because I would like to try to mimic something like the Signed RSL "swz" system Adobe uses to cache the Flex Framework into the Flash Player, so if you ever visit a site that downloads the Flex framework for some flash website, then the next time, and forevermore, you don't have to download it again.
I can't do this because I'm using my own version of the Flex SDK from the Sandbox, and I have like 5 other swc's I'm using (Mate, RestfulX, etc.). I would like to be able to cache these things permanently, and only have them re-download them if they change.
How do I do that, or what should I read, other than the Adobe RSL docs and such? Can I use javascript or ruby to do this?
View 2 Replies
Aug 13, 2009
I have a short video that I made using Final Cut Pro.I work on a MacPro, OSX 10.5 Leopard, and CS2.What format do I need to export my video so that I can upload it to a web site?
View 2 Replies
Jan 28, 2009
I have a .fla that has a movieclip in it with an frame by frame animation of a rotating pyramid.The script that I have, when the user drags the mouse horizontally for the right, the animations play, and for the left, it plays rewind. But when it is on frame 1 and I try to go back, it stops![code]How could I make the first frame go to the final frame when I drag the mouse for the left?
View 2 Replies
Feb 18, 2009
Why do my object movement is different if I use a tween to move it ?
I'm inside a for cycle, and I use arrays for all my variables.
[Code]...
View 0 Replies
Jun 13, 2009
i have a quiz and i want to add the final results in a text field. First i have an array which i push the score to. now i need to know how to put that array in to a text field. i have this code -
code:
for (var s:int = 0; s<arrscore.length; s++)
{
score_txt.text = (arrscore[s]);
}
but it just puts the latest score into the textfield. so if i get 3 it puts in 3 and if anyone does it again it puts their score in instead of mine. i want it to show all the different results in the texfield on an individual line
View 1 Replies
Aug 3, 2011
I have a score that goes up by 10 every time you press this button, its var "score". I have a simple countdown timer. caller, its var "timer". When the game ends it goes to the next frame which says game end. I can get the score to show but I want the time left to be added to this.
I have tired:
onEnterFrame (){
score = Number(score) + timer;
}
Nothing seems to work. Do I even actually use onEnterFrame ?
View 3 Replies
Apr 23, 2009
Ok so my website is a basic portfolio site. the interface is as follows: on the right is a box shape...to the left are my buttons and on the top is my logo and such. now for my coding questions.
1. I want a gallery to appear in the box showing my work
2. My buttons are named "Photoshop", "Illustrator", and "Indesign", i would like to have it so when you click on each button a new window gallery will appear in the box to show my work for each pogram
3. How do i insert my images? Do i just place them in my library in Flash? Do i use dreamweaver?
thats pretty much it.Unfortunately my teacher is refusing to teach coding.
View 3 Replies
Mar 2, 2010
I have a project which tries to send an XML using XMLSocket to a server listening to it on the other side.The application file is:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
[code].....
I have to open and close the socket on each request, but even trying not to do that for the sake of testing didn't help.
View 1 Replies
Feb 1, 2012
I'm rendering a xps file using flash (no MX or Spark), and I'm running into a sort of 'contradiction' that I'm unable to solve. [Note, that I'm trying to work only in core flash (e.g. Sprite, Shape, etc.), I've already solved (sort of) this issue using Spark.]
The pages of the xps file specify an explicit size. However, the content described (especially paths) in the xps file can sometimes extend outside of this area.
The problem is, I want the parent Sprite to have the size specified by the xps file, for example so scroll bars match the page size (not the sprite size), but in some cases the Sprite is much larger than this.
I've tried recursively going down and scaling everything UP, and then at the end scaling the parent container DOWN. Unfortunately, this causes translation problems with paths, and I assume it can also cause problems with bitmaps, etc.
Without using MX or Spark, is there anything I can do to control the size of the parent Sprite, other than scaling all the children independently?
View 1 Replies
Sep 4, 2010
I'm using this code from tu-world.com (but it seems the site doesn't exist now) to count my score:
percent = score/25*100+"%";
but it seems to slash 10 point from the final results.
I'm using score++; to add a point...
View 4 Replies
Sep 14, 2011
I am working on a project and I cannot get my final code to work correctly. Theoretically, each answer "yes" or "no" gets a score, then those scores are added to take the user to one of three possible outcome pages.[code]
View 3 Replies
Mar 28, 2004
I'm making an app. where you can create a character from a bunch of movie clips from the library (attributes of hair, clothing, etc.) using the attachMovie actionscript. I was wondering.. after the user has generated a character by attaching a bunch of movie clips, and then clicking a button, how can I create a new screen that displays the user's final character that was made?
Hope you can see what I'm trying to get at,,, the new screen would maybe have a 'container' that displays the movie clips selected in the previous screen..?
View 4 Replies
Apr 10, 2009
In this conditional statement (listed below), only the ending else is being populated, regardless of the url being selected. Within the code below the "content/PT.xml" is being displayed. Both my AS3 statement and html are posted. Does anyone see an error that I am overlooking.
[Code]...
View 6 Replies
Jun 13, 2009
I have a quiz and i want to add the final results in a text field. First i have an array which i push the score to. now i need to know how to put that array in to a text field. i have this [code]...
but it just puts the latest score into the textfield. so if i get 3 it puts in 3 and if anyone does it again it puts their score in instead of mine. i want it to show all the different results in the texfield on an individual line
View 2 Replies
Jan 23, 2011
I have a final published movie of 1024x768 it is pretty much all set.BUT when I look at it on some laptops it is just too big and looks awful.I would love to "SHRINK" it and all of its contents proportionally with out going in and reducing each and every MC and asset within the Source file.Is this easily achievable?I am using SWFobject to embed the swf.
View 2 Replies
Feb 10, 2011
have made a small flash game (my first). Its a simple shotting style game and I want to display 3 variables at the end.The variables calculate fine but I am unable to display them in the end screen. Can someone guide me how to do this. I have uploaded the fla file I have created. If someone is kind enough to add a few lines of code my email
View 1 Replies
Mar 28, 2004
I'm making an app. where you can create a character from a bunch of movie clips from the library (attributes of hair, clothing, etc.) using the attachMovie actionscript. I was wondering.. after the user has generated a character by attaching a bunch of movie clips, and then clicking a button, how can I create a new screen that displays the user's final character that was made?
View 4 Replies
May 28, 2010
The quality of sound when playing my flash file on the timeline in flash CS4 is excellent, however when I go to test movie the sounds quality becomes awful, like its being played in a tunnel on terrible speakers, my sound files are .wav files, am I missing a process I must do to ensure the quality of sound is carried through to the final published animation?
View 1 Replies
Jul 7, 2009
I have a client who wants some graphics to appear "coming onto the screen from the sides." They are flames, to be exact. She does not want them to just come in inside the "box" (stage). She wants them to appear coming in from the sides of the browser window. Is there a way to do this? That is, can you make graphics or movie clips that start off outside of the frame appear in the browser when the swf file is saved?
View 2 Replies
Jun 9, 2011
I work on a truckload of flash banners and have progressed more into dispatching events from the final frame of a MovieClip that would contain an object (or collection of closely related objects) animating and then listening for them from the parent timeline so that I know when to continue the main animation etc.In the animation I'm working on currently, there's a car built from blocks over time (the blocks fall from the top of the banner to make up the car); this is all contained within one MovieClip (to make the resizing easier - all I'll have to do is move the entire MovieClip around).The problem is that when I place this MovieClip onto the timeline, it's represented by its first frame (which is nothing because no blocks have fallen yet). This makes it hard to work with because I can't really tell exactly where the car is going to be when the animation is done and so on.Is there a way to have the final frame of this MovieClip visible from the outer timeline?
View 3 Replies
May 18, 2004
I'd like to know whether it is possible to time-limit the final SWF Flash animation? Can it read the system date and stop working after 45 days, for example?
View 1 Replies
Oct 17, 2006
I have the following code in the main timeline:
[Code]...
how to make the final trace statement work?
View 5 Replies
Jul 17, 2007
have been browsing through internet and alot of forums to find THE best way to open a new popup window from Flash, only to discover that most dont even work!
The only requirements that i have with the script is that the movie can be published in version 8 AND is crossbrowser.
Alot of other popup window scripts either work only when published with lfash 5 OR only works for Firefox.
I have seen the other example files and popup generators but they dont work perfectly.
View 12 Replies