Tween Max AS3 Not Working on Root of loaded SWF

     I have a project where I'm loading a SWF into another Shell SWF and I've run into a strange bug.  Tween Max works in the compiled clip everywhere, but on the root of the loaded SWF.  It's not erroring out, it's just not tweening anything?
Here's the code for the loader in the Shell...
stop();
//Import the required assets
import flash.display.*;
//Stop the playhead while loading occurs
var ldr:Loader = new Loader();
var url:String = "12com2682-value.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
//Create a listener to call the loading function as the movie loads
ldr.contentLoaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING2);
function PL_LOADING2(event:ProgressEvent):void {
loader_txt.visible = true;
var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
//Display the % loaded in textfield
loader_txt.text="loading:"+int(pcent)+"%";
//If the movie is fully loaded, kick to the next frame on the main timeline
//You may wish to change the gotoAndStop(2) to a gotoAndPlay(2)
if(pcent==100){
          mc_loadscene.addChild(ldr);
          loader_txt.visible = false;
this.loaderInfo.removeEventListener (ProgressEvent.PROGRESS, PL_LOADING);
then in the loaded SWF, I have:
stop();
import com.greensock.TweenMax;
import com.greensock.plugins.*;
TweenPlugin.activate([AutoAlphaPlugin]);
import fl.transitions.easing.*;
//////mc_host is a movieclip holding a video
TweenMax.to(mc_host, 1, {scaleY:1, scaleX:1, delay: 2.5, ease:Back.easeOut });
//////mc_sidert is another movieclip
TweenMax.from(mc_sidert, 2, {y:"-600"});
Anybody else running into this error? 

you must be doing something wrong because that code works as expected for me:  http://www.kglad.com/Files/forums/test2.html and http://www.kglad.com/Files/forums/test2.fla
p.s. please mark helpful/correct responses.

Similar Messages

  • Administered approve infopath does not work in root site collection.

    I  had deployed the administrator approved infopath form to 2 different site collections in 2 different web application. While it worked for web application A it did not work for web application B and threw infopath not being able to open the file since
    it was not fully trusted. So i digged around more.
    Difference between web applications
    Web App A
    site collection was not root site collection 
    Web App B
    site collection was root site collection
    So i created the new site collection at Web App B not at root and tested and it still gave me same error.
    Web App A
    - Root had given read access to all users in domain        
     Web App B
     - No read access to all users in domain
    I gave read access to all users in root site collection at web app B and forms started working at non root site collection but gave same error at root site collection at web App B.
    So i tried using the info path from at root site collection of Web App A, and even there the form did not work.
    Does administrator approved infopath form do not work in root site collection? I was not able to find anythin in net regarding this. 
    If any one has any idea please help.
    sachin

    Any idea what the form DOES, and why it needs to be an admin approved form?
    I'm guessing that there's custom code, and that it's coded poorly and can't handle a difference (root site collection is just ONE possibility)
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Why does iMessenger not work/takes ages to load?

    Why does iMessenger not work/takes ages to load?
    - done all the log in stuff (username and display name but then takes for ever to load so just give up!

    How has it stopped working?
    ARe you on wifi or cellular data?

  • My Keyboard and touch-pad will work during post, but will not work after the os loads?

    I have a G60 and My Keyboard and touch-pad will work during post, but will not work after the os loads? Im running Windows 7, Anyone have any Ideas? I have already tried a hard reset, and safe mode???

    Try pressing the fn key and f2 to reach bios
    or
    try a usb mouse from your desktop
    S70-ABT2N22 Windows 7 Pro & 8.1Pro, C55-A5180 Windows 8.1****Click on White “Kudos” STAR to say thanks!****

  • Motion Tweening Components - Will Not Work

    I've been using Flash for a few weeks and have scoured and
    scoured, trying to solve what I'm sure will turn out to be a small
    issue I'm over looking.
    Basically, I have buttons, scrollpanes, and FLVPlayer
    components on my stage, in separate layers that work fine when they
    are on the keyframe that I add them to initially. However, I want
    to animate these components moving in and out of the stage (see
    www.rossmnewton.com for an example). So I make new keyframes before
    and after the keyframe I added the components on, copy the
    components, move to the other keyframe, paste in place, move it,
    then create a motion tween, and the animation works fine. The
    problem is, no matter what I do though, my buttons, scrollpanes,
    and any other component, will fail to work as soon as I apply a
    motion tween to them. Instantly, they stop working. And I can't
    figure out how to animate these types of components without
    breaking them.
    What am I messing up here? Can you not motion tween buttons
    moving around? Or an FLV player?
    And I notice that it creates "Tween 1", "Tween 2", etc.,
    objects of type Graphic in the Library.

    Hi,
    The Sample Calendar component download has been fixed for Update 7.
    http://developer.sun.com/prodtech/javatools/jscreator/reference/codesamples/samplecomps/calendar.html
    Also, the source is available and also is valid.
    Please read the brief instructions in NOTES.txt
    To build the source, you'll need to use ant
    http://ant.apache.org
    Then , in the build.xml file included in the zip, correct
    the creator.home property setting to point to the installation directory of Creator.
    hth
    John

  • FOIP max-conn not working

    max-conn in FOIP is not working properly. Even after i set max-conn to 1, possible to make 2 simultanious faxes to the specific dial-peer.
    Anyone know how to change the FOIP TIF attachemnt name (Cisco_fax.tif) to other name?

    This command applies to off-ramp Store and Forward Fax functions. verify you are using On Ramp or Off Ramp

  • MAX DateTime Not working

      SELECT MAX(DateTimeAdded) OVER(PARTITION BY PatientID ORDER BY DateTimeAdded)as DateTimeAdded
        FROM ClinicalVitalGroup CVG_D
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'OVER'.
    Why is this not working???

    GROUP BY looks for unique value combinations of entire columns specified, so when you add one more column the column combination changes and it looks for the unique combination of all columns together. So combination of values for PatientID and
    ClientVitalGroupID  will still be unique though if you look at PatientID individually you
    may see duplicates.
    See this small illustration to understand it
    declare @t table
    Col1 int,
    Col2 int,
    Col3 varchar(10)
    insert @t
    select 1,2,'Test' union all
    select 1,3,'qwerty' union all
    select 1,3,'blah blah' union all
    select 1,4,'jbj' union all
    select 2,6,'jkhk' union all
    select 2,8,'kkjkl' union all
    select 2,8,'kljklj' union all
    select 2,11,'kklljl'
    select Col1,COUNT(*) AS Cnt
    from @t
    group by Col1
    The above code will return just two records as you've only two unique values for COl1 field (1 and 2)
    See output below
    Col1 Cnt
    1 4
    2 4
    Now add col2 also to group by and see
    You will get 6 records as there are six unique combinations for Col1 and Col2
    ie (1,2),(1,3),(1,4),(2,6),(2,8),(2,11)
    see
    declare @t table
    Col1 int,
    Col2 int,
    Col3 varchar(10)
    insert @t
    select 1,2,'Test' union all
    select 1,3,'qwerty' union all
    select 1,3,'blah blah' union all
    select 1,4,'jbj' union all
    select 2,6,'jkhk' union all
    select 2,8,'kkjkl' union all
    select 2,8,'kljklj' union all
    select 2,11,'kklljl'
    select Col1,Col2,COUNT(*) AS Cnt
    from @t
    group by Col1,Col2
    The output is
    Col1 Col2 Cnt
    1 2 1
    1 3 2
    1 4 1
    2 6 1
    2 8 2
    2 11 1
    If you analyze any one column again (Col1 or Col2) in above output you can see the value duplicating as GROUP BY just ensures the
    full combination of values being unique rather than the individual values themselves
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Max is not working in infopath form 2010

    Hi,
    I have created one form in infopath 2010.
    I want to get maximum id of a table when i click on new record.
    I am trying to use max() function for the same.
    But its not working for me.
    Please help to solve the issue.
    Thanks in advance!
    Regards
    Rajni

    Hi,
    According to your post, my understanding is that you want to get maximum item id of list in InfoPath 2010.
    Here is a blog for your reference:
    Auto-Numbering InfoPath Forms
    http://claytoncobb.wordpress.com/2009/06/15/auto-numbering-infopath-forms/
    Best Regards
    Dennis Guo
    TechNet Community Support

  • AS3 not working when uploaded to linux server

    Works like a charm when I preview it but when I upload to the
    server (tried 3 different ones) it just ignore the actionscripts
    all together no matter what I use.
    What I have is a rotating banner system. I set it up to
    randomly start at a specific one. If I preview it locally or run in
    in my .html file locally (just using preview in dreamweaver) it
    works like a charm and starts at a random one. When I upload it it
    just starts at the first one like the actionscripts do not exist.
    Using Flash CS3 and AS3.
    Thanks

    Pretty sure it is not a problem with the upload as I have
    been doing this for years the same way with Dreamweaver. In
    diagnosing the issue I rebuilt it and in place of the movie clips I
    just put text and uploaded it. Worked like a charm. Added the movie
    clips and again does not work when I upload it. Ignores the
    actionscript and just plays them in order. Did a build from top to
    bottom and from bottom to top also. Something in the movie clips is
    causing it but darned if I can find the answer. I have done this
    same thing before and it worked just fine. Just at a loss. I am
    attaching the code inside the movie scripts which work just fine.
    It is just ignoring scripts on the Scene 1 level.

  • In some pc ActionScript not working even after running the .SWF or .EXE, what may be the problem ?

    In my flash project i am using ActionScript to get FULLScreen and mouse hide action. I hv already used the AS3 in Adobe Flash CC and AS2 in Adobe Flash CS6.  All my files are working well, both .SWF and .EXE (projector..) . But the client is saying in his pc the Full SCREEN and Mouse hide is not working. I instructed to update the flash player plugins, still they are getting the same issue. What is the matter pls any one guide us. My code is in the first frame of Flash file which is mention below.
    /*AS2 code*/
    fscommand("fullscreen","true");
    Mouse.hide();
    /*AS3 code*/
    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
    stage.scaleMode = StageScaleMode.SHOW_ALL;
    Mouse.hide();

    Hi all, few days ago the client told , one of the project file (.SWF and .EXE) showing full screen. Again day before yesterday the client again said, all the project files working Full Screen and Mouse hide action. Still i do know such happens ? if any technical issue is behind its problem than anyone pls inform me. However it is running well in their PC now.

  • HP Printer Assistant is not working ...keeps loading...

    Hello, I have purchased a HP Officejet Pro 6830  All in One printer and have installed the software from the CD, installed updates and already used the HP Docter software but the Printer Assistant does not load. It keeps on with a blank screen, with the message that the Assistant is loading and Default Text message (see screenshot) it is just that, My system is Win 7 professional and compuer is Asus. The printer and scanner are working but the Printer Assistant software does not work.  My previous printer was also an all in one from HP and it had HP solution Center to manage the printer and scanning process but reading the forum I understand that is not a solution for this problem. 

    Hi,
    Although the issue seems different, try following this document and install the included patch, then check if you may able to load the HP Printer Assistant again:
    http://support.hp.com/us-en/document/c03640384
    Please let me know the results,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Apple tv is not working: "an error occurred loading this content. Try again later".  Any idea?

    My apple tv is not working.  I have rented 4 movies and I cannot open any of them.  My Apple TV is located in USA.  Anywy I am traveling at the moment outside US, but cannot watch my rented movies.  I get the following error message: "an error occurred loading this content. Try again later".  Any idea?  What is the solution for this issue?

    I have 4-5 mbps for Downloads.  It works fine when opening websites and downloading large files from the Internet.  I have set-up my IP to "automatically" as you suggested, even though I believe this was the default setting.
    I changed the resolution in Settings > Itunes Store > Video Resolution from 1080p to 720p.  Then I rented again "Salmon Fishing in the Yemen", (but now using HD 720p) and I get exactly the same error. 
    Then I changed it to Standard Definition and now is working.  Basically what I have found out is that if I rent movies in HD 1080p or HD 720p it will simply not work. 
    I believe 4-5 mbps is very fast internet connection, so the errors above should not be appearing.
    Feedback for Apple TV developers is to show estimated time for full downloads when using 1080p or 720p so the user can understand what is going on. Very frustrating as I just bought the Apple TV for watching HD movies. I have a 55" HD Sony Bravia tv ready to be used... !!! 

  • My touch id is not working for app purchasing loading up my ipod touch back up

    my touch id is not working for app purchasing after loading up my iPod touch back up to the iPhone 5S

    Yes, you will need to call Apple at this point for further assistance.
    Apple ID: Contacting Apple for help with Apple ID account security

  • Utube not working now only get loading circle

    Was working fine till today.

    I'll give this a try,, but I should of pointed out that utube shows the things to watch even my own videos,, but when I try to watch a video it only goes as far as showing the loading circle forever,,  all other channels on ATV are working fine.. Just can't watch anything I pick to watch on utube.  Was working fine before and didn't change anything between it working and then not working..  Other than I noticed that the location of the utube button has changed on the home screen..  I think because Apple added the button to watch their show yesterday.

  • TS2634 My Ipod Touch has a cracked screen at the top. The unlock slider does not work. I have loaded the latest software onto the Ipod and iTunes but still the slider will not operate. Is the cracked screen the problem?

    My IPod Touch has a small crack at the top of the screen and now the slider will not work to unlock it. Is the cracked screen the problem?

    To get pass the passcode lockscreen, recovery mode and restoring should help: iPhone and iPod touch: Wrong passcode results in red disabled screen
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    If the issue continues after updating and restoring your device, refer to this document.

Maybe you are looking for

  • How Weblogic used in Integration using J2EE Connector architecture??? need more info

              Hi xperts,           Would like to know more about weblogic integration in EAI zone using J2EE           I checked on           http://java.sun.com/j2ee/connector/           http://java.sun.com/j2ee/white/connector.html           Can anyone

  • SM58 - Error while sending IDOC

    Hi, I got the following error while sending the IDoc to a XI system. "No service for system (Idoc adapter port), client 800 in Integration Directory" Please let me know whether this is due to an error in network or  application error. Note: remote lo

  • Dropdown text and scroll bars in popups

    Hello All, I have a topic that is relatively short when it is first opened and the (dhtml) drop down text is hidden. So, when it is opened in an autosizing popup window from a link in another topic, (and the WebHelp is full or almost full screen), no

  • Statement could not be reached

    does anyone know what "statement could not be reached means" thanks

  • Client Deletion, Transaction log getting full.

    Hi Gurus, We are trying to delete a client by running: clientremove client = 200 (*200 being the client we want to remove) select * The transaction log disk space allocated is 50GB, it is getting full (in simple mode) and client deletion never comple