do fadeout dynamic text using AS3

Hello

not sure how its done but here's my code

public void upFireRateButtonClicked (e: MouseEvent) {}

If (room > = 0) {}

Room = 10;

bulletMoveSpeed ++

} else {}

trace ("not enough parts!");

Notif. Text = String ("not enough to pieces!");

}

}

When the user clicks the button upgrade, 10 pieces are taken away so it improves the speed of the ball.

Now, this text appears on the screen, how to make this fade out as alpha?

I would use TweenMax / Lite de Greensock.com. Something like this:

import com.greensock.TweenMax;

public void upFireRateButtonClicked (e: MouseEvent) {}

If (room > = 0) {}

Room = 10;

bulletMoveSpeed ++

} else {}

trace ("not enough parts!");

Notif. Text = "not enough coins!"

Notif.Alpha = 1;

TweenMax.to (notif, 1, {alpha: 0});

}

}

Also, note I took off String() 'not enough of parts!' all about - it's a chain, you don't need to cast to a string.

Tags: Adobe Animate

Similar Questions

  • Align the text in the dynamic text using HTML box

    Hello

    I'm importing text to mysql through php, for an area of dynamic text in flash. I can't text from column 2 to align to the left. It comes out like this:
    Column 1 column 2
    James Kearns
    Mary Peterson
    Thomas Clark

    The php code I have is:
    print ("& dbpages =");
    While ($row = {mysql_fetch_array ($result, MYSQL_ASSOC))}
    Print "< table >. $row ["FirstName"]. "". "< tr > < td align = left > '." $row ['name']. "< table > < /tr > < / table >". " » \n » ;
    }

    The AS code is:

    Where database_txt is the dynamic text box.
    How can I align column 2?

    Thank you
    Paul

    Thanks for your comments.
    I used the tag to format text and solved the problem. In the PHP code I used the tab stops \t. It aligns data in Flash.
    PHP code should now be:
    Print ("& dbpages =");
    While ($row = {mysql_fetch_array ($result, MYSQL_ASSOC))}
    Print "\t".$row['first_name"]. '\t'.» $row ['name']. » \n » ;
    }

    The Flash code is now:

    var resultPages_LV:LoadVars = new LoadVars();
    resultPages_LV.onLoad = function (success: Boolean) {}
    If (success) {}
    var myformat:TextFormat = new TextFormat();
    myformat.tabStops = [20 140];
    database_txt.htmlText = true;
    database_txt.htmlText = resultPages_LV.dbpages;
    database_txt.setTextFormat (myFormat);
    }

  • Update of dynamic text using a timer

    I have the underside of coding and I am trying to update the text in the text box (my_txt) several times: to launch at 12:01 and after about a week. It updates at launch, and after a week, but not at 12:01. I have marked the location where the error occurs and coding is not fair. How to change a dynamic text box using a timer with external text, from a Web site?

    Any help is appreciated



    var loadit:URLLoader = new URLLoader();
    loadit.addEventListener (Event.COMPLETE, completeHandler);
    loadit. Load (new URLRequest (url));

    function completeHandler(event:Event):void {}
    my_txt. Text = event.currentTarget.data as String
    my_sb. Update();
    trace ("site Web reference on Load");
    Stop(); }

    var minuteTimer:Timer = new Timer(1000, 604800);
    minuteTimer.addEventListener (TimerEvent.TIMER, __ontick__);
    minuteTimer.addEventListener (TimerEvent.TIMER_COMPLETE,
    onTimerComplete);
    minuteTimer.start ();

    function onTick(event:TimerEvent):void {}
    trace ("Tick" + event.target.currentCount);

    var time = new Date();
    var: hours: uint = time.getHours ();
    var: minutes: uint = time.getMinutes ();
    var: seconds: uint = time.getSeconds ();

    If (== hours 12 minutes == 01 seconds == 1) {}
    my_txt. Text = event.currentTarget.data have thong <-this is where I make mistakes and what does not work
    my_sb. Update();
    trace ("alarm pulled at 12:01:01")}}

    function onTimerComplete(event:TimerEvent):void {}
    my_txt. Text = "You left your PC then restart too long, for the other updates;"
    my_sb. Update();
    trace ("Timer triggered, end to 604 800 seconds"); }

    Thanks DazFaz,

    I took a different approach, I changed the interval timer and set it for go back initially, using gotoAndPlay (1) at 12:01.

    In my case, it works as well and takes up less coding.

  • Internal dynamic text formatting using HTML tags in As3... Help!

    I'm for a solution of navigation for about 2 hours, but I can't find anything that could help. I have a dynamic text field, and I want to format it, (to highlight the first 2 words in red and the rest in italics). Usually, I load external .txt files and I use HTML tags to format the text inside. But this time I have to do internally.

    Is it possible to do?

    Kind regards!

    You mean you want to format your text in the textfield with html like tags for example this one?

    yourtextfield. htmlText = "Hello it!"

    This underlines the 'Hello' and bolden ' here! You can add the css inline style too to add the colors of the background also.

  • Photo Gallery dynamic in Flash using AS3.0 and XML, but it does not work and failed in my application.

    Hello

    I'm creating an iPad app using AS3. The application contains three sections.

    10-21-2013 6-44-13 PM.jpg

    These items (chocolate sources) contains dynamic library using XML. Photos, pictures and text in this section are loaded from XML.

    I did face may I tried to run this application to issue:

    • The photos of the Gallery did not show
    • Thumbnails (buttons to navigate through the photo gallery) does not appear at all. (Thumbnails should appear in the box photo gallery).
    • The text does not (the text must be declared in each photo as describtion)
    • I want to understand Swipe in the photo gallery, how can I do this?
    • When I click on button 'Chocolate Sources', the photo gallery will appear in each section, this is print screens describe what I mean:

    Screen shot 2013-11-19 at 1.05.15 PM.png

    Screen shot 2013-11-19 at 1.05.28 PM.png

    Screen shot 2013-11-19 at 1.05.31 PM.png

    Photo gallery covers the home screen too.

    Screen shot 2013-11-19 at 1.05.35 PM.png

    This is my XML:

    <? XML version = "1.0" encoding = "utf-8"? >

    < sources >

    < section >

    < details >

    Cocoa is in the tropics, such as Central America and the southern region.

    < / details >

    < image >

    < url > coca1.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Cocoa is provided in many countries as the Indonesia, Ghana, Brazil, Ecuador and Cameroon.

    < / details >

    < image >

    < url > coca2.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Dark chocolate helps to relax and reduce the stress and blood pressure because it includes antioxidant elements, which helps the vasodilator process.

    < / details >

    < image >

    < url > coca3.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate provides energy and hyperactive sometimes because it contains a high level of caffeine and sugar.

    < / details >

    < image >

    < url > coca4.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate could be mixed with many different flavors such as Mint, strawberry, orange, banana, vanilla, hazelnut, almond, coconut and etc.

    < / details >

    < image >

    < url > coca5.jpg < / url >

    < / image >

    < / section >

    < section >

    < details >

    Chocolate is expressing hospitality well and good time because of its pleasant taste.

    < / details >

    < image >

    < url > coca6.jpg < / url >

    < / image >

    < / section >

    < / sources >

    -------------------------------------------------------------

    And here's my Action Script for the section "Sources of chocolate:

    Stop();

    function Choco1(evt:MouseEvent): void {}

    gotoAndStop('16');

    }

    choco_btn.addEventListener (MouseEvent.Click, Choco1);

    function Souc1 (evt:MouseEvent): void {}

    Stop ('31');

    }

    souc_btn.addEventListener (MouseEvent.Click, Souc1);

    function ShopIn1 (evt:MouseEvent): void {}

    gotoAndStop('46');

    }

    shops_btn.addEventListener (MouseEvent.Click, ShopIn1);

    import flash.net.URLLoader;

    import flash.net.URLRequest;

    import flash.events.Event;

    import flash.display.MovieClip;

    import flash.display.Loader;

    Import fl.motion.MotionEvent;

    import flash.events.MouseEvent;

    import flash.sampler.NewObjectSample;

    import flash.text.TextFormat;

    var xmlLoader: URLLoader = new URLLoader (new URLRequest ("sources.xml"));

    xmlLoader.addEventListener (Event.COMPLETE, finishedXmlLoader);

    var xmlFile:XML;

    var xextend:int = 10;

    var gal: galary = new galary ();

    GAL.x = 85;

    GAL.y = 165;

    addChild (gal);

    var txfe: TextField = new TextField ();

    txfe.x = 25;

    txfe.y = 45;

    var tformat:TextFormat = new TextFormat ();

    TFORMAT. Bold = true;

    TFORMAT. Color = 0xFFFFFF;

    TFORMAT. Size = "18";

    TFORMAT.font = "Arial";

    txfe.defaultTextFormat = tformat;

    addChild (txfe);

    function finishedXmlLoader (e: Event): void {}

    xmlFile = new XML (xmlLoader.data);

    var leng:int = xmlFile.image.length ();

    txfe. Text = xmlFile.image.details [0];

    for (var i: int = 0; i < leng; i ++) {}

    var b:thumbs = new (inches);

    b.x = xextend;

    b.y = 480;

    b.buttonMode = true;

    b.Details = (i + 1) m:System.NET.SocketAddress.ToString ();

    addChild (b);

    b.addEventListener (MouseEvent.MOUSE_OVER, theMosover);

    b.addEventListener (MouseEvent.MOUSE_OUT, theMosout);

    b.addEventListener (MouseEvent.CLICK, onMosClick);

    var bloader:Loader = new Loader();

    bloader. Load (new URLRequest ("thumbs /" + (i + 1) + ".jpg"));

    b.addChild (bloader);

    xextend += b.width + 50;

    }

    var loader: Loader = new Loader ();

    Loader.Load (new URLRequest ("pictures/coca1.jpg"));

    gal.addChild (loader);

    }

    function theMosover(m:MotionEvent):void {}

    m.currentTarget.alpha = 0.5;

    }

    function theMosout (m:MouseEvent): void {}

    m.currentTarget.alpha = 1.0;

    }

    function onMosClick(m:MouseEvent):void {}

    var loader: Loader = new Loader();

    Loader.Load (new URLRequest ("images /" + m.currentTarget.details + '.jpg'));

    gal.addChild (loader);

    txfe. Text = xmlFile.image.details [int (m.currentTarget.details)-1];

    }

    -------------------------------

    I need urgent assistance to correct errors and make this section work well.

    Thank you.

    Try:

    txfe. Text = xmlFile.section [int (m.currentTarget.details)-1]. Details;

    Instead of

    txfe. Text = xmlFile.image. [int (m.currentTarget.details)-1];

    and add your thumbs to the lag, not the scene.  When you are finished with the Gallery, remove the lag.

  • Adding Image to Simple button dynamically using AS3

    Hello

    I need help trying to figure out how to dynamically add an image (PNG or JPEG) I can put in a button library also dynamically created in AS3.

    Is there a way to (1) add the image instead of using a label text and centered it in the button?

    Here's the AS3 for the simple button without the image (currently uses the text label, but I would prefer if possible replace with an image for the text):

            
            var mc2:MovieClip = new MovieClip();
            mc2.addChild( bgRed2 );
            mc2.addChild( txt2 );//currently uses text label; would prefer to use an image istead of text
    
            var mc2a:MovieClip = new MovieClip();
            mc2a.addChild( bgRed2a );
            mc2a.addChild( txt2a );currently uses text label; would prefer to use an image istead of text
    
            var clearBtn:SimpleButton = new SimpleButton();
            clearBtn.upState = mc2;
            clearBtn.overState = mc2a;
            clearBtn.downState = clearBtn.upState;
            clearBtn.hitTestState = clearBtn.upState;
            clearBtn.x = 0;
            clearBtn.y = 0;
            addChild( clearBtn );
            clearBtn.x = 55;
            clearBtn.y = stage.stageHeight-clearBtn.height;
    

    Any help appreciated.

    assign a class name to your image (for example, Img1). You can then use:

    var img1D:BitmapData = new BitmapData();

    var img1:Bitmap = new Bitmap (img1D);

    cleanBtn.upState = img1; for example, the northern part of the State of the button is the image.

    If you want general information and the image centered on the background, create your background (movieclip or sprite), using addChild to add img1 to your context and Center it.  Then assign upState your button to be your background etc.

  • Text dynamic and changing text in AS3

    I have a dynamic text box in my library.  I drag my main stage and give it a name... It's now a movieclip. The name is "mcAdmin".  I added a MOUSE_OVER event listener.  I want to change it the color of the text, but for now I just try to change the text; However, it does not display the change in the text that I want.  I do track and change is here on the output window, but it is not displayed as such.  How do I:

    (1) use AS3 to change the color of the font of the text

    (2) use AS3 to change the text and have it display?

    function onMouseOver_txtAdmin(e:MouseEvent):void
    {
    Mouse.Cursor = "Button";

    Current mcAdmin text is 'Administration '.

    I want to change the color of the Administartion on Mouse_Over

    but to see if I can come up with something, I just try to change the text.


    mcAdmin.text = "Hello";
    trace (mcAdmin.Text);


    mcPPMB.alpha =. 5;
    mcASB.alpha =. 5;
    mcISO.alpha =. 5;
    mcEA.alpha =. 5;
    mcAdmin.alpha = 1;

    mcAdmin.scaleX = 1.25;
    mcAdmin.scaleY = 1.25;
    }

    Thank you.

    1

    Type a name for the textfield object if it isn't already (sounds like you put it into a movieclip).

    to change the text, set the text property of your text field

    Like this

    myTextField_txt.text = "here is the text."

    or if she is inside a movieclip

    myClip_mc.myTextField_txt.text = "here is the text."

    To change the color, you need a TextFormat on it. To keep the same fontsize, police etc, you could first get the TextFormat of your existing Textfield, change the color of the TextFormat and place it on the TextField object.

    get the Textformat of the first character

    var TF:TextFormat = myTextField.getTextFormat (0.1)

    Set font color
    TF.color = 0xff0000;

    on the set of the text
    myTextField.setTextFormat (TF)

  • SharedObject AS3 displaying not dynamic text

    Hello:
    I use AS3 on the timeline. I'm trying to figure out how to save text input using dynamic text boxes.
    I have two input boxes (box1 and box2) where user types and last name. Two dynamic text (box3 and Box 4) that will save the user name and last name boxes.

    PROBLEM:

    I can draw full name, but not able to display the dynamic text and save the text in the entry fields.

    Please help me to fix my code.


    Here is my code:

    var so: SharedObject = SharedObject.getLocal ("sampleCode");


    Box1.text = so.data.firstName;
    Box2.text = so. Data.LastName;

    If (!) YOU Data.FirstName)
    {
    Box1.text = Box3.Text;
    Box2.text = box4. Text;
    }

    saveBtn.addEventListener (MouseEvent.CLICK, saveData);

    function saveData(evt:MouseEvent)

    {
    Switch (evt.currentTarget.Name)
    {
    case 'saveBtn ':
    {

    so.data.firstName = box3.text;
    so.data.lastName = box4.text;
    so. Flush();
    break;
    }

    trace (SO. Data.FirstName);
    trace (SO. Data.LastName);

    Thank you;

    German

    If your trace() functions reveal you're setting if properly, but you're not well, use of recovery:

    var so: SharedObject = SharedObject.getLocal("sampleCode","/");

  • External SWF dynamic text box.  How to target the area of text in AS3?

    Hello... I am loading an external file in a master file. Load the external file into an empty clip that is located on the stage of the main file. This external file that is loaded has a dynamic text box that I am trying to target using AS3.


    The way he did in AS2 has emptyMovieClipName.textBoxName.text = "whatever" "


    I tried to focus my text box using this same code, but it does not work in AS3 environment.

    Clues how proceed in AS3 would be appreciated!

    Thank you...
    Brenda

    you load not in a vacuum. you are attaching a child magazine empty and property content loader is the main timeline of your external swf.

    Here's how you need to reference your textfield in your external swf file:

  • AS3 SharedObject of dynamic text field entry into other frameworks...

    Hello I have the script:

    var gTeams:Array = new Array (teamName1, teamName2, teamName3);

    var so:SharedObject = SharedObject.getLocal ("dataSO");

    var shared_data:String;

    for (var i: int = 0; i < gTeams.length; i ++) {}

    If (["team_name_" + i] so.data) {}

    gTeams [i] .text = so.data ["team_name_" + i];

    }

    }

    function saveTextF (): void {}

    for (i = 0; i < gTeams.length; i ++) {}

    so. Data ["team_name_" + i] = gTeams [i]. Text;

    }

    so. Flush();

    }

    In other settings, I have dynamic text fields:

    tName1, tName2, tName3.

    But I can't get the text in the text entry fields.

    How can I do?


    Thanks for your help

    Use instead of TextEvent.TEXT_INPUT Event.CHANGE:

    teamName1.addEventListener (Event.CHANGE, tName1F);

    function tName1F(e:Event):void {}

    .

    .

    .

    Note that the response number 8 is the right answer to your question.

  • How can I dynamically load swc files using as3? (without relying on the Flash IDE).

    How can I dynamically load swc files using as3? (without relying on the Flash IDE).

    The SWF file can be used in the same way as the CFC, which means that you don't need to "visually show" anything when it is loaded. Your code can use the classes and assets incorporated into the SWF, just as a SWC file. So if someone just to load the SWF file to see what was in it that they see nothing. They could however access programmatically to what anyone on the inside just like you, if they went to that level. But it is not as easy as just racing as SWF to see what is inside.

    I hope that all packaging several separate sovereigns will allow you to load and unload only what you need to keep the RAM usage as low as possible with a minimum load SWF.

    If you are ready, please mark all useful/correct so we can filter without response. You're welcome and good luck!

  • creation of an area of dynamic text inside a movieclip using a loop for

    I'm having issues creating several areas of dynamic text inside a movieclip using a loop for.  I use 2 ACEs.  Here is the code I've created so far

    var leading: Number = 0;

    function drawClip (): Void

    {

    this.createEmptyMovieClip ("mc", 10);

    for (i = 0; i < 5; i ++)

    {

    mc.createTextField ('text areas' + i, this.getNextHighestDepth (), 0, leading, 200, 200)

    MC ["text boxes" + i] .text = i;

    leader + a = 20;

    }

    }

    drawClip();

    Create a mc but she only display the number 5

    Any thoughts?

    You are cionstantly, crushing the textfield created previously due to the use of the wrong depth define.  You point to 'this' to get a depth value, but he planted inside 'mc', so it's always at the same depth since "this" index of depth does not change.  Use...

    mc.createTextField ('text areas' + i, mc.getNextHighestDepth (), 0, leading, 200, 200)

  • Create a link using dynamic text and Capture of Variable

    I'm building a dynamic website with Dreamweaver CS5 with Coldfusion 9

    Currently, I created an array of dynamic text. The table is created by querying the invoice table and displays all of the invoices customers. The columns Include invoice #, Date, amount paid, BalanceRemaining, Expiration Date. So, basically lists all invoices that I made a request to the unique customer. It is pulled up using a session variable, that I created from the login page.

    My question is I want to do the # "Bill" when you click on it it goes to a new page and executes a query that retrieves infro associated with this specific invoice such as Services rendered, the Description of Service, Date, price, Total. I was able to create a link to the invoice # but I'm stuck trying to figure out how to capture the Unique invoice # and apply it to the new query. Is it possible if yes, how?

    Thanks for your help!

    < cflock scope = "Session" type = "ReadOnly" timeout = "30" throwontimeout = "no" >

    < cfset MM_Username = Iif (IsDefined("Session.MM_Username"), "Session.MM_Username", DE("")) >

    < cfset MM_UserAuthorization = Iif (IsDefined ("Session.MM_UserAuthorization"), "Session.MM_UserAuthor-ization", DE("")) >

    < / cflock >

    < cfif MM_Username EQ "" EQ MM_UserAuthorization or "" or ListFind("User,Admin",MM_UserAuthorization) EQ 0 >

    < cfset MM_referer = CGI. SCRIPT_NAME >

    < cfif CGI. QUERY_STRING NEQ "" > "".

    < cfset MM_referer = MM_referer & "?" & CGI. QUERY_STRING >

    < / cfif >

    < cfset MM_failureURL = "" sorry.cfm? accessdenied = "and URLEncodedFormat (MM_referer) >"

    < cflocation url = "' #MM_failureURL # ' addtoken ="no">"

    < / cfif >

    < cfparam name = default "PageNum_Invoice" = "1" >

    < cfset GetFileFromPath = CurrentPage (GetBaseTemplatePath ()) >

    < cfparam name = default "PageNum_Query_Invoice" = "1" >

    < cfquery name = "Query_Invoice" datasource = "SBC" >

    SELECT DueDate, AppliedAmount, RefNumber, BalanceRemaining, TxnDate

    OF the invoice

    WHERE CustomerRefFullName = < cfoutput > ' #Session.FullName # ' < / cfoutput >

    < / cfquery >

    < cfset MaxRows_Query_Invoice = 10 >

    < cfset StartRow_Query_Invoice = Min ((PageNum_Query_Invoice-1) * MaxRows_Query_Invoice + 1, Max (voice of Query_In.) RecordCount, 1)) >

    < cfset EndRow_Query_Invoice = Min (StartRow_Query_Invoice + MaxRows_Query_Invoice-1, Query_Invoice.Rec ordCount) >

    < cfset TotalPages_Query_Invoice = Ceiling(Query_Invoice.RecordCount/MaxRows_Query_Invoice) >

    < cflock scope = "Session" timeout = "30" type = "Exclusive" >

    <! - Session variable for invoice reference number - >

    < cfset Session.RefNumber = Query_Invoice.RefNumber [1] >

    < / cflock >

    < cfset QueryString_Query_Invoice = Iif (CGI. QUERY_STRING NEQ "", FROM ('&' & XMLFormat (CGI.) (QUERY_STRING)), de("")) >

    < cfset tempPos = ListContainsNoCase (QueryString_Query_Invoice, "PageNum_Query_Invoice =", "&") >

    < cfif tempPos NEQ 0 >

    < cfset QueryString_Query_Invoice = ListDeleteAt (QueryString_Query_Invoice, tempPos, "&") >

    < / cfif >

    < ! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional / / IN" "http://www.w3.org/TR/html4/loose.dtd" > ""

    "< html > <!-InstanceBegin template="/Templates/customer_template.dwt.cfm ' codeOutsideHTMLIsLocked = 'false'->

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 ">"

    <!-InstanceBeginEditable name = "title"--> < title > Untitled Document < / title > <! - InstanceEndEditable - >

    < link href = "styles/Main.css' rel ="stylesheet"type =" text/css">"

    < script src = "SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script > "

    < link href = "SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" > "

    <!-InstanceBeginEditable name = 'head'-> head content goes here <! - InstanceEndEditable - > < / head >

    < body >

    < div id = "Container" >

    < div id = "header" > < img src = "Images/site Web - Image.gif" width = "393" height = "217" alt = "TS planning landscaping Logo and company name" > < / div >

    < div id = "menu_bar1" >

    < ul id = "MenuBar1" class = "MenuBarHorizontal" >

    < li > < a class = "MenuBarItemSubmenu" href = "index.cfm" > home < /a >

    < ul >

    < li > < a href = "#" > 1.1 < /a > < /li >

    < li > < a href = "#" > 1.2 < /a > < /li >

    < li > < a href = "#" > question 1.3 < /a > < /li >

    < /ul >

    < /li >

    < li > < a href = "#" > about us < /a > < /li >

    < li > < a href = "#" > Services < /a > < /li >

    < li > < a class = "MenuBarItemSubmenu" href = "#" > user account < /a >

    < ul >

    < li > < a href = "login.cfm" > Connect < /a > < /li >

    < li > < a href = "registration_page_contact.cfm" > register < /a > < /li > "

    < li > < a href = "members_page.cfm" > customer Page < /a > < /li > ""

    < /ul >

    < /li >

    < li > < a href = "#" > contact us < /a > < /li >

    < /ul >

    < / div >

    < div id = 'Hand' >

    < div id = "side_bar" > <!-InstanceBeginEditable name = "sidebar"-> content for id "side_bar" goes here <! - InstanceEndEditable - > < / div >

    < div id = "main_body" > <!-InstanceBeginEditable name = "mainbody"->

    < H1 > < cfoutput > #Session.FullName # < / cfoutput > bills < / h1 >

    < p > here you can view your bills current and past. < /p > < br >

    < name of the form = "customerinvoices" >

    < table border = "1" align = "center" >

    < b >

    < td > < div align = "center" > invoice # < / div > < table >

    < td > < div align = "center" > Date < / div > < table >

    paid < td > < div align = "center" > < / div > < table >

    < td > < div align = "center" > BalanceRemaining < / div > < table >

    Due Date < td > < div align = "center" > < / div > < table >

    < /tr >

    < cfoutput query = "Query_Invoice" StartRowOptional = "" #StartRow_Query_Invoice # "LignesMax =" #MaxRows_Query_Invoice #">"

    < b >

    < td > < a href = "invoice_number_page.cfm" > #Query_Invoice.RefNumber # < /a > < table >

    < td > #LSDateFormat (Query_Invoice.TxnDate, 'MMMM DD, YYYY') # < table >

    < td > #DollarFormat (Query_Invoice.AppliedAmount) # < table >

    < td > #DollarFormat (Query_Invoice.BalanceRemaining) # < table >

    < td > #LSDateFormat (Query_Invoice.DueDate, "MMMM DD, YYY'") # < table >

    < /tr >

    < / cfoutput >

    < / table > < / make >

    < p > < table border = "0" align = "center" >

    < cfoutput >

    < b >

    < td > < cfif PageNum_Query_Invoice GT 1 >

    < a href = "#CurrentPage #?" PageNum_Query_Invoice = 1 #QueryString_Query_Invoice #"> first < /a >"

    < cfelse > sorry no bills have been found!

    < / cfif > < table >

    < td > < cfif PageNum_Query_Invoice GT 1 >

    < a href = "#CurrentPage #?" PageNum_Query_Invoice = #Max (DecrementValue (PageNum_Query_Invoice), 1) # QueryString_Query_Invoice #"> back < /a >"

    < / cfif > < table >

    < td > < cfif PageNum_Query_Invoice LT TotalPages_Query_Invoice >

    < a href = "#CurrentPage #?" "PageNum_Query_Invoice = #Min (IncrementValue (PageNum_Query_Invoice), Tota lPages_Query_Invoice) # QueryString_Query_Invoice # ' > next < /a >

    < / cfif > < table >

    < td > < cfif PageNum_Query_Invoice LT TotalPages_Query_Invoice >

    < a href = "#CurrentPage #?" PageNum_Query_Invoice = #TotalPages_Query_Invoice # QueryString_Query_In voice #"> last < /a >"

    < / cfif > < table >

    < /tr >

    < / cfoutput >

    < table / > < / p >

    <! - InstanceEndEditable - > < / div >

    < / div >

    < div id = "footer" >

    < p > home | Who are we | < /P > site map

    < p > & copy; TS in planning landscaping LLC 2010 < /p >

    < / div >

    < / div >

    < script type = "text/javascript" >

    var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "..."}) "" / SpryAssets/SpryMenuBarDownHover.gif ', imgRight: ".. ({"/ SpryAssets/SpryMenuBarRightHover.gif"});

    < /script >

    < / body >

    <! - InstanceEnd - > < / html >

    Without trying to sift through all the code has nothing to do with the question, I think you want to do something like this:

    Select number, Word

    etc.

    #word #.

    Then on nextpage.cfm, your variable will be url.thenumber.

  • using AS3 to create a quote at random in the text field

    Hello

    I think it would work, but unfortunately, I am not pulling the txt files in the field.

    It's definitley give me feedback at random.

    There are ten citations in a folder: Suzuki_quotes/quote1.txt etc.

    Should I not use a dynamic text field and create a text field by using var.

    Thank you

    Stop();

    var randomNumber:Number = Math.ceil (Math.random () * 10);

    var reqB:URLRequest = new URLRequest("Suzuki_quotes/quote1.txt");
    var loaderB:URLLoader = new URLLoader();

    function textLoadedB(event:Event):void {}
    quoteLdr.text = "Suzuki_quotes/quote" + NombrAl + ".txt";
    }

    loaderB.addEventListener (Event.COMPLETE, textLoadedB);
    loaderB.load (reqB);


    Btn1.addEventListener (MouseEvent.CLICK, goPage2);

    btn2.addEventListener (MouseEvent.CLICK, goPage1);


    function goPage1(evt:MouseEvent):void {}
    gotoAndStop ("page1");
    }

    function goPage2(evt:MouseEvent):void {}
    gotoAndStop ("page2");
    }

    If you have multiple txt files each with a quote, try:

    Stop();

    var randomNumber:Number = Math.ceil (Math.random () * 10);

    var reqB:URLRequest = new URLRequest("Suzuki_quotes/quote"+randomNumber+".txt");
    var loaderB:URLLoader = new URLLoader();

    function textLoadedB(event:Event):void {}
    quoteLdr.text = event.target.data;
    }

    loaderB.addEventListener (Event.COMPLETE, textLoadedB);
    loaderB.load (reqB);

    Btn1.addEventListener (MouseEvent.CLICK, goPage2);

    btn2.addEventListener (MouseEvent.CLICK, goPage1);

    function goPage1(evt:MouseEvent):void {}
    gotoAndStop ("page1");
    }

    function goPage2(evt:MouseEvent):void {}
    gotoAndStop ("page2");
    }

  • Keep the text formatting by using dynamic text...

    Hello

    I try to keep the format of a text I wrote in Word or InDesign CS4 using a dynamic text field (multiline)...

    So far, I have unsuccessfully...  Does anyone have any suggestions?

    Thanks in advance,

    GGour

    Unfortunately, you can not paste html formatting in textfields.  While you can format the textfield itself for font, size, color and other features, html formatting must be affected by the code, and Flash supports only a limited number of html tags.

Maybe you are looking for