Naming question

I am having some trouble with the code I attached below. The
"imLoadin" var holds a string that I need for each loop so it will
properly load in a buttons graphic. AS3 won't let me use the string
to define a movie clip to add a child to. Is there any way around
this?

yes of course - i should have realized this previously - this
is common when working with loops. what you need to do is 'store'
the value of i+1 so that it can be accessed and used at that point
- the issue is that once the loop completes the value of i equals
the last value set (+1 in this case) so you wont be able to target
the right number. additionally, one cannot add a property to a
Loader object instance, so there is no way to 'store' the value
needed. so i would recommend iterating through an array of the
'buttons' rather than an array of the files.

Similar Messages

  • WRT 1900AC and Windows 7 network naming question(s)

    Background:  I had a Linksys E3000 up and running for about 5 years in a stable network environment.  The E3000 died, and I put in a new WRT 1900AC to replace it.  In the process of getting things set up correctly the main "network name" in my network displays shows up as a name assigned to a Wireless portion of my network.  The "Wired" portion shows up in diagrams, and to windows, as well as both of the main wirless bands but not as the central node between either of the wired Win7 computers and the internet  I would like to get the Windows 7 machines on my network to display the wired network name in Windows 7 as the primary network, and NOT one of the wireless ones.  Almost everything I want to be able to do is working just fine except for the network map display in Windows 7 where I have been trying to configure a "home group" that will not yield to my efforts., 
    I use "suffix" notation in the naming, so my router on ethernet is .<ame>..NET, the wireless lower band is <name>...W24 upper band is <name>...W5.   I have not figured out how to get the artifacts of the "setup sequence of events" out of the Windows 7 displays in "network neighborhood" so I have a more rational picture that has Ethernet at the core and the wireless bands as additional subsidiary networks not necessarily associated with all my devices.  I know this is not technicallly a Linksys issue, but... Can I simply delete alll the neworking information in Windows 7, and reboot, and then force the computer to set up a network based on the correct network node labels. provided by the router?   I'm a bit worried that I might have to "reset" everything which would be a huge **bleep** since almost all of what I want to do is working just fine, I'm just not quite clear some times whether the process of connecting from one computer to another, or to a NAS attached to the router is going through the wired network or the wireless one where performance can be a big issue.  My Ethernet is "certified" at 1gbps which is a lot faster than the wireless networking.  Sometimes it seems that accessing the NAS attached to the router is being done "through a tiny straw, not the fast pipe in the wiered world.  I used to do a lot of NETBIOS networking in Windows "back in the day" and my network naming conventions have probably not kept up with the times, but I still have two Windows XP computers wired into my household network, and when "debugging" things I think of the Ethernet as central and the wirless portions as additional networks, not the other way around.  Unfortunately Windows 7 seemed to grab the wireless names first, probably because the machines in question both have wireless and wired connectivity built in and available in their hardware and the one that was set up and working with the old router when the new one got plugged in was used to do the initialization initially using the default sequence built into the router software.  I was able to go back and rename everything to get rid of the default names, but my Android based network monitor only works within range of the router and not when the phone is connected to the internet outside of the house.  I've never been able to get the phone support folks to help me clear that issue up either. ..  When I added the second computer, the same thing happened out of the box, Windows took the name of the first wireless network it found and put it into the network neighborhood as the device in the path between the new computer and the internet,   I can "see" the host name of the router correctly from everywhere, and map to the 1TB disk I have hung on it from all of my computers, but the Internet connection is actually an ethernet drop from a cable modem to an ethernet port on the router, not to either of the wireless bands that show up. 

    @zundapman Hi! What's the current firmware of your router? Make sure that your firmware is up to date with the latest version. Also, are you referring to the Windows explorer's map or the User Interface map of the router or the Network and sharing map of your computer?

  • Quick naming question

    Wasnt sure if its a naming issue or not but Ive never ran into the problem and Im not sure how to describe it....so here goes.
    Question: Is there a way to insert a string into the name of a component name and have java see it as the actual component name. (see that question still sounds incorrect)
    What I mean is......
    you have 10 buttons named oneB, twoB, threeB,......tenB
    I need to either change a whole lot of code and make what I want to be simple, very large and complex or, find a way to....
    "one"B.setLocation(whereverNotImportant);
    or
    (someObject.getString( ) ) + B.setLocation(whereverNotImportant);
    It looks really odd to me. If theres a way to do it, it just saved me a lot of annoyance.....if not well, Im gonna need more energy drinks.

    Paul5000 wrote:
    Fair enough. I kept adding features onto the code and it grew into needing something different. Was just hoping there was a quick workaround so I didnt have to go back and recode half of it.When you've got Franken-code, the answer is to recode it.

  • Home Network (Naming) Question

    Hopefully this is an easy question for someone. (I'm not that network savvy)
    In my router software setup (Belkin 7230) when I do a DHCP Client List trying to see my computers on the network the computer name for one of the computers is listed as (null). There is the IP address and the MAC address, but no host name for this one mac (iBook G4).
    What do I need to do? Where does it get this name from? Where do I fill this out?
    Any help would be appreciated!
    Tom

    On the specific computer, open System Preferences, go to Sharing, and fill in a name for the computer in the Name field at the top. You may find that this fixes the issue.
    Matt

  • Help! Distiller 9 API File Naming Question

    Not well versed in options for distiller first off.
    I would like to create a module that when a user is saving a pdf file :
    1). user is prompted to scan the file name from a barcode
    2). a suffix is added to the barcode scan, "-" + either including the users %username% + date/timestamp or from a serial increment file
    basically <barcodescan + "- " + suffix>.pdf for filenaming convention
    is this possible?
    Any help on this is greatly appreciated.
    Thanks
    skrohn

    Trying to automate pdf file creation?  using distiller joboption with vbs..or am I going down the wrong route/
    I was thinking along the lines of::  But... not sure how to incorporate that with the distiller for savng a file.  What we are doing is scanning in documents to create a pdf.  We want the file naming to be :  user scans with a scangun a order# from a barcode and then the a suffix to make it unique to the system is added to the file name.  the pdf file that was just created is then saved with that file name
    Sub GetFileName()
    Dim GetWorkOrder As String
    Dim SaveFile As String
    dtmThisDay = Day(Date)
    dtmThisMonth = Month(Date)
    dtmThisYear = Year(Date)
    dtmThisTime =(Time)
    strSuffixName = "-" & dtmThisYear & dtmThisMonth & dtmThisDay & dtmThisTime
    GetWorkOrder = InputBox("Scan Work Order")
    SaveFile = GetWorkOrder & StrSuffixName
    End Sub

  • Site column naming question

    To have my own set of site columns (and content types) I created separate groups for both of them. Now I want to create a 'First Name' site column but there already is a built-in one. What is the recommended (best practice) approach of naming in such cases?
    Thanks.

    I'm still struggling with this custom site column stuff.
    When creating a custom site column (using SharePoint Online GUI) Site Settings -> Site Columns -> Create 'FirstName1' and then change
    this site column to 'First Name' I get an error message  "The column name that
    you entered is already in use or reserved. Choose another name.” If I change to something different e.g. 'First Name1' the field in the link 
    https://xxx/sites/try_out/_layouts/15/fldedit.aspx?field=FirstName1&Source=%2Fsites%2Ftry%5Fout%2F%5Flayouts%2F15%2Fmngfield%2Easpx%3FFilter%3DAll%2520Groups
    stays the same as the original entry (=FirstName1). I thought the field in the link is in fact the SharePoint
    internal name? So that during the change of the site column (after the initial
    creation)  would be the
    display name?
    Guy

  • CS6 File Naming Question

    Since using CS6, there is something that has changed and has me confused:
    I used to be able to save a document with a different name, and the original name would not change.
    For instance, if I were working on a file named: 'Nature 1', and wanted to save a version of it with another name: 'Nature 2', I would be able to do so and 'Nature 1' would not change.
    Now, it seems, when I do this, 'Nature 1' is renamed 'Nature 2' - it's title overwritten.
    This has caused me to overwrite files when saving because the original name is changed.
    Is there a simple workaround for this?

    Well, I do have Photoshop CS4 on windows and I see no difference in file behavior, but I work differently.
    I would need a step-by-step description of what you do to get this problem to see if I can duplicate it.
    My files already have names when I open them, so if I make a change, File > Save respects that filename and won't change it.
    Where I might get in trouble is File > New, if I type "nature1" in the title box and hit enter opening it up in Photoshop. I then make a few changes and go to File > Save.  There I have a chance to name the file and even change the location. So if I type "nature2" and click Save, I just renamed the file,but I did not overwrite an earlier version.
    Anyway Photoshop CS6 won't overwrite a file without warning you.
    Gene

  • Interesting naming question-Keyword: Factory, Instance

    Although I have written Java for a year, I still can't find this answer. What exactly means Factory, Instance in Java?
    Why use these two words in some classes, say SAX, JCE KeyGeneratorFactory, KeyGenerator? What implies relation between two class from naming?

    Factory relates to the Factory design pattern as described by the Gang of Four (GOF). Check out any design patterns resource for this pattern to get a more complete answer.
    Essentially, though, a Factory constructs an instance of a class for you. The exact class returned is determined by the factory (for example, DocumentBuilderFactory uses a system property to get the name of the class to instantiate).
    Another example is javax.swing.BorderFactory which simply instantiates TitledBorder, EmptyBorder etc instances based on the method you called.
    Hope this helps.

  • Robohelp 8 HTML - VERY basic layout and naming question.

    OK, I'm sure this must be obvious to everyone else because I can't seem to find it in the places I've searched. My personal experience with Help files isn't helping (yeah, I know, bad pun).
    I'm creating a RoboHelp HTML file from a PDF file.
    While importing the file I'm given the option to create a new topic based on a style. Great so far. Having done so as an experiment and looked at the output I'm of the feeling that a 'topic' is "an HTML document that would, in theory, cover an area of interest, hence the term topic".
    Then I open IE's help file I see the contents like "Finding the Web Pages You Want" and "Browsing the Web Offline". Neither of them can be selected to show information in the right pane, but both open to show what I'll call 'sub-topics', each of which DOES open what appears to be an html document in the right pane.
    Adobe's help files are a bit easier to deal with, I just navigate to the Help folder and there are all the HTML files.
    So I'm confused and I've got a major mental block that's making it difficult to proceed without getting a layout/hierarchy. And if this information is in Robohelp's help or available someplace online, just smack me in the back of the head and point me in the right direction because I'm not seeing it.
    In the Internet Explorer help, what do I call the links in the left pane on which I can click to bring up a page in the right pane? What do I call the items I can highlight that, when clicked, show a list of the clickable links? And is it accurate that if I ask RoboHelp to create a topic out of each of a given style, then I'll have a separate HTML document for each instance of that style?
    Thanks,
    Solon

    Hi there and welcome to the wonderful wild and wacky world of Help Authoring!
    The area on the left side is typically called a "Navigation Pane". The Navigation Pane usually has different views. Table of Contents (TOC), Index, Glossary and of course, Search.
    The Table of Contents view has a Books and Pages metaphor. Each Book contains Pages inside. Each Page links directly to an individual HTML file (Topic).
    Indeed if you are sucking content in from PDF, RoboHelp has to be told what the criteria is to break the long PDF document into individual HTML topic pages.
    Hopefully this helps a smidge... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • External editor file naming question

    This topic was covered about a year ago, with 1.1, but I am wondering if there is a solution with1.5:
    When I open a file in an external editor (CS3), the file name reverts to the master file name, not the version name. Is there any way to get Aperture to use the version name?
    I typically shoot multiple bird species on a single card, so when I download them, I am unable to get my preferred file name for each file on import.
    Any suggestions would be appreciated,
    Thanks,
    Steve
    MacPro   Mac OS X (10.4.9)   2G Memory, Aperature 1.5.2

    No, there's still no way to rename Masters short of exporting them with the version name and re-importing.
    The only way 'Save As' is going to work from an external editor is if you use exactly the same file name - that is the only file Aperture has sent out and it's the only file that Aperture is expecting back.
    Saving with a different file name is functionally the same as copying a new file into the Library using the Finder - Aperture has no way to expect it. You'd have to save to somewhere outside the Library and then import it as a new Master, maybe setting up a hot folder in Automator for automatic importing.
    Ian

  • IPhoto 5 duplicate naming question

    I am about to turn 10,000 on my pics from my Canon 10D. I use the continuous numbering mode on the camera. My understanding is that on this camera and most others that after 10,000 the numbering systems "resets" back to 1. How will iPhoto handle this? Can 2 different pictures exist with the same filename in iPhoto as they will have different EXIFs and dates? Any suggestions how to handle this? Thanks.

    Brian:
    However, be warned that if you try to export the images as they are to a folder or disk, you may run into the duplicate issue by the system. If you can I would strongly recommend you batch sequentially rename them, in appropriate groups, before importing. If you change the title of an image in iPhoto it is only reflected within iPhoto and the original file does not get renamed. I use R-Name to batch rename files and it gives you multiple options. It may save you some headaches down the road.

  • Renaming files question

    I am new to Lightroom and have a file naming question. I previously used Capture NX2 to import and rename my files. My convention is "YYYY-MM-DD-HH-MM-SS-JAH".
    Capture NX2 had an option where it would add a "-n" after the seconds field (SS in above) and before my initials (-JAH in above). This way, if there multiple pictures within the same second, they would be sequentially numbered. This would avoid overwriting the first image with subsequent ones that would have the same name.
    I have not found a way within the Lightroom 3.4.1 naming capabilities to replicate this convention. Am I missing something, or does anyone have a workaround they have discovered.
    Thanks,
    Jim

    Thanks very much Lee. I will give it a shot.
    Regards,
    Jim

  • Cfset variable as a list loop value

    I'm trying to use a list loop to create 30 numbers then set
    that list
    with cfset.
    Instead of typing <cfset Questions = 1,2,3,4...etc.>
    I'd like to make a
    list loop generate the 30 numbers. I just can't figure out
    how to set
    these 30 numbers as a value into a cfset variable named
    "Questions".
    Here's three things I've tried. All return errors:
    <cfloop index="QuestionNumber" from="1" to="30">
    #QuestionNumber#,
    </cfloop>
    <cfset QuestionNumber = Questions>
    And this:
    <cfset Questions =
    <cfloop index="QuestionNumber" from="1" to="30">
    #QuestionNumber#,
    </cfloop>
    >
    And this;
    <cfloop index="QuestionNumber" from="1" to="30">
    <cfset Questions = #QuestionNumber#,>
    </cfloop>

    ksmith wrote:
    > Or brute force it like:
    >
    >
    > <cfset loopList = "">
    >
    > <cfloop index="QuestionNumber" from="1" to="30">
    > <cfif (QuestionNumber GT 1)>
    > <cfset apost = ",">
    > <cfelse>
    > <cfset apost = "">
    > </cfif>
    > <cfset loopList = loopList & apost &
    #QuestionNumber#>
    > </cfloop>
    >
    > <cfdump var="#loopList#">
    >
    Thank you ksmith.

  • C# How Do I Search Through A List To Find A Particular Variable's Value?

    I have a list containing instances of a class containing several variables, one of which is a boolean. I need to write an algorithm that will search through every class instance in that list and find the item(class instance) where that boolean is set to "true."
    Here's the code I've tried so far:
                bool ActiveQuestion = Questions.Find(item => Questions.ThisIsActiveQuestion == true);
    In this line of code, the list is named "Questions," the class is named "Question" and the boolean within that class is named "ThisIsActiveQuestion." To re-state what I want to do, I want to go through the list and find the class
    in which that boolean is set to "true."

    Something like this
    List<Question> someList = new List<Question>();
    IEnumerable<Question> query = from q in someList where q.IsTrue select q;
    public class Question
    public bool IsTrue;
    “If you want something you've never had, you need to do something you've never done.”
    Don't forget to mark
    helpful posts and answers
    ! Answer an interesting question? Write a
    new article
    about it! My Articles
    *This post does not reflect the opinion of Microsoft, or its employees.

  • Please i need help with this condition

    ok this my situation and try to help me simpler than this
    i have 3 input test fields named
    name_txt , emailTxt , phonetxt.
    and i have a text file named "question.txt" at the same
    folder.
    i have three dynamic textfields that load &ques1 ,
    &ques2 and &ques3
    and i want to do the following:
    i want to compare between the answers the user input and the
    answers at the
    txt file &answer1,&answer2 and &answer3.
    For example:
    _root.submit_btn.onRelease = function(){
    if ( _root.nametxt.text = = My variable ????){
    gotoAndPlay(2);
    } else{
    gotoAndPlay(3);
    AND THE CODE I AM USING IS :
    //on frame 1
    stop();
    _root.loadVariables("ques.txt");
    /*and my input txts named as following
    name_txt
    email_txt
    phone_txt
    and the text file ques.txt read as following:
    &firstQ=What is your name?
    &secondQ=What is your email?
    &thirdQ=What is your mobile number?
    &answer1=Essam
    &answer2= my email
    &answer3=0124613121
    and i want to make a condition to compare between text input
    in the
    name_txt,email_txt and phone_txt and &answer1,
    &answer2 , &answer3 and
    that if ok gotoAndStop(where the next ques is) ;
    Please help me that way and thank you for your efforts in
    advance

    Create two condition type
    ZCAH and ZCAS
    Set up ZCAH condition type as positive and ZCAS for negative.
    Then in calculation schema, enter the ZCAH and then ZCAS condition type
    Next enter the total and give the "from and to" as bellow screen.
    Then whenever you will give any amount in condition type ZCAH and ZCAS, the total will appear as ZCAH-ZCAS.
    For more details please read the blog Pricing procedure Steps and Details in SAP MM
    Regards
    Dëv

Maybe you are looking for