Dynamic  text to button

i am loading the contents to a dynamic textbox using the xml
. I want the each line in the textbox to be acting as buttons ( or
even movieclip) so the i can give the onRelease event for each..
Does anyone knows how to do it ?

Ok, here is the code.
/*below loads the document home.txt into the dynamic text box
content_txt when the movie starts*/
var home_req:URLRequest = new URLRequest("home.txt");
var home_ldr:URLLoader = new URLLoader(home_req);
home_ldr.addEventListener(Event.COMPLETE, onComplete);
function onComplete(event:Event):void
content_txt.text = event.target.data;
/*below starts the default email app when the contact button
is clicked*/
var contact_req:URLRequest = new
URLRequest("mailto:[email protected]");
function contact(event:MouseEvent):void
navigateToURL(contact_req, "_blank");
contact_btn.addEventListener(MouseEvent.CLICK, contact);
/*The below doesn't work*/
function goHome(event:MouseEvent):void
var home_req:URLRequest = new URLRequest("home.txt");
var home_ldr:URLLoader = new URLLoader(home_req);
content_txt.text = event.target.data;
home.addEventListener(MouseEvent.CLICK, goHome);
Thanks in advance

Similar Messages

  • Dynamic text in buttons : instance name goes "instanceX"

    Hi,
    Another weird one (for me at least !)
    I've added a dynamic text to a button and named it, say,
    myTxt.
    If I put this button on stage as a movieclip I can target
    text as
    :_level0.btn1.myTxt
    If I put the button on stage as the button it really is,
    debugger tells
    me text instance is now : _level0.btn1.instance1
    Why ?
    Thanks in advance.
    PJ

    because buttons aren't movieclips and don't have timelines.
    so you can't reference items on, what appears to be a button
    timeline, with normal dot notation.
    the only real mystery is why flash allows you to apply an
    instance name to an object on that button's pseudo timeline.

  • Dynamic text disappears when clicking bold button.

    Dear friends,
    I have dynamic text inside a movieclip, that I can make it rotate.
    the dynamic text properties are : anti-alias for anmations and I emdedded all characters.
    When I click on the bold button the the text disappears.
    bold_btn.addEventListener(MouseEvent.Click, on_bold);
    function on_bold(e:MouseEvent):void
         var my_format:TextFormat = new TextFormat();
         my_format.bold = true;
         my_mc.my_txt.setTextFormat(my_format);
    How can I solve this problem.

    the easiest (and not very elegant way) is to add textfields that contain those fonts (and embed them).  you can remove your textfields from the display list or otherwise, make them not visible on-stage.

  • Dynamic Text preparation for Command button in ADF (Tr component)

    We have one command link and our requirement is to preapre the command button text dynamicaly .?
    Details are givin below :
    I need to get the button text value form the UCMS file based on the dynamic preparation .
    The key value of UCMS is "setupfamily_group_1-8FAM4".
    In the above mentioned key value the part 1 is "*setupfamily_group*_" is static text and part 2 "*1-8FAM4*" is dynamic which i will get throuth the List of Objects.
    i.e managedServices.product.productId. here managedSercies is varible contains the Objects from the list.
    please let me know how to append the part1 and part 2 as mentioned above in Command button text field ?
    <tr:forEach items="#{pageFlowScope.myExtrasBean.managedServicesExtras}"
    var="managedServices">
    <tr:commandButton text="#{myExtrasBundle.setupfamily_group_+#managedServices.product.productId}" id="setup_service"
    actionListener="#{pageFlowScope.myExtrasBean.manageMyFamilyProducts}"
    action="vfFamilyFlow">
    <f:attribute name="productId" value="#{managedServices.product.productId}"/>
    </tr:commandButton>
    </forEach>
    We not getting how to append the Static and dynamic text for command button text filed ? pleas let me know the syntax .
    Thanks

    HI
    We have tried with above both options .its issues not resolved .
    for the first one we are getting the compile time error
    and for the second option ,when we run the dynamic value its self printing in the JSF .
    We are trying to prepare the command button text as some part dynamically and some part static and its will act as key in the XML and get the corresponding value from the UCMS .
    Thanks

  • Adding Scrollbar and buttons to Dynamic Text

    Hello,
    I am trying to connect dynamic text to scrollbar and buttons. I did tutorial and Lynda.com and practically pasted the code in with my file names and for some reason it does not work. It says I have a "Access of Undefined Property mask_mc" Did I need to create a variable for this? I didn't in the tutorial.
    Right now I have the dynamic text loading successfuly in 2 different places and I wantd to add the scrollbar. I put the variables on frame 1 code and then I put the actually load code on the frame where it is needed.
    Any suggestions?
    Thanks! Sandra
    HERE IS CODE FOR FRAME 1:
    var textLoader:URLLoader = new URLLoader();
    var textReq:URLRequest;
    var scrollPercent:Number = 0;
    var minScroll:Number;
    var maxScroll:Number;
    var targetScroll:Number = philText_mc.y;
    var easing:Number = 5;
    var scrollAmt:Number = 15;
    var scrollDirection:Number = 0;
    HERE IS CODE FOR FRAME WHERE TEXT LOADS:
    textReq = new URLRequest("text_philosophy.txt");
    function philosophyTextLoaded(event:Event):void {
        philText_mc.philosophy_txt.text = textLoader.data;
        minScroll = philText_mc.y;
        maxScroll = minScroll - philText_mc.height + mask_mc.height;
    function dragScroller(event:MouseEvent):void
        var dragX:Number = line_mc.x - scroller_mc.width/2 + 1;
        var dragY:Number = line_mc.y;
        var dragW:Number = 0;
        var dragH:Number = line_mc.height - scroller_mc.height;
        scroller_mc.startDrag(false, new Rectangle(dragX,dragY,dragW,dragH));
        stage.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
        stage.addEventListener(Event.ENTER_FRAME, setScrollPercent);
        stage.removeEventListener(Event.ENTER_FRAME, scrollText);
    function stopDragging(event:MouseEvent):void
        scroller_mc.stopDrag();
    function setScrollPercent(event:Event):void
        scrollPercent = (scroller_mc.y - line_mc.y) / (line_mc.height - scroller_mc.height);
        if(scrollPercent < 0)
            scrollPercent = 0;
        else if(scrollPercent > 1)
            scrollPercent = 1;
        targetScroll = (scrollPercent * (maxScroll - minScroll)) + minScroll;
        philText_mc.y -= (philText_mc.y - targetScroll) / easing;
    function scrollUp(event:MouseEvent):void
        setDirection(scrollAmt);
    function scrollDown(event:MouseEvent):void
        setDirection(-scrollAmt);
    function setDirection(dir:Number):void
        scrollDirection = dir;
        stage.addEventListener(Event.ENTER_FRAME, scrollText);
        stage.addEventListener(MouseEvent.MOUSE_UP, stopScrolling);
        stage.removeEventListener(Event.ENTER_FRAME, setScrollPercent);
    function scrollText(event:Event):void
        targetScroll += scrollDirection;
        philText_mc.y -= (philText_mc.y - targetScroll) / easing;
        if(philText_mc.y > minScroll)
            philText_mc.y = minScroll;
            targetScroll = minScroll;
        else if(philText_mc.y < maxScroll)
            philText_mc.y = maxScroll;
            targetScroll = maxScroll;
        scrollPercent = (philText_mc.y - minScroll) / (maxScroll - minScroll);
        scroller_mc.y = (scrollPercent * (line_mc.height - scroller_mc.height)) + line_mc.y;
    function stopScrolling(event:MouseEvent):void
        scrollDirection = 0;
    textLoader.load(textReq);
    scroller_mc.buttonMode = true;
    philText_mc.external_txt.autoSize = TextFieldAutoSize.LEFT;
    scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragScroller);
    textLoader.addEventListener(Event.COMPLETE, philosophyTextLoaded);
    up_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
    down_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);

    Hello again,
    Maybe I am asking this question wrong. Instead of making you try and figure out what's going on in my file what I really need to know is how you would take this code I am attaching and make it happen on another frame besides frame 1 and it doesn't appear on frame 1. I think this may help me understand a little better.
    Also another way I was thinking to get around this would be to pull in an external swf into the spot where I want this text to go because I can make the scrollbars and external text work when it is the only thing going on in the movie. Would this be a bad way to set this up? and also SInce it is an external movie would I have maintimeline issues with mouse/scroller control?
    thanks! sandra
    Here is working code:
    var textLoader:URLLoader = new URLLoader();
    var textFile:URLRequest = new URLRequest("text/external.txt");
    var scrollPercent:Number = 0;
    var minScroll:Number;
    var maxScroll:Number;
    var targetScroll:Number = text_mc.y;
    var easing:Number = 5;
    var scrollAmt:Number = 15;
    var scrollDirection:Number = 0;
    function textLoaded(event:Event):void
        text_mc.external_txt.text = textLoader.data;
        minScroll = text_mc.y;
        maxScroll = minScroll - text_mc.height + mask_mc.height;
    function dragScroller(event:MouseEvent):void
        var dragX:Number = line_mc.x - scroller_mc.width/2 + 1;
        var dragY:Number = line_mc.y;
        var dragW:Number = 0;
        var dragH:Number = line_mc.height - scroller_mc.height;
        scroller_mc.startDrag(false, new Rectangle(dragX,dragY,dragW,dragH));
        stage.addEventListener(MouseEvent.MOUSE_UP, stopDragging);
        stage.addEventListener(Event.ENTER_FRAME, setScrollPercent);
        stage.removeEventListener(Event.ENTER_FRAME, scrollText);
    function stopDragging(event:MouseEvent):void
        scroller_mc.stopDrag();
    function setScrollPercent(event:Event):void
        scrollPercent = (scroller_mc.y - line_mc.y) / (line_mc.height - scroller_mc.height);
        if(scrollPercent < 0)
            scrollPercent = 0;
        else if(scrollPercent > 1)
            scrollPercent = 1;
        targetScroll = (scrollPercent * (maxScroll - minScroll)) + minScroll;
        text_mc.y -= (text_mc.y - targetScroll) / easing;
    function scrollUp(event:MouseEvent):void
        setDirection(scrollAmt);
    function scrollDown(event:MouseEvent):void
        setDirection(-scrollAmt);
    function setDirection(dir:Number):void
        scrollDirection = dir;
        stage.addEventListener(Event.ENTER_FRAME, scrollText);
        stage.addEventListener(MouseEvent.MOUSE_UP, stopScrolling);
        stage.removeEventListener(Event.ENTER_FRAME, setScrollPercent);
    function scrollText(event:Event):void
        targetScroll += scrollDirection;
        text_mc.y -= (text_mc.y - targetScroll) / easing;
        if(text_mc.y > minScroll)
            text_mc.y = minScroll;
            targetScroll = minScroll;
        else if(text_mc.y < maxScroll)
            text_mc.y = maxScroll;
            targetScroll = maxScroll;
        scrollPercent = (text_mc.y - minScroll) / (maxScroll - minScroll);
        scroller_mc.y = (scrollPercent * (line_mc.height - scroller_mc.height)) + line_mc.y;
    function stopScrolling(event:MouseEvent):void
        scrollDirection = 0;
    textLoader.load(textFile);
    scroller_mc.buttonMode = true;
    text_mc.external_txt.autoSize = TextFieldAutoSize.LEFT;
    scroller_mc.addEventListener(MouseEvent.MOUSE_DOWN, dragScroller);
    textLoader.addEventListener(Event.COMPLETE, textLoaded);
    up_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollUp);
    down_btn.addEventListener(MouseEvent.MOUSE_DOWN, scrollDown);

  • On button rollover Dynamic text and Movieclip appear

    Hi guys,
    I've got an issue - When one of my buttons is rolled over, I want text and a movieclip to appear. When the button is no longer rolled over, I want the text and movieclip to disappear.
    The way that I was going to do this was to have anchor_mc as an anchor, and upon rollover have the movieclip play from inside the anchor (as its at the exact X & Y that its needed at) and dynamic text appear.
    Questions:
    1) How do I attach mc_textbox to mc_anchor --- OR, how do I set coordinate for just where mc_textbox should show?
    2) How do I then make the movieclip disappear if the button is no longer rolled over?
    3) Is it not possible for me to merge all of the dynamic text functions into one function, using IF statements? I tried this, but couldn't work it out.
    AS3 code is attached below.
    import flash.events.MouseEvent;
    stop();
    line1.addEventListener(MouseEvent.ROLL_OVER, line_in1, false, 0, true);
    line1.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line2.addEventListener(MouseEvent.ROLL_OVER, line_in2, false, 0, true);
    line2.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line3.addEventListener(MouseEvent.ROLL_OVER, line_in3, false, 0, true);
    line3.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line4.addEventListener(MouseEvent.ROLL_OVER, line_in4, false, 0, true);
    line4.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line5.addEventListener(MouseEvent.ROLL_OVER, line_in5, false, 0, true);
    line5.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line6.addEventListener(MouseEvent.ROLL_OVER, line_in6, false, 0, true);
    line6.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line7.addEventListener(MouseEvent.ROLL_OVER, line_in7, false, 0, true);
    line7.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line8.addEventListener(MouseEvent.ROLL_OVER, line_in8, false, 0, true);
    line8.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    line9.addEventListener(MouseEvent.ROLL_OVER, line_in9, false, 0, true);
    line9.addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    function line_in1(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in2(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in3(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in4(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in5(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in6(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in7(e:MouseEvent):void
            line_output.text = "This is a test made by the MonkeyTest that has previously messed up\n        And testing a new line";
    function line_in8(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_in9(e:MouseEvent):void
            line_output.text = "up messed previously has that MonkeyTest the by made test a is This";
    function line_out(e:MouseEvent):void
            line_output.text = "";
            var mc= new mc_empty(); addChild(mc);

    It isn't relly clear to me what you have versus what you want, so these answers may be equally unclear to you.
    1. One way to join them together is to maually place one inside the other while authoring the file.  Another way is to use addChild to add the text mc to the anchor...  mc_anchor.addChild(mc_textbox);  To control where the text mc appears you can set its x and y properties.using actionscript... mc_textbox.x = 0;
    2. To make the movieclip disappear you can set its visible property to false... mc_anchor.visible = false;
    3. You can probably reduce that code substantially, though it partly depends on what variations there are really going to be in the text that displays for each rollover.  For now, I'll assume the text will be entirely different for each...
    for(var i:uint=1; i<10; i++){
         this["line"+String(i)].addEventListener(MouseEvent.ROLL_OVER, line_in, false, 0, true);
         this["line"+String(i)].addEventListener(MouseEvent.ROLL_OUT, line_out, false, 0, true);
    function line_in(e:MouseEvent):void {
         var lineTarget:MovieClip = MovieClip(e:currentTarget);
          // could use a switch instead of the if's in series if you know what a switch is
         if(lineTarget == line1){
              // do things for line1
         } else if(lineTarget == line2){
              // do things for line2
         ) else if.... etc

  • Button roll-over animation with dynamic text

    So I have a button I want to be able to use over and over. When you roll over the button, it does an animation and has a dynamic text box in it. Ovbiously im trying to make each text different for each button. What would be the smartest way to go about this? Thanks,
    Dan

    create a movieclip, put a stop() in frame one and add your "up" graphics, textfield etc put everything in its own layer.  create another keyframe on that timeline and label the frame "over" and add new keyframes only on the layers that will change.  ie, if the textfield doesn't change, don't put a keyframe on its layer.  likewise, for a "down" frame, if you want one.
    use instance names for everything in the movieclip that you want to control with actionscript.  ie, your textfield(s) will need instance name(s).  i usually use one textfield named tf.
    then use:
    btn1.tf.text = "test"
    btn1.addEventListener(MouseEvent.ROLL_OVER,overF);
    btn1.addEventListener(MouseEvent.ROLL_OUT,outF);
    btn1.addEventListener(MouseEvent.MOUSE_DOWN,downF);
    function overF(e:Event){
    // if you have another textfield here assign its text
    // likewise for other objects you want to change
    e.currentTarget.gotoAndStop("over");
    function outF(e:Event){
    // if you changed textfields in the other frames, reassign tf.text here
    e.currentTarget.gotoAndStop(1);
    function downF(e:Event){
    // if you have another textfield here assign its text
    e.currentTarget.gotoAndStop("down");

  • Agentry - Dynamic text for Platform wizard button?

    Hi,
    I want to reuse the same screen set navigating from 2 different places.
    The text for the "Move to the Next Screen (cannot back up) platform wizard button should be different in each case to make it easier to understand for the end user. Apparently the only option is to hardcode a text, but I would like to know if it could be possible to use a rule or something to display a dynamic text for the wizard button.
    Thank you,
    Marçal

    Hi Marcal,
    Unfortunately that idea was shot down a while ago, though it would be nice.  The general dividing rule I use is if the question is appropriate for Agentry regardless of whether it is installed standalone (like Work Manager 5.3) or on any version of SMP, then it should be in SAP for Mobile.  These are usually application development or customization types of questions.  The Agentry landing page is in SAP for Mobile for that reason.  Though the line is definitely getting blurry now that Agentry apps are moved or moving to the SMP.
    If the question relates to Agentry issues which directly involve SMP (usually installation, implementation, or configuration), then it should be in SAP Mobile Platform Developer Center.
    I am planning to put together a blog or several to help go through where and why different posts should be placed.  Also one about tagging!
    Thanks, Mike
    SAP Customer Experience Group - CEG

  • Flash button with dynamic text

    I'm trying to create a flash button so that it can toggle
    between "Sound On" and "Sound Off" but I feel like I'm doing
    something wrong and it errors out on me.
    I have a button on stage as, and in my up/over/down/hit in
    different colors I have a dynamic text field identified as
    sound_txt.
    Here's the script I have so far for my frame:
    stop();
    mutebtn.addEventListener(MouseEvent.CLICK,muteDo);
    function muteDo(event:MouseEvent) {
    if (mutebtn.sound_txt.text == "Sound Off") {
    mutebtn.sound_txt.text = "Sound On";
    } else {
    mutebtn.sound_txt.text = "Sound Off";
    and this is the error message I am getting:
    TypeError: Error #1010: A term is undefined and has no
    properties.
    at buttontst_fla::MainTimeline/muteDo()
    TypeError: Error #1010: A term is undefined and has no
    properties.
    at buttontst_fla::MainTimeline/muteDo()
    Can someboy please advise as to how I can get this to
    work?

    I tried bringing the textfield out of the button but while it
    worked when I pressed the button portion that is not under the
    text, it was the part of the text that got in the way from doing
    anything. I wonder where I can find an existing example that works
    the way I want it too so I can at least follow that example. I
    think I tried making the dynamic text a movie clip but was still
    getting similar errors.
    Edit: I at least got it to work by converting the button into
    a movie clip although I had also wanted it so that I could also
    change the foreground color of the dynamic text upon rollover,
    etc.

  • Displaying the result of a calculation in a dynamic text box

    Hi folks,
    I'm having a very minor issue here (operator error, I'm sure ). With the help of some folks here, I've created a series of calculations, and I've got that part down. Now, I just need it to show up in the movie.
    I've created the dynamic text box in Flash (CS3), but when I hit test, it won't show up.
    After all the calculations, I should have a figure that I call totalmoney. My dynamic text box is called total. The user doesn't need to hit anything for it to appear. It just appears as part of the movie.
    Here's my code:
    stop();
    var startDate:Date = new Date(2010,0,12);  // use your  startyear, startmonth, startdate in the new Date() parameters.
    var  currentDate:Date = new Date();  // assuming user's clock is correct and in your  timezone.  else use server date/time.
    var numberOfSeconds:Number =  (currentDate.getTime()-startDate.getTime())/1000;
    var interest:Number =  (numberOfSeconds*0.74356);
    var totalmoney:Number =  (interest+15,000,000);
    function displaytotal(evt:TextEvent):void {
         total.text = "totalmoney";
    Any thoughts?
    Thanks!
    Napo

    You didn't have to bury any of the calculations in the function--leaving it as you had it is better.  They could remain where they a=werew, and you'll probably find you want them outside it if you have other plans for using them.  If left inside, they only have scope inside.  In the programming world, it's good to think of functions as things that do one thing and one thing only (though it isn't often practiced that way)--it's called modular design.
    When you place an event as an argument for a function, it typically means that there is an event listener that initiates the call to the function.  If you work with buttons you'll see what I mean.  But if the plan is to create your own call to a function when you desire it as such, not have it driven by an event listener, then you don't need to pass any event to it, though you may pass some other type of variable to it if need be.
    For instance, what you have now will call the function without an argument because the function has the value built into its code....
    displaytotal();
    But you could also make the function a little more generic and set it up to recieve the value instead as an argument...
    function displaytotal(amt:Number):void {
         total.text = String(amt); // an earlier error of mine
    displaytotal(totalmoney);
    That would make your function a little more useful.  Now it could be used to display other Number variables as well.
    // my earlier error was that a textfield displays text, so you need to convert the Number value to s String.
    Hope I'm not confusing you.

  • Dynamic Text Field is not displaying foreign characters... HELP!

    I have a dynamic text field that is not displaying foreign characters properly. They appear as boxes.
    Here's what I've tried.
    Under properties for the text field, I clicked on the embed characters button. In there, I pasted all the special characters I would need and clicked okay. Shouldn't this be enough for the text to display properly? What am I missing? Please help...

    More info: I'm noticing that in the actual dynamic text field in my .FLA file, if I type a foreign character like é, it pops up as a block. My family font is set to New Caledonia... is it possible that New Caledonia doesn't have those particular glyphs? The thing that doesn't make sense to me though is, last year when I made this card, it worked fine with New Caledonia... Any help is greatly appreciated!!

  • EDGE and HTML dynamic text in a "box" with scroll bar

    I'm new to EDGE, a win7pro master collection cs5.5 suite owner. I'm mainly in the Film/Video post production field (mostly AE, PPro, Pshop, IA) but have been branching into web design the last couple of years.  I use Dreamweaver, Fireworks, Flash. While I'm a expert user with all the Film/video apps, I would say I only have intermediate ability with the web apps. While I understand a lot of programing logic bulding blocks I'm not a coder.
    So since we're told "flash is dead",  my interest in Edge is to try to do some of the things that I can currently do in flash in  EDGE. I was excited when Edge first came out but lost interest when it became obvious that Adobe was not going to offer Edge and Muse to "suite owners" but only in their force feeding of the "Cloud". Better known as the "golden goose" for adobe stockholders and a never ending perpetual hole in the pocket for users. Anyway....
    I spent the last couple of days doing some of the tuts and messing with the UI. It's matured a lot since I was here last.
    I've been working on a flash site for a sports team where one of the pages is a player profile page where college recuriters and other interested parties can view recuriting relavent info/stats about players. This is how it works. While on the "Team" page a users clicks on  a button labled "Player Profiles" . (Animation) A "page" flies in and unfurls from the upper right corner (3d page flips effect created in AE played by flash as a frame SEQ). Once it lands filling most of the center of the screen there is a bright flash. As the brightness fades we see the "page" is a bordered box with a BG image of a ball field(End). (Animation) from behind the border in fly small pictures (player head shots with name and jersey number). They stream in and form a circle like a wagon train and the team logo zooms up from infinity to the center of the circle(End). As the user mouses over a player's pic it zooms up a little and gets brighter (like mouseover image nav thumbs for a image slider). If the user clicks on a player's head shot it flips over and scales up to become a text box with a scrollbar. The content of the box is a mix of images, static and dynamic text fields populated from data in an "player info data base" XML file, and some hyperlinks. It's all kept updated dynamicaly with current stats, info and images from the XML file. There is also a "PDF" button that allows the user to open/save/print a PDF of the player's profile (the PDF's are static files for now but the choice of which pdf to retrive is dynamicaly supplied via the XML file.
    So.... Is Edge now able to do something like this?  Would it need to be a collection of small animations? could these be "assembled" and connected as an asset in dreamweaver ?
    I thought I would approach this from the end (ie click on an image and display a box with dynamic TEXT fileds. ) since that is the most important part, ie displaying the dynamicaly updated profile info.  Sooooo....
    Can Edge display a scrolling text box with Images, static text, and html dynamic text in it??
    Joel

    The code is in composition ready. Click the filled {}

  • How do I embed multiple font outlines in dynamic text field

    Can anyone tell me how I can embed multiple font outlines in
    Flash MX so I can get smooth text in a dynamic
    text frame? I want to use Regular, bold and italic in various
    parts of the text.
    I was using the Character button in the properties manager
    and tried to include all Characters. That does not work.
    In the Properties manager I can choose Bold and/or Italic.
    But it becomes a universal setting that overrides my HTML tags in
    my external txt file that I am importing. I dont want all my text
    to be bold.
    If I dont select them in the properties, however, Flash will
    not embed the font that it needs.
    Is there a different way to embed fonts other than under the
    Character Tab?
    I tried to import fonts to the library, but can not select
    them.
    Your help would really be appreciated.
    Sincerely,
    ggaarde

    ggaarde wrote:
    > Thanks Urami
    > Tried your method and it does not work for me.
    > I put 3 dynamic text fields in the first frame of the
    movie. Set them up to
    > where one is regular, one is bold and one is italic
    Helvetica.
    Weird, it works for me on first go, always had in fact :)
    Show you an example, try to compare to your file see if you
    missed anything accidentally.
    http://flashfugitive.com/stuff/font/text.swf
    text file
    http://flashfugitive.com/stuff/font/text.txt
    fla
    http://flashfugitive.com/stuff/font/text.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Issue with visibiliy of dynamic text and hyperlinks

    Hi everyone,
    It's been a while since I've build a Flash site and a I'm finding a out a lot has changed.
    I'm building a simple site with some pictures, text and the 5 last posts from Twitter.
    This last one is not working out that well.
    First of all:
    The outputed data from Twitter is displayed into a dynamic text field which is working fine when I test the movie in Flash, but as soon as I upload it to my server the text is not visible.
    Flash already told me that I need to enclose my font in the movie (that's new for me) and I did that using the button in the properties windows.
    But it still won't work.
    I recreated the Twitter reader in a empty document to isolate it from my website during the troubleshooting.
    Here's the AS I'm using:
    var loadXML:XML = new XML();
        loadXML.ignoreWhite = true;
        loadXML.onLoad = processXML;
        loadXML.load("twitter.php"); //used when swf in placed on server
        loadXML.load("");
        function processXML(loaded:Boolean)
            if(loaded)
                var node = this.firstChild;
                tweet_1.text = node.childNodes[0].childNodes[2].firstChild;
                tweet_2.text = node.childNodes[1].childNodes[2].firstChild;
                tweet_3.text = node.childNodes[2].childNodes[2].firstChild;
                tweet_4.text = node.childNodes[3].childNodes[2].firstChild;
                var follower_count = node.childNodes[9].childNodes[11].childNodes[9].firstChild;// Creates variable
                trace(follower_count); //loads variable into output
                follower_count_txt.text = follower_count;// show follower count in text box
            else
                error_txt.text = "Error loading XML file";
                        for (i=0; i<follower_count; i++)
                            _root.attachMovie("tweep_mc", "tweep"+i+"_mc", i);
                            _root["tweep"+i+"_mc"]._x = 150 + random(500);
                            _root["tweep"+i+"_mc"]._y = 150 + random(500);
                            trace(i);
                        trace(i);
        follow_btn.onRelease = function()
            getURL("");
    facebook_btn.onRelease = function()
            getURL("");
    stop();
    Right here you can see the output of it on the server.
    The second issue:
    The items posted to Twitter will simply always contain pictures which Twitter posts as hyperlinks.
    Is there a way to make those hyperlinks function in my dynamic text field?
    Hope you guys can help me out!
    Thanks in advance!!
    Karim

    Ok.. After some resarch I find out the guy who created this made use of the Twitter API.. Since I don't know how to do that and
    can't find straight answers that's not an option for me...
    Althought...
    What I forgot to mention in the first post:
    This is what the beginning of actionscript is actually looking like right now and why it is working offline:
    var loadXML:XML = new XML();
        loadXML.ignoreWhite = true;
        loadXML.onLoad = processXML;
        loadXML.load("http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=karimbizid2");
    I'm getting the data direct from the Twitter server.
    This procedure does'nt neceserly need a PHP file to store the XML, right?
    I'm guessing it's just a visual issue why the text isn't showing.
    Karim

  • How can i set the dynamic text box to show variable value?

    In AS2, I can make a dynamic text box set a var name, when i
    use button set/change the var value, this textbox can show the
    value also.
    but In AS3, dynamic text box can't add var name. than how can
    i do it now?

    Set an instance name for the dynamic textfield. Then, to
    populate the textfield with the value of a variable, use:
    textFieldInstanceName.text = variableName

Maybe you are looking for

  • How to host a database?

    Sir, How to host a database in Oracle. For example. I am working in India. I have to set up database In my office india. Webserver is Weblogic. We have one application deployed in Weblogic. Clients will access this application from USA. What all thin

  • Communication channel cannot be deleted

    After deleting the scenario in Integration builder -configuration (Integration Directory) , the communication channel, receiver determination, interface determination ... should also be deleted. But I can still see the communication channel through c

  • Upgrade to Lightroom 5 from LR3

    I would like to upgrade to Lightroom 5 from LR3. I can't do this via the internet as the facility is not available in my country. What can I do to upgrade?

  • IWeb08 "Add Comments" and Format Problems

    Morning! I've been having problems with getting "Add Comments" to appear when publishing my site. I've read that iWeb08 folks get problems when publishing a non-Mobile Me site. All of the solutions I've googled seem to be outdated, such as signing up

  • Iweb playlist for videos

    hey i'm know i'm pushing the limits of iweb with this....but was wondering if someone could help me out with this.... i have videos i am embeding with a flash player, i was wondering if there is a way to embed a youtube style video box on the left si