Control the property of an object in main stage from a loaded swf timeline

please someone help me here, im loosing my mind
i have a UILoader that loads an image from an xml list when you click its thumbnail ( in its thumbnails mc on mainstage aswell)
thing is, i have another UILoader on the layer above that loads in a swf ( a slideshow that fades in and out the pictures when they change to the next,
with all the coding on frame 1, frame 2 only has a stop and some code for when the mouse is idle for 5 secs it goes back to frame 1)
so when you go to "portraits" it takes you to frame "x" where the slideshow ( loaded external swf ) starts playing automaticly right,
if i click any thumbnail the slideshow goes to frame 2 ( wich is perfect and the mouse idle thing i wanted works great ) the ONLY THING IS
after the slideshow runs by default for the first time ( i enter the category portraits )
and i click any thumbnail ( moving slideshow swf to frame 2 enabling mouse idle event )
and the mouse is idle ( so it does the event and starts playing the slideshow again ( goes back to frame 1 ) )
I CANT MAKE THE UILOADER OF THE THUMBS IMAGE TO DISSAPPEAR!!!
i have tried everything i can think of and everything i have read trying to adapt it with what i know,
im no guru at this i reeeeally need some help
THANK YOU  SO VERY MUCH ! 

and where would i put the remove.simpleScreen ( simpleScreen is the loader i would want to remove )
would it be on the external swf on frame 1 where the slideshow plays?
or in the main timeline's category's frame?
the problem ( that i see ) is that both loaders are on the same frame ( different layers tho )
so if i put a the remove simplescreen there it wont show me the pictures when i click the thumbs
or could i make it so that it removes it BECAUSE its playing on frame 1 ?

Similar Messages

  • Can't target main stage from dynamically loaded swf...

    A part of the Flash app. I'm working on right now does the following -
    Main stage loads an external swf using the following function:
    function loadAsset(evt:String):void{
    var assetName:String = evt;
    if (assetName != null){
      var assetLdr:Loader = new Loader(); 
      var assetURL:String = assetName; 
      var assetURLReq:URLRequest = new URLRequest(assetURL); 
      assetLdr.load(assetURLReq); 
      assetLdr.contentLoaderInfo.addEventListener( Event.INIT , loaded) 
      assetLdr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, displayAssetLoaderProgress);  
      function loaded(event:Event):void { 
       var targetLoader:Loader = Loader(event.target.loader); 
       assetWindow.addChild(targetLoader);
    The externally loaded swf loads another external swf into itself using the following function:
    function loadQuiz(evt:String):void{   
    var quizName:String = evt;
    if (quizName != null){
      var quizLdr:Loader = new Loader();
      var quizURL:String = quizName;
      var quizURLReq:URLRequest = new URLRequest(quizURL);
      quizLdr.load(quizURLReq);
      quizLdr.contentLoaderInfo.addEventListener( Event.INIT , loaded)       
      quizLdr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, displayQuizLoaderProgress); 
      function loaded(event:Event):void {
       var targetLoader:Loader = Loader(event.target.loader);
       quizWindow.assetLoader.addChild(targetLoader);     
    Everything loads fine, but from the quizWindow.assetLoader.addChild(targetLoader) level, I want to send a message/fill in a dynamic text box on the Main Stage. I have been "parenting" my brains out and I'm not sure how to communicate with that level.
    can anyone show me the proper path or method based off the above, or have a suggestion?
    Cheers,
    ~Chipleh

    Andrei1,
    Thanks again for your help. I was finally able to get the solution you posted below to work for me.
    Much appreciation,
    ~Chipleh
    "In your loaded movie write:
    function traceMyself(e:MouseEvent):void{
         dispatchEvent(new Event("I_WANT_TEXT"));
    function writeText(text:String):void {
         xmlFileName1.text = text;
    In the top movie that loads external swfs something like that:
    loadedSwf.addEventListener("I_WANT_TEXT", onTextRequest, true);
    function onTextRequest(e:Event):void {
         Object(e.target).writeText(tQuizXmlFile1.theQuizXmlFile.text);
    This way these two entities are independent and, most importantly, don't care who is the parent or grandparent."

  • Calling a function in the main movie from a loaded swf

    I realize this is probably a very basic question, but I have
    loaded a SWF file into another movie. I now want to call a function
    in the main SWF. Is there a way to do that? Alternatively, I have a
    custom class where I could put the function, but I haven't been
    able to figure out how to call it from the loaded SWF either. Do I
    somehow need to associate the class with the main movie,
    or...?

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • Controlling a Movie Clip on the Main Timeline from a loaded SWF?

    Is it possible to control a MovieClip on the main timelne from another loaded clip?
    I see posts that control loaded clips, but most are all from the loader in the main timeline.  I have a moviclip on the main timeline that I want to make visible or invisible depending on what keyframe is playing in another loaded swf.
    If I try to call the movieClip from the loaded SWF I get "error #1119.  Access of possibly undefined property...." because it doesn't exist in the loaded SWF, just the main timeline. 
    The old AS2 way just used "_root".  Since "_root" doesn't exist any more, how do you control items on the main TimeLine from a loaded SWF?

    I am not clear what you mean because you are saying you are trying to target a movieclip that does not exist where you are trying to target it.
    Try using a trace to see what you are targeting when you you target the MovieClip(parent.parent)....
    trace(MovieClip(parent.parent));
    The other approach I mentioned earlier is the more OOP-correct approach if you would rather try that way.  Here's a rough outline of it...
    AS3 - Dispatch Event
    http://forums.adobe.com/thread/470135?tstart=120
    Example:
    Add something to trigger the event in the child (your loaded swf):
    dispatchEvent(new Event("eventTriggered")); (
    if dispatchEvent problem, see: http://www.kirupa.com/forum/showthread.php?p=1899603#post1899603)
    In your loading/parent swf, listen for the complete event on the Loader.contentLoaderInfo.  In the complete event handler, add a listener for the event on the loaded swf.
    // event handler triggered when external swf is loaded
    function loaderCompleteHandler(event:Event) {
        MovieClip(event.currentTarget.content).addEventListener("eventTriggered", eventHandler);
    function eventHandler(event:Event):void {
        trace("event dispatched in loaded swf");
       // this is where your main file can set the visible property of your movieclip

  • Is there a way to control the quality of my pdf file when exporting from a .pse file?

    Is there a way to control the quality of my pdf file when exporting from a .pse file?
    Hi,
    I have 2 pages in all in a .PSE file.
    When I try to export it as .PDF, the quality is very poor. I cannot change it to a better quality.
    Please advise how I can export the file so that i can have better quality.

    Rik Ramsay wrote:
    To expand a little on what Jongware said, normally choosing vector over bitmap will decrease the filesize. If the vector art is very complex though, this will not be true.
    Yup, a logo as bitmap takes up more space than the same as a vector -- unless the vector image is bitmap heavy (think Drop Shadow, Outline Glow; these are actually bitmap effects).
    Also, check your PDF version. "Older" versions do not support live transparency, the latest do. Then again, you cannot use live transparency if you suspect your viewers may be using Mac OS X, because Apple's own PDF viewer sucks big time.

  • I can not use the property of Touch ID to buy apps from Apple Store. !!!

    I can not use the property of Touch ID to buy apps from Apple Store. !!!
    Knowing that I have to activate the property of the settings, but they only work when you open the lock and does not work with me to buy the apps in Apple store !!
    And I'm sad and very upset by this  problem and I bought this phone in order to enjoy this feature and this experience But this did not happen !!  

    Hi I BOSS,
    If you are having issues using Touch ID to make purchases from the iTunes Store, you may find the Purchasing section of the following article helpful:
    iPhone 5s: Using Touch ID
    http://support.apple.com/kb/HT5883
    Regards,
    - Brenden

  • Accessing buttons on main stage from inside of a movie clip

    Greetings...
          here is the scenario:
                 - I have buttons on main stage, and a swf file which is loaded to scene using a LOADER in AS3
                 - this is a website, so the problem rises when user moves its cursor around the page and now  buttons in main stage,
                    are still active since they are behind the loaded swf file.
                 - i would like to learn, how can i CODE inside the loaded SWF file, to either remove the buttons in main page, or remove
                    the event listeners. not sure if my case has anything to do with .Parent or .roo, (I want to access those main stage
                    buttons from the SWF file which is loaded)
                 - The general case is, i have SWF files loading inside another SWF files, is it possible to access items on each stage from
                    inside of loaded SWF files on that specific stage. Similarly i would be interested to learn about accessing main stage from inside
                    of movieclips running on stage. how can i access something not in present FLA file yet, in FLA file that is loading the page as SWF.
                    Thanks.

    If you load an swf into another using the Loader class, then the Loader itself is the parent of the loaded swf., so MovieClip(parent.parent) might help you to target the timeline that the Loader was born from.  The more proper way to have a loaded file talk to a parent file is thru dispatching events that the parent assigns listeners for after the file has loaded.  Here's a link to a posting that might help explain how to implement this.
    http://forums.adobe.com/thread/470135?tstart=120
    As for the buttons that you want to disable, you could either use the removeEventListener() method to remove the listeners you have assigned, or you could set their mouseEnabled property to false, or you could set their visible property to false.

  • How to access frame lable on main stage from a nested symbol

    All-
    I have two buttons
    btnA on the main stage
    btnB is nested inside btnA
    How do I access a frame lable on the main stage from btnB

    ok i figured this one out.
    i created a button symbol 'BTN-NAV-INTRO' and placed it on the main stage.
    i created a mouse over/out effect on it's timeline with an object on top called 'MC-HIT-AREA' 
    i placed the mouse over graphics inside the button and animated them on their own timelines
    coded the MC-HIT-AREA to play those timelines 'MC-HIT-AREA' is nested inside the button
    then on the main stage (this is what threw me) i set the button ('BTN-NAV-INTRO') to cursor and coded it to call the other button form the main stage.  Nesting it wasn't necessary.  I didn't realize you could have multiple mouse over/out effect below a mouse over effect from the main stage
    Edge rocks when i get it to do my bidding! 

  • Access main stage from a symbol timeline?

    Can I access main stage  from a symbol timeline?
    Eg:
    I have a symbol called "ball" and its own time line. There is a close button at the end of ball's timeline,
    When close button pressed, I want to go back to main timeline.
    Thanks
    Phyle

    Thanks Hemanth.  I will try to explain.
    Open Edge animate. On the main stage I added a label called "home".
    I created circle, converted to symbol, renamed to "ball".
    Inside "ball" , I have a animation, at the end there is a button called "closeBt"
    When "closeBt" pressed, I want to go back to main stage "home"

  • Flash builder - 101 - access the property of an  object in a component

    hi all,
    very basic Q for flash builder -> air app ->
    |-mainapp.mxml
    |-components.master.mxml
    |-com.xlab.mca.mytest.as
    {not full code}
    in the mainapp.mxml
    xmlns:xtra="components.*
    <xtra:master>
    </xtra:master>
    in master.mxml I have a text input field 
    <s:TextInput x="106" y="72" id="textinput1"/>
    from an onclick I am calling an AS3 component
    import com.xlab.mca.mytest; //THIS WORKS FINE
    in the component mytest.as I have to get the value of the textinput
    var ttt:String;
    ttt = escape(FlexGlobals.topLevelApplication.textinput0.text);
    if I have the textinput in the mainapp.mxml it works fine,
    but how do I access the property if it is in a component.*
    thx
    Art

    and where would i put the remove.simpleScreen ( simpleScreen is the loader i would want to remove )
    would it be on the external swf on frame 1 where the slideshow plays?
    or in the main timeline's category's frame?
    the problem ( that i see ) is that both loaders are on the same frame ( different layers tho )
    so if i put a the remove simplescreen there it wont show me the pictures when i click the thumbs
    or could i make it so that it removes it BECAUSE its playing on frame 1 ?

  • Controlling the layout of application objects in MIDP

    If I don't want to use the MIDP high level user interface API, can I control the layout and position of application objects in MIDP?
    thanks in advance,
    Rani

    Yes. The low level API's give application developers complete control over the screen real estate allocated to the application. The low level APIs allow the application draw its own graphics and to
    respond to event inputs from the device keypad. Devices are required to have a ITU-T keypad, which has buttons for 0-9, *, and #. The low level APIs give the application developer more control
    over what the user sees but make the application less portable.
    Hope this answers the question,
    cheers!!!!
    MFALI
    ~SUN

  • How can I limit/control the addition of auth. objects to security roles?

    Checking the authorization object S_USER_VAL it seemed that it grants the ability to limit the addition of authorization objects, but I tried using a test ID in sandbox along with a test role, removing the object, creating ranges in order to limit to a certaing type of auth. objects and didn't work. S_USER_AGR will give me access to limit which type of roles I can modify, but I'm looking to restrict the addition of specific security objects to security roles. If anyone knows the answer to this please share! Thanks in advance for your help!!!!
    Edited by: Armando Salas on Nov 29, 2011 7:41 PM

    Hi Armando,
    Try with auth.obj. S_USER_AUT. A suggestion. Search this objects with tcode SU24, for instance, for tcode PFCG and it gives a list with objects.
    I hope this helps you
    Regards
    Eduardo

  • Control the scrolling speed while browsing a PDF file from a URL in Safari

    When I open a URL pointing to a PDF file from Safari, the PDF file is opened by the AdobePDFViewerNPAPI.plugin.  Too many times the multi-page PDFs scroll too fast up and down uncontrollably from the touch Pad. 
    Is there a way to control the scrolling speed and make my reading experience better?

    You need to remove both, while Safari is closed.
    You can use the Trash - Put Back command to replace them right away (again, close Safari first) or drag them from the trash to some spare folder, in case you want them later.

  • Controlling the appearance of a new browser window coming from a weblink

    Hello all,
    I have a weblink. When the end user clicks on the web link a new browser window opens up.
    I would like to be able to control the appearance of the new browser window. I want to be able to hide url address bar, tool bar and all menus.
    Is there a way to do this by editing the weblink in CRM OnDemand ?
    Thanks,
    Trish.

    Trish, if it is possible it would need to be in the URL and I think you'll need to do a google search to find out how you pass IE attributes into a URL.
    cheers
    Alex

  • Its loading a page before even i type in the right URL. how can i prevent forefox from automatically loading the suggested page before i hit enter?

    when i type in address bar, its great that the url is automatically filled in based on the history of browsing. but i dont want the page to be loading at the same instant. for ex. if i want to type thehindu.com, once i type 't' its taking for granted that i am typing thermopedia.com and completes the url and loads the page at the same time. I appreciate the url suggestion but not the page loading at the same time. this wastes my data usage (Highly inefficient).
    To complicate the problem, when i type the second letter sometimes it gets appended to the already auto completed url and heads to search for the completely messy words in the default search engine.
    Basically the addressbar has become useless and so is firefox usage. I'm completely frustrated and spoiled over an hour fighting the issue. please provide options to control the loading of the page automatically even if the url is automatically filledin.

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

Maybe you are looking for

  • I-tunes - Quick Time version

    I have a large number of tunes on my i-pod, which comes off of itunes. When I clicked on itunes today it said "Quick time version 6.5 is installed. Itunes requires Quick Time version 7.03. Please reinstall itunes. When I inserted the disk it asked me

  • Listing attributes of a particular level in a dimension via API call

    Hi, We are using the Oracle OLAP Java api's to browse the metadata and contents of an OLAP schema. We need to be able to access an api that lists just the Attributes that are mapped to a particular Level within a dimension. Note the following snippet

  • No Records in Error Stack

    Hi, I've created a Standard DSO on top of a flatfile datasource. I have few records in flatfile with special charcters like @, ~ etc. When I activate the data in DSO, activation fails with invalid SID message. Request turns red and no data are writte

  • How to get PE6 to recognize Epson scanner again?

    Another forum told me the solution to having bogus empty folders appear in my Library Preferences folder daily was to trash the TWAIN for my Epson Perfection 1240U scanner. They said it wasn't needed anyway. Well, they were right about the solving th

  • Computer won't boot at all after 10.5.7 update

    After installing the 10.5.7 update, and having it hang on the blue screen (as plenty of others did), my mini will not boot past the grey apple logo screen. I have tried rebooting several times as this seemed to help some others, as well as holding do