Object with External Text

I am new to Flash/ActionScript and hope I can explain this
problem, because I am completely lost as to what went wrong. I am
working on a hurricane tracker.
First I have comboBoxes with a list of storm names, when
selected an XML file is loaded and tracks the storm, using
different color mc's for the storm's intensity.
Then I have some buttons that when clicked, pop-up a white
background and load some external text.
The problem is that both of these work, until one of the
storms in the comboBox is selected, then the pop-up will not work.
I'm sorry for the inability to phase this in
ActionScript-speak, but appreciate any help and thanks in advance.

Can you attach some code wrt the combobox and the buttons and
how they command other movie elements?

Similar Messages

  • Scrolling bar with external text

    Hi,
    I'm trying to create a scroller bar with external text on Flash, but not suceeding much. I want to do it in AS 2.0, as my whole website is created in AS 2.0. I found a tutorial on Kirupa for Flash MX 2004, but does not work with Flash CS4, which is what I'm running.
    What I need is, basically, to have a scroll bar to scroll up and down an external text (XML or .txt). I just don't seem to be able to do it. Also, is there a way of customizing the scroll bar?
    Thanks for the help!
    N.

    Hey, I had to do a VERY similar thing for a student project a
    few months ago. If you go to
    Flashkit.com, you can find
    tutorials on how to import XML and CSS or XSL. I was able to do it
    and I don't know a lot of actionscript. If you want to see how I
    used it, go to
    the University of Scranton's MIT
    website.
    Hope that helps!

  • Scroll bar with external text file

    Hello all,
    I need to make a flash movie with a graphic background with
    text from an external file.
    Ideally:
    1) The text file would NOT have to be imported into the flash
    movie. It would simply be in the same web folder as the flash file.
    2) Even better the text file would have a separate css file
    so I can change font size etc, while I tweak the movie, and get
    client approval.
    If 1 and 2 are not possible, then I can live with importing
    the text file. But CSS would sure be a nice addition!
    BTW I have Flaxh MX Professional 2004.
    Thanks
    Rowby

    Hey, I had to do a VERY similar thing for a student project a
    few months ago. If you go to
    Flashkit.com, you can find
    tutorials on how to import XML and CSS or XSL. I was able to do it
    and I don't know a lot of actionscript. If you want to see how I
    used it, go to
    the University of Scranton's MIT
    website.
    Hope that helps!

  • Callable object with external backend

    Hi everyone!
    Is it possible to create a form (the callable object) in Guided Procedures which takes its data from an external database? For example, say I want to create a callable object in Guided Procedures which picks up user information from an MS Access database? If its possible, could anyone provide a hint as to what kind of callable object I need to declare and how I connect to the external database?
    Any links to documents explaining such a scenario would also be of course welcome..
    Thanks in advance,
    Sameer

    Sameer,
    Its possible to fetch data from an external database.For instance, you could utilize a 'Webdynpro Callable Object' for the same.
    You can very well establish a connection to the database using the regular JDBC connection APIs.
    Once the connection is established you can read/write data from/to the database.
    A simple example would be to write the connection code in the execute() method of your Callable Object.
    Once you get the connection object, you can query the DB as you want.
    For instance , you can have an Employee database with employee number as the primary key.
    Now you can have this employee number as the 'input parameter' for the Webdynpro Callable object and rest of the details
    like name, age , location you can have them as 'output parameters' for the CO.
    Now when you execute this CO , it'll expect a 'valid' employee number as input,it'll go to the execute() method of the CO ,
    make a DB connection,execute your 'select' query and give you the resultset.
    You can loop thru the resultset to set your Output parameters.
    A simple JDBC connection code for SQL Server DB looks like this:
    public String makeDBConnection()
              try
                   String strUserName = "db_user_name";
                   String strPassword = "db_user_pwd";
                   String strDB_IP = "db_ip";
                   String strDB_Port = "db_port";
                   String strDB_Inst= "db_instance";
                   String strQuery="/your select query/";
                   ResultSet resultSet = null;     
                   DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
                   con = DriverManager.getConnection("jdbc:microsoft:sqlserver://" + strDB_IP + ":" + strDB_Port + ";DatabaseName="+strDB_Inst,strUserName,strPassword);
                   stmtQuery = con.createStatement();
                   resultSet = stmtQuery.executeQuery(strQuery);
              catch(SQLException e)
                   e.printStackTrace();
    Hope this helps.
    Pls reward if helpful.
    Thanks,
    Karambir Singh

  • Need a Jbutton object with TWO text labels??

    Hi
    I have a major problem I need to create a JButton object that takes two string as argument
    MyButtonClass(String a, String b);
    I do not have a clue how to do this... the reason I need this is that I have ttf(true type font) file each character refers to an Icon....so the first string argument will be character that refers to appropriate icon and the second argument the label of the button...
    just as the JButton(String text, Icon icon) object...but I do not have a clue how to create an Icon of a character that refers to icon in the ttf file...(I do not think this is possible?)
    I hope some one can give me clue how to this.
    Thanks

    Hi there
    I don't know what you are trying to say maybe you can clarify so that I might be able to help you. As I understand it you have button that must take in to parameters when it is created. These parameters then will say which icon has to be set with font that has been selected.
    This may sound stupid but why don't you create an Icon in (Paint Shop Pro or someting similar) that contains the text with the Icon and then just read the jpg file in as you normally would. Thus just having the switch statement or if statement making the rules for when a specific Icon should be selected.
    I may be wrong but that is what I would do.

  • External text issue

    I have tried to look up this issue in the flash help,
    lynda.com and here with no luck.
    I have an issue with external text that I import. The text
    loads fine but when I click to go to another frame in the same
    timeline the previous text stays and the new text renders over the
    previous text. How do I delete the previous text file when I click
    to go to another section.
    Here is the code that I am using:
    stop();
    var externalText:TextField = new TextField();
    var externalFormat:TextFormat = new TextFormat();
    var externalRequest:URLRequest = new
    URLRequest("../textFiles/home.txt");
    var externalLoad:URLLoader = new URLLoader();
    externalLoad.load(externalRequest);
    externalLoad.addEventListener(Event.COMPLETE, textReady);
    up_Btn.addEventListener(MouseEvent.CLICK, scrollUp);
    down_Btn.addEventListener(MouseEvent.CLICK, scrollDown);
    externalText.x = 34.6;
    externalText.y = 42.1;
    externalText.width = 374;
    externalText.height = 211;
    externalText.border = false;
    externalText.wordWrap = true;
    externalFormat.font = "Humanst521 BT";
    externalFormat.color = 0xffffff;
    externalFormat.size = 13;
    addChild(externalText);
    function textReady(event:Event):void
    externalText.text = event.target.data;
    externalText.setTextFormat(externalFormat);
    function scrollUp(event:MouseEvent):void
    externalText.scrollV --;
    function scrollDown(event:MouseEvent):void
    externalText.scrollV ++;
    fuseDrinks_Btn.addEventListener(MouseEvent.CLICK, fdClick);
    function fdClick(event:MouseEvent):void
    gotoAndPlay("drink");
    fuseFood_Btn.addEventListener(MouseEvent.CLICK, ffClick);
    function ffClick(event:MouseEvent):void
    gotoAndPlay("food");
    fuseRes_Btn.addEventListener(MouseEvent.CLICK, frClick);
    function frClick(event:MouseEvent):void
    gotoAndPlay("rest");
    Thanks for any help with this.
    Rob

    if you only change your urlrequest and keep the same
    textfield, loader and listener you should have no problem.
    otherwise, you're apt to have problems unless you properly account
    for those objects you're not re-using.
    p.s. unless you embedFonts, you're users are not likely to
    see that font.

  • Object with multiple states and slider in folio are rasterized, settings seem correct.

    I am having trouble keeping An object with multiple text states from being rasterized, as well as a slider that is also rastering.
    I have read that you are supposed to set the folio and article up to be .pdf and that the slider should have the vector option chosen.
    I haven't found anything for the multi state object to for these settings.
    What happens is when I output the folio to Adobe Content Viewer, only the text in those items is rasterized. All other text is crisp. Tested on both iPad Mini and iPad Retina and the both are blurry.
    Is there a way to force the vector option? It seems even with the correct options selected it is still rastering the test in interactive elements.
    Thanks!

    Here is the MSO with the folio.
    Here is the Slider with folio overlays panel.

  • Linking Tables With External Files

    Hi,
    is there any chance to link the cells of a table in Keynote with external text files like *.txt or *.xml?
    Thanks
    Michael

    If the databases aren't changing (aren't updated regularly), you could dump the data from the table that has mixed 5 and 9 digit zips into either excel or access, Do your LEFT function in Excel/Access, and then join to this spreadsheet/table.
    However, if these tables are constantly changing/updating it wouldn't be a preferred method, I know.
    Sorry, i didn't mean to post this multiple times.
    Edited by: Jsausser on May 18, 2009 9:54 PM

  • Problems with customer text objects in ZDEBMAS definition

    Hi
       We have a Z* version ( ZDEBMAS ) of std customer chg pointer msg type DEBMAS - this ZDEBMAS is a shortened version of DEBMAS
    We notice that whenever customer related texts are changed in customer master, change pointer objects with CD class - CUSTTEXT, TABLE-STXH get generated for the DEBMAS msg type. No such change pointer data gets generated for my ZDEBMAS.
    I do not see any CD class with 'CUSSTEXT' entry in the definition of DEBMAS message type -bd52.  
    I basically want to replicate the customer text data change pointer generation functionality for my 'ZDEBMAS' msg type too ? Any pointers so to what I am missing ?
    We are at a very critical stage of implementing the Z* solution - any pointers will be rewarded right away ....

    Hi Abdul
             Thanks for the quick response. Yes the change pointers are activated globally ( bd61 ) and the change pointer is activated for ZDEBMAS ( bd50 ). The problem here is that - change pointer data gets generated in ZDEBMAS for other customer related fields - the problem is with customer text fields - the change pointer data does not get generated for customer text fields in ZDEBMAS - whereas it gets generated for DEBMAS - I am wondering why and how ?? ( since DEBMAS does not have an explicity CUSTTEXT - object class in its definition ) . Also, when I try to add this object class as a part of ZDEBMAS , I get an error message that this object class does not exist

  • How to make mouseover scroll buttons attached to textarea with external loaded text ?

    Hi,
    I am working in Flash CS3 and AS3, and I'm not good in
    scripting.
    I want to make a dynamic textarea with loaded text from an
    external textfile, and then I want custom made arrow buttons to
    start scrolling the loaded text on mouseover (not click) andt stop
    scrolling on mouseout. Ala like in this webpage:
    http://boomjinx.com/
    The part with the loaded text is fine, but I can't manage to
    script the arrow buttons to do what I've just described. Even
    though I have searched the Internet for recipes I just find how to
    scroll loaded text on click or with a scrollbar. This problem is
    starting to drive me crazy!! Is there anyone that have a recipe for
    this??

    Here's one approach:
    First you need to create a dynamic mutline textfield that has
    autoSize properties set to handle a varying amount of text.
    Then you need to embed the font because you are going to use
    a mask over the textfield to define the viewable area of it.
    Then you will use the buttons to change the textfield's y
    property to move the textfield up/down vertically. You will
    probably need to use an ENTER_FRAME event handler so that a
    continuous hovering of a button will cause the textfield to
    continue moving until it either reaches one end or the other or
    when the hovering ends.
    Before you try to tackle that though, just make it so that
    hovering a button will cause the textfield to move up or down one
    increment of distance. Just take it one step at a time.

  • External text dosn-t show Ş(S with cedilla) caracter

    external text file loaded in movie dosn't show Ş(S with
    cedilla) caracter, what should i do?
    if anyone can help please write to my e-mail
    [email protected]

    Never mind. I answered my own question. You don't need an external x-ref to croff-ref to another FM topic. Sorry to take up the bandwidth.

  • Group a word in a text block with an object outside the text block?

    As I work at a publishing house, I mostly work with long texts. Often, objects that mark something in the text, for example to mark that this word is in the dictionary. But as soon as I format the text and the word moves up or down, the dictionary marking has to be moved manually. This is often a source of error.
    What if you could lock an object to a certain word in textblock, and as the word moves, the object follows within the structured assigned. To link an object to follow a word. Like grouping to objects, but grouping a certain word in a text block and an object outside the textblock.
    What do you think?

    I know what you mean
    Here's how you do it - If I've understood you correctly
    You need to place the object after or before the word, depending, and change the an X Relative to: Anchor Marker
    You can see when you go to View Text Threads and have the anchored objected selected it shows you where the anchor is linked to. In this case it's linked to where it's anchored, instead of the page edge, or frame edge etc.

  • Automatically update of quotation item external text

    Hello Cloud folks,
    we want use quotation item external text for transfer custom information from C4C to ECC.
    It's possible automatically update item external text with our custom information?
    In case of positive answer how we can do that?
    Thanks and regards.
    Daniele

    Hi,
    with repository explorer we found for Busisness Object "Customer Quote" that the element to use to force a value in external text could be Item.ItemTextCollection.Text.TextContent.
    Studio Compiler return the error message "Identifier 'TextContent' is read-only and cannot be changed" when I try to write a value there using the script Event-BeforeSave.
    The code inserted in the script il like this:
    this.Item.ItemTextCollection.Text.TextContent = "TEST TEST TEST";
    Could you tell me if I'm using the wrong element or I'm using the correct element but the way to use this is different?
    If the element is correct, which is the right code to write a value in it?
    If we try to use another solution for reach our scope and we try to transfer our custom fields created with studio, How can we extend wsdl file of the IFlow CustomerQuoteProcessingSalesOrderRequestOut?
    Thanks in advance for your suggestions.
    Best regards.
    Daniele Monti

  • Appending an external text file

    Hi everyone. I need a little help. I'm trying to append an external text file. I'm able to read it using the "in.readLine()" and "BufferedReader" commands but can't figure how to append it. The reason being is I'm trying to add new information to each new line. For example my ext. text file looks something like this:
    Homer Simpson 3489 Evergreen Terrace Springfield
    Marge Simpson 3489 Evergreen Terrace Springfield
    Bart Simpson 3489 Evergreen Terrace Springfield
    Please note that I'm not using a string tokenizer to read the text file. If someone could please give me an example to append information to each new line I would greatly appreciate it. Also please note that the text file is being read into a vector to hold the information. Thank you.

    open the FileWriter or FileOutputStream you use in "append" mode..
    http://java.sun.com/j2se/1.4.1/docs/api/java/io/FileOutputStream.html
    FileOutputStream(String name, boolean append)
              Creates an output file stream to write to the file
              with the specified name.http://java.sun.com/j2se/1.4.1/docs/api/java/io/FileWriter.html
    FileWriter(String fileName, boolean append)
              Constructs a FileWriter object given a file name
              with a boolean indicating whether or not to append
              the data written.

  • Report for the list of meterials with  sales text .

    dear all,
    can any body help me in code for  list of meterials with sales text as discription.
    thanks &rgds
    vamsee krishna yadav

    Hi Vamsee
    The table for material related Sales data is MVKE.
    If you want to display materials then you may write a select query on MVKE, selecting Sales Organization and Distributuion Channel.
    the concatenate mat number (with the leading zeros), Sales Org and Dist Channel into what will be the 'Name'
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    id = '0001'
    language = <language>
    NAME = 'Name'
    object = 'MVKE'
    TABLES
    lines = li_lines.
    Now read the li_lines table for the Sales Text.
    Thanks
    Pushpraj

Maybe you are looking for

  • Namespace Creation for file to idoc scenario

    Hi , while creating new  namespace in integration repository for file-> XI-> idoc scenario ( that is data is to be pushed from a file to R/3 using idoc ) we have to enter the connection data viz:                                        system :.......

  • Activation question??

    ok so my family is finally making the switch from sprint to ATT with 3 iPhones (and another phone for my younger brother) We all have separate computers so my questions is: can i activate my iPhone on my computer (creating an ATT account) and then ri

  • Using a DBENV with DB_LOG_IN_MEMORY and DB_TXN_NOSYNC

    Have BDB running as a transaction data store. I create a DB_ENV and before opening it, set the log configuration to use DB_LOG_IN_MEMORY, giving me ACI ( without the D ). What changes ( if anything ) on setting the DB_TXN_NOSYNC on DB_ENV open ? Than

  • Cascading LOVs with the ability to create a new record.  Is this possible?

    Hi, I'm trying to create a couple of LOVs. The first is a list of manufacturers, the second a list of items. Essentially, when you select a manufacturer in the first LOV you will only see their items in the second LOV. I've had a look through the for

  • Weighted average calculation in query

    Hello i'm having some issues calculating an weighted average... imagine the next scenario LINE | FORMAT | TIME | WORKERS 10    | 000123    | 10   | 5 10    | 000123    | 350  | 2 10    | 000123    | 75   | 1 From this i need the wighted average of th