Simple Module Question - thing doesn't redraw?

Pretty simple implementation that I cannot get to work?  I define the module in state2 shown below. I have a button in state3 that goes back to state1. On this button I change the url through click="myMod='modules/testMod.swf?'+Math.random(); currentState='';" From state1 (Base State), a button to go to state2. Then on state2, I have a button that switches states to state2. click="currentState='showMod';"  The module UI displays the first time, but once I leave that state it's gone and never comes back? I thought that all I had to do was change the url and bingo the ModuleLoader re-fires, if someone can lend me some advice I would be appreciative. I have verified that the url does change through the random function.
                    <mx:ModuleLoader x="0" y="50" id="mod"
                        width="790"
                        url="{myMod}"
                          ready="applyModuleSettings()"
                          >
                    </mx:ModuleLoader>

As you switch states, the moduleLoader may get removed and if it gets
re-added it may not re-load and dispatch a ready event.

Similar Messages

  • 4 Simple Flash Questions that Are Stumping Me!

    What is the Frame Rate for Web Animations
    Q1. I am making an animation which will be played on the web. What is the default frame rate (fps) of Flash CS5? And what is the frame rate of for web?
    Q2. My animation needs to be 30 seconds long. So at 15 fps that would mean I need to use 600 frames in Flash?
    How Do I Mask everything so all I see is the Content on the Stage?
    I have a wide image that extends past my movies stage size so when I preview my movie the image is visible. How do I mask out anything that extends past my movies window size? I believe I can create a layer named "mask" and place it above all other layers, but I forget how to make the mask. Any help is appreciated.
    How to Fade a Graphic
    I have a graphic element (some type) and I want it to fade from 0% to 100%. In older versions of Flash I could just select the symbol and then set it's alpha value to 0%, move a few keyframes and then set the alpha to 100%. Voila! but now it doesn't seem to work that way. How can I do this in CS5?

    Ned, it says 24 fps which means there is 24 frames per second so each 24 frames is 1 second.
    Date: Fri, 4 Nov 2011 05:35:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: 4 Simple Flash Questions that Are Stumping Me!
        Re: 4 Simple Flash Questions that Are Stumping Me!
        created by Ned Murphy in Flash Pro - General - View the full discussion
    1 You can create your character as a movieclip and copy/paste that movieclip from one file to another. 2. One way to create a movieclip is to copy all the frame of the animation's timeline (select them all, right click the selection, choose Copy Frames), then create a new movieclip symbol (Insert -> New Symbol...etc) right click on its only keyframe and chhose Paste Frames.  THat will put all the layers and frames you copied into the movieclip The only way to come close to being certain about the timing of you animation is to use code to keep track of the time, something like getTimer()..  The frame rate that a file plays at is not a reliable means of dictating the time it takes due to a variety of factors which include the amount of content you are trying to process and performance limits of the user's machine.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4007420#4007420
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4007420#4007420. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Flash Pro - General by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Simple/silly question: how do I set/change default font/color for outgoing mail messages?

    Just a suggestion..........
    Download Thunderbird.  Easier to use when it comes to what you want to do w/your emails. 

  • Simple performance question

    Simple performance question. the simplest way possible, assume
    I have a int[][][][][] matrix, and a boolean add. The array is several dimensions long.
    When add is true, I must add a constant value to each element in the array.
    When add is false, I must subtract a constant value to each element in the array.
    Assume this is very hot code, i.e. it is called very often. How expensive is the condition checking? I present the two scenarios.
    private void process(){
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
             if (add)
             matrix[i][ii][iii][...]  += constant;
             else
             matrix[i][ii][iii][...]  -= constant;
    private void process(){
      if (add)
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
             matrix[i][ii][iii][...]  += constant;
    else
    for (int i=0;i<dimension1;i++)
    for (int ii=0;ii<dimension1;ii++)
      for (int iii=0;iii<dimension1;iii++)
        for (int iiii=0;iiii<dimension1;iiii++)
           matrix[i][ii][iii][...]  -= constant;
    }Is the second scenario worth a significant performance boost? Without understanding how the compilers generates executable code, it seems that in the first case, n^d conditions are checked, whereas in the second, only 1. It is however, less elegant, but I am willing to do it for a significant improvement.

    erjoalgo wrote:
    I guess my real question is, will the compiler optimize the condition check out when it realizes the boolean value will not change through these iterations, and if it does not, is it worth doing that micro optimization?Almost certainly not; the main reason being that
    matrix[i][ii][iii][...]  +/-= constantis liable to take many times longer than the condition check, and you can't avoid it. That said, Mel's suggestion is probably the best.
    but I will follow amickr advice and not worry about it.Good idea. Saves you getting flamed with all the quotes about premature optimization.
    Winston

  • Answer security questions option doesn't show up when reset password

    I restore my iphone 5s then i can't active it because of activation lock.
    I don't remember my apple id password, so i go to reset it but the answer security questions option doesn't show up (my apple id is [email protected] with no backup email).
    how can i reset my password now.

    Hey dunglv,
    It sounds like have tried resetting your password but do not have the security question option and do not have a rescue email account setup. Use the following article to contact Apple for assistance with your account:
    Apple ID: Contacting Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Thank you for posting in the Apple Support Communities.
    Best,
    Sheila M.

  • A few simple Logic questions...please help.

    I have a few probably simple Logic questions, that are nonetheless frustrating me, wondering if someone could help me out.
    1. I run Logic 8, all of the sounds that came with logic seem to work except organ sounds. I can't trigger any organ sounds (MIDI) on Logic, they won't play. I have a Yamaha Motif as my midi controller.
    Any idea why?
    2. I've starting running into a situation where I will record a MIDI track, the notes are recorded but they won't playback. The only track effected is the one that was just recorded. All other midi tracks playback.
    I have to cut the track, usually go out of Logic and back in, re record for it to playback properly. Any idea why this may be happening?
    3. How important is it to update to Logic 9. Are there any disadvantages down the road if I don't upgrade. If I purchase the $200 upgrade, do I get a package of discs and material, or it just a web download.
    Any help is appreciated!
    Colin

    seeren wrote:
    Data Stream Studio wrote:
    3) You get a full set of disks and manuals.
    They're including manuals now?
    I think his referring to the booklets ...on how to install etc
    It would be great to see printed manuals though ...I love books especially Logic/Audio related !!
    A

  • When i try to reset my security questions it doesn't give a rescue email to click on

    When i try to reset my security questions it doesn't give a rescue email to click to

    You need to ask Apple to reset your security questions; ways of contacting them include phoning AppleCare and asking for the Account Security team, clicking here and picking a method for your country, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (105275)

  • Simple Quick Question

    wrong section, post was moved.
    Message was edited by:
    Rob17

    you titled "simple quick question"...
    .. complicated to answer..
    a) the TermsOfUse of the iTS don't allow any processing of purchased files, these are "copy protected"..
    b) iM has a voice-over function..
    c) iM is a video-edit app.. easy to use... just learn to handle it...
    d) iM allows to "extract" audio (=muting the original audio, adding your own..)
    e) to learn iM, spend some time here: http://www.apple.com/ilife/tutorials/imovie/index.html
    f) use pencil and paper first! WRITE and scribble, what shall happen when in your movie/parody... make a script, draw a storyboard .. THEN launch iM.. in other words: think first, then edit.. iM is just a tool, it does not "create"... Picasso needed a papertowel and half a stencil to create art....
    g) to get comfortable with iM, start with your own, small, short (3min!) project... import some stills, edit them, add a funny voice-over, add sounds, add music... good? make a bigger one...
    h) .. in our Lecture II, we teach you how to import shows from TV, youtube, wherever..
    standard disclaimer:
    be nice to ©opyrights ...

  • Create a simple shell script thing?

    Hey,
    I'm trying to make a simple command script thing. I have no idea what I'm doing though.
    I just want a file that I can click and open in terminal that will:
    1. ssh [email protected]
    2. auto enter the password (if this is really complicated then it can be skipped)
    3. cd public_html/blog
    4. svn up
    5. like 5 sec delayed exit (if possible)
    I'm thinking this is a really easy thing to do for someone who knows what they're doing.
    So can someone tell me what I have to do to make this? I would really like to learn how to do this.
    Thank you
    Last edited by FLCLFan (2008-10-12 20:06:20)

    Instead of making a script, you could just as well write a bash function for this and put it in your .bashrc.
    something like this:
    update-svn-on-domain ()
    ssh -t [email protected] 'svn up public_html/blog'
    when the svn up is done, the ssh command stops, and the function returns.  it does everything you want except auto entering passwords. 
    i strongly discourage auto entering passwords.  i recommend you to setup rsa key authentication

  • Order the FAQ module questions

    I am trying to order the FAQ module questions in Business Catalyst.
    It puts them in alphabetical order by default so I numbered them. But once it gets to 10 it obviously goes out of order.
    And the client does not want to put a letter in front. ie A, B, C
    Any ideas on how to acheive this?
    Thanks in advance.

    Try leaving numerical gaps in your weighting scheme so you have future flexibility.
    For example, I like to use the weightings of 1000, 900, 800, 700 and so on.
    Then I have a LOT of wiggle room to add new information and sort my information the way I like.
    Tricia

  • Simple query question

    hi all,
    I have a XMLType table with one column - I have presently one row, in my column xmlsitedata I have stored one large xml file.The schema definition is given below:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    - <xs:element name="siteList">
    - <xs:complexType>
    - <xs:sequence>
    <xs:element name="site" type="siteType" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    - <xs:complexType name="siteType">
    - <xs:sequence>
    <xs:element name="nameEn" type="xs:string" />
    <xs:element name="nameFr" type="xs:string" />
    </xs:sequence>
    <xs:attribute name="code" type="xs:string" />
    </xs:complexType>
    </xs:schema>
    I have executed the query below:
    select x.XMLSITEDATA.extract('/siteList/site/nameEn/text()').getCLOBVal() "stName" from wsitelist x;
    and I get all english names of some 200 locations, however, there is 1 row selected and all names show up on one row. How do I split them into 200 or whatever rows?
    Thanks,
    Kowalsky

    Have a look at the answer provided in the following thread.
    very simple XML question
    This may solve your problem.
    use xmlsequence.
    Alvinder

  • LMS 3.21/ CM 5.2.2 [Cat4510R+E] - Legacy-Question: UserTracking doesn't collect Portinfos on Modules greater than Slot 8

    Hi all,
    knowing that LMS 3.21 is a really outdated version of LMS I actually struggle with CM 5.2.2-UT Application.
    Environment:
    - LMS 3.21 (Mdf. 1.89, CMDeviceUpdates.CM522.v3.0)
    - Solaris 10
    - Cisco Catalyst 4510R+E (IOS-XE Version 03.03.00.SG)
       Linecards in Slot 9/10: WS-X4648-RJ45-E
    Problem:
    UT Discovery only discovers Endhosts on Switchports until Modul-Slot 8. Endhosts connected to port on Slot 9/10
    won't be collected (in /opt/CSCOpx/campus/etc/cwsi/portsData.xml file no entries will be found on ports highter the slot 8).
    But Endhosts can be seen with #show mac addr dyn on switch and with performing a snmpquery on dot1dTpFdb-Table.
    Question:
    Anybody out there knowing whether there is a limitation within LMS 3.21 not to discover switchports geater than module 8?
    Any suggestions for further troubleshooting; I parsed thru several log files (ut.log, ani.log, ...)
    For certain reasons we have to stay on this "old" version of LMS until we can upgrade to LMS 4.x or PI 2.x.
    Thanks for any feedback
    Lothar

    This is a known issue in LMS where Module 9/10 aren't displayed correctly for the End Hosts with them.
    The issue is caused by bug CSCue87491. You can try to upgrade to IOS XE 3.5.0E 15.2(01)E, where the issue isn't seen.
    Downloading url of IOS XE 3.5.0E 15.2(01)E for 4510R/4500 SUP7-E :
    http://software.cisco.com/download/release.html?mdfid=283289791&flowid=19223&softwareid=282046477&release=3.5.0E&relind=AVAILABLE&rellifecycle=ED&reltype=latest
    -Thanks
    Vinod
    **Encourage Contributors. Rate them.**

  • 5B32 module question

    This is more of an equipment question, but I figure that thisis as good a
    place as any to ask.
    I've got about six 5B32 modules, and I need three. The problem is that
    four of the resistors that go with them are bad. I had as bad board,
    which I think might have screwed up the resistors. The resistors that
    Ihave that are good are reading about 20 Ohms of resistance, and the bad
    ones are 6 Ohms, 80 Ohms, 1.5 megaOhms, and 2.2 megaOhms.
    I have tried to buy some resistors from National Instruments and Analog
    Devices, but they don't know what they are (the part number doesn't come
    up at all). I hate to keep buying entire 5B32 modules when I only need
    the resistor. So, can I just go buy a 20 Ohm resistor at Radio Shack, and
    plug it i
    n, or is this thing that comes with it something special?
    Thanks in advance,
    Harry
    "Little Joe for the Big Heisman, '99"

    Absolutely - go down to Radio Shack and purchase some - The max current
    sould be 20 ma (since the 5B32 is a 4 - 20 ma current input module) so P =
    I^2 R , P = (.02)^2 * 20 = .008 Watts therefore a 1/4 or 1/2 watt resistor
    should be more than adequate.
    A 1/2 watt resistor has leads that would probably plug into the 5B01
    backplane nicely.
    Good Luck
    Harry King wrote in message <7q65an$[email protected]>...
    >This is more of an equipment question, but I figure that thisis as good a
    >place as any to ask.
    >
    >I've got about six 5B32 modules, and I need three. The problem is that
    So, can I just go buy a 20 Ohm resistor at Radio Shack, and
    >plug it in, or is this thing that comes with it something special?
    >
    >Thanks in advance,
    >Harry
    >
    >--
    >"Little Joe for the Big Heis
    man, '99"

  • A somewhat simple security question......

    If a mac running macosx has two separate user accounts, lets say one admin and the other a standard user, or both admins or both standard users.....
    Is it possible for a hacked/penetrated account on one of the users to affect or read any info from the other user on the same machine ?
    What application is in question; Safari lets say.....

    FLUIDNYC wrote:
    So, disable all scripts and uninstall all plugins from the browser.
    No java, No javascript, No plugins like flash, java, shockwave, quicktime, or adobe crap.
    So, no functionality. What about that java applet I need to run 10 hours a day. Do you think I should go out of business over it? Or all my QT movies? Or, deprive myself of Flash, so I can't view the content of websites?
    So, lets say you browse www.thissiteisinfected.com and have everything uninstalled (see above), and your smart enough to browse the web using a "STANDARD" user account and not the "ADMIN" user account.
    Running from a standard user buys you nothing and adds additional steps. If you want to download an app, before you install, you will get a dialog warn you "XXXX is an application you downloaded from the internet..." So, you still have to authenticate. And what about *all the apps that need no authentication to install?*
    You tell me how this website will inject crap into your MAC with the settings above???
    There is no way to FORCE CODE into your browser if everything is disabled.
    Tell me how it can "inject crap" into my "Mac" admin without my complicity.
    I have bumped into a rouge antivirus website while on my macbook using safari.
    All of a sudden a popup stated i had spyware, i could'nt close the box/window, I had to do a FORCE QUIT on SAFARI to get out of that page. It pretty much hijacked SAFARI.
    This is nothing that can harm you. It is annoying having to force quit over it, but that is all.
    My safari download settings place things on my desktop, sure enuff, there was a .EXE file sitting on my macbooks desktop.
    Sure enough, your Mac can't do a thing with it.
    NOTHING IS BULLETPROOF.
    I agree but there are simpler ways to plant a rootkit you overlook, that have nothing to do admin accounts or ports. *The question is, who would want to?* Even if a black hat is randomly hunting for bank account numbers, social security numbers, credit card numbers, etc. he would pass up a UNIX based system with good protections in place for an easier target.
    In short, in a home environment, I could never recommend running from a standard user. Especially if they are on a router and/or using OS X firewall. (The exception being if you have kids and want to use parental controls.) I have no idea how this mantra about using a non-admin account started, there is no place where Apple recommends this.
    -mj

  • Module Question.

    Hi all,
    My scenario is File->XI->R3
    Can I validate file information in a Sender Adapter Custom Module and if the validation fails then cancel the input so Integration Engine never gets the corresponding message? My question is how to cancel the procesing of the message in the adapter module?
    Thanks in advance,
    Diego.

    Chandu,
    my problem is that I want to validate data of an input file, so if the file doesn't contain certain fields, then it doesn't go to the XI Engine. (It's discarded before that.)
    So i thought to build a module for the sender adapter that do this validation, but I don't know how to discard the message at modules chain.
    I hope you could understand my english.
    Regards,
    Diego.

Maybe you are looking for