Pushing Frame Scripts for Animation into Classes

I would like to move some scripts that are on frames of an
animation to a class. I'm wondering if there are some best
practices for this. The animation that I have includes scripts on
individual frames. These include the common stop, gotoAndPlay etc.
These scripts execute as the animation runs. I'm not sure how I can
do the same in a class. Maybe the best thing to do is to use
onEnterFrame and check for frame numbers using a conditional. Seems
sort of awkward. I don't know of any ready way to make a event
listener for a frame event. That would seem ideal.

Why impatient? I'd really like to find out what's going on.
The nature of what I'm doing requires that I get control of how and
why things play when they play. For examle, why should it play
differently to daisyChain loadMovie as opposed to chaining
gotoAndPlay("scene", 1)?
I'd also then need a preloader to insure all movies were
ready or the animation would pause. I'll keep playing at it.
Thanks for trying.

Similar Messages

  • Not able to push batch script for installing IIS all features using SCCM 2012 task sequence

    Hey Guys, I am working for this from a long time but not able to make it work, I am using following batch script for installing IIS  using SCCM 2012 task sequence:
    Dism.exe /online /Enable-Feature /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServerRole /FeatureName:IIS-WebServer /FeatureName:IIS-ApplicationDevelopment /FeatureName:IIS-Security /FeatureName:IIS RequestFiltering /FeatureName:IIS-NetFxExtensibility
    /FeatureName:WAS-WindowsActivationService /FeatureName:WAS-ProcessModel /FeatureName:WAS-NetFxEnvironment /FeatureName:WAS-ConfigurationAPI /FeatureName:NetFx3 /FeatureName:WCF-HTTP-Activation /FeatureName:WCF-NonHTTP-Activation /FeatureName:IIS-WebServerManagementTools
    /FeatureName:IIS-ManagementConsole /FeatureName:IIS-ManagementScriptingTools  /FeatureName:IISIIS6ManagementCompatibility /FeatureName:IIS-ManagementService /FeatureName:IIS-Metabase /FeatureName:IIS-WMICompatibility
    When I run this script as admin by right click on it and select "run as a administrator" the script works fine but when I pushed the script as a software package or a step in OSD task sequence, nothing happens. I also tried
    run command line option but no luck. Please help me with this.
    Thanks,
    VST

    1. When I used "run command line" option I found following errors in smsts.log:
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:32:12 PM 2720 (0x0AA0)
    Remediation failed. Code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Remediation failed with error code 8027000C TSManager 1/2/2014 2:34:16 PM 2092 (0x082C)
    Failed to run the action: Run Command Line.
    Unknown error (Error: 800F080C; Source: Unknown) TSManager 1/2/2014 2:34:32 PM 2092 (0x082C)
    Failed to delete directory 'C:\_SMSTaskSequence' TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetNamedSecurityInfo() failed. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    SetObjectOwner() failed. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005. TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    Failed to delete registry value HKLM\Software\Microsoft\SMS\Task Sequence\Package. Error code 0x80070002 TSManager 1/2/2014 2:34:33 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    GetTsRegValue() failed. 0x80070002. TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    ReleaseRequest failed with error code 0x80004005 TSManager 1/2/2014 2:34:34 PM 2092 (0x082C)
    RegQueryValueExW failed for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    GetTsRegValue() failed. 0x80070002. OSDSetupHook 1/2/2014 2:34:35 PM 360 (0x0168)
    2. We are not using MDT in our environment so I ant use add features and roles option.
    3. The script is running fine when we run it manually.

  • Unable to paste frame from one animation into another

    Hi, I'm currently working to make a set of GIFs. I'm using PS CS6 64-bit on a Windows 7 PC. This is my first time encountering this error. I am attempting to select a batch of frames from one animation (in the frame animation mode) then select "Copy Frames" in the drop down window of the workflow menu, then move to the other animation, which is also in frame animation mode. However, when I go to that animation's drop down menu I'm unable to select "Paste Frame" - it's grayed out. I've attempted to rest my tools and preferences, and reopened PS several times, but still can't copy and paste frames from one animation to another. (I'm still able to copy and paste frames within a single animation.) As I said, this is my first time encountering this error after making numerous GIF sets this way -- any troubleshooting tips?

    That copy and paste you describe does not work in ASO -- it does in BSO. AFAIK, it has been that way forever.
    Sorry, because it is a very nice bit of functionality in BSO.
    Regards,
    Cameron Lackpour

  • AS3 Scripting for Animated GIF

    Hi,
    I am trying to create an animated GIF for a white noise animation (needed for those viewers who don't have access to a Flash player). The SWF version runs perfectly. Currently, all of the AS3 for the bitmapData.noise and bitmapData.palettemap script is in the first keyframe. So, when I export as an animated GIF, I get a white screen in playback.
    I think the problem for the animated GIF is that there are no frames past the first frame. But, I am not sure how to add frames or re-write the AS3 to get a 30 second animated GIF? I tried duplicating the first keyframe into several new keyframes and get error messages. I would appreciate any help.
    Here's the AS3 in the first keyframe that works well for a SWF (previous relevant thread: http://forums.adobe.com/thread/734335?tstart=0):
    var array:Array=new Array();
    for (var i:uint = 0; i < 255; i++) {
    array[i] = 0xffffff * (i % 2);
    var _bitmapData:BitmapData;
    var bDHolder:Sprite = new Sprite();
    _bitmapData = new BitmapData(stage.stageWidth/4, stage.stageHeight/4);
    bDHolder.addChild(new Bitmap(_bitmapData));
    bDHolder.scaleX = bDHolder.scaleY = 4;
    addChild(bDHolder);
    addEventListener(Event.ENTER_FRAME, onSpriteEnterFrame);
    function makeNoise():void {
                _bitmapData.noise(getTimer(), 100, 255, 7, true);
                _bitmapData.paletteMap(_bitmapData, _bitmapData.rect, new Point(0,0), array, array,array);
    function onSpriteEnterFrame(event:Event):void {
                makeNoise();
    var itsNoisy:Boolean = true;
    stage.addEventListener(MouseEvent.MOUSE_DOWN, manageNoise);
    function manageNoise(evt:MouseEvent):void {
         if(itsNoisy){
             removeEventListener(Event.ENTER_FRAME, onSpriteEnterFrame)
         } else {
             addEventListener(Event.ENTER_FRAME, onSpriteEnterFrame)
         itsNoisy = !itsNoisy;
    Kind Regards,

    Jimmy,
    You may (also) try to ask in the (most) relevant Photoshop forum.
    http://forums.adobe.com/community/photoshop

  • Setting variable "Frame Delay" for animation.

    I am trying to set frame delay in an animation I am working on. There are a lot of frames and they all have different delays. I am not sure if scripting is the best way but here is what I have so far (using VBA because that is what I am familiar with): I am erroring out at line 23 saying it is a "type mismatch"
    Sub Set_Frame_Delay()
        Dim appPS As Photoshop.Application
        Dim docPS As Photoshop.Document
        Dim NewLay  As Photoshop.ArtLayer
        Dim LaySet As Photoshop.LayerSet
        Dim ref1 As Photoshop.ActionReference
        Dim actPS
        Set appPS = CreateObject("Photoshop.Application")
        appPS.Visible = True
        Set docPS = appPS.ActiveDocument
        Set LaySet = docPS.LayerSets("Text")
        Set ref1 = CreateObject("Photoshop.ActionReference")
        For Each NewLay In LaySet.ArtLayers
                Select Case NewLay.Name
                Case "Test1"
                    actPS = ref1.PutName("Frame Delay", 0.540769)
                    NewLay.Application.ExecuteAction (actPS)
                Case "Test2"
                    actPS = ref1.PutName("Frame Delay", 1.013942)
                   NewLay.Application.ExecuteAction (actPS)
              End Select
          Next NewLay
        MsgBox "frame set"
    End Sub

    Yeah Ive used the script listener before, but was hoping to avoid it because I didn't understand everything that it spits out. But I think I broke it down and I came up with below. I tweeked my original solution to use a text file.
    Sub Set_Frame_Delay3()
        Dim appPS As Photoshop.Application
        Dim ActDescPS1 As Photoshop.ActionDescriptor, ActDescPS2 As Photoshop.ActionDescriptor, ActDescPS3 As Photoshop.ActionDescriptor
        Dim ActRefPS1 As Photoshop.ActionReference, ActRefPS2 As Photoshop.ActionReference
        Dim dialogMode
        Dim idsetd, idnull, idOrdn, idTrgt, idT, idslct
        Dim idAniFrClass, idAniFrDelay
        Dim sFileName As String
        Application.ScreenUpdating = False
        Set appPS = New Photoshop.Application
        appPS.Visible = True
        dialogMode = 3
        With appPS
            idsetd = .CharIDToTypeID("setd")
            idnull = .CharIDToTypeID("null")
            idOrdn = .CharIDToTypeID("Ordn")
            idTrgt = .CharIDToTypeID("Trgt")
            idT = .CharIDToTypeID("T   ")
            idslct = .CharIDToTypeID("slct")
            idAniFrClass = .StringIDToTypeID("animationFrameClass")
            idAniFrDelay = .StringIDToTypeID("animationFrameDelay")
        End With
        sFileName = Application.GetOpenFilename("Textfiles (*.txt),*.txt", , "Open a textfile...")
        oIndex = 0
        iFileNum = FreeFile()
        Open sFileName For Input As iFileNum
        Do While Not EOF(iFileNum)
            oIndex = oIndex + 1
            Line Input #iFileNum, oDelay
            Set ActDescPS1 = New Photoshop.ActionDescriptor
            Set ActRefPS1 = New Photoshop.ActionReference
            ActRefPS1.PutIndex idAniFrClass, oIndex
            ActDescPS1.PutReference idnull, ActRefPS1
            appPS.ExecuteAction idslct, ActDescPS1, dialogMode
            Set ActDescPS2 = New Photoshop.ActionDescriptor
            Set ActRefPS2 = New Photoshop.ActionReference
            ActRefPS2.PutEnumerated idAniFrClass, idOrdn, idTrgt
            ActDescPS2.PutReference idnull, ActRefPS2
            Set ActDescPS3 = New Photoshop.ActionDescriptor
            ActDescPS3.PutDouble idAniFrDelay, oDelay
            ActDescPS2.PutObject idT, idAniFrClass, ActDescPS3
            appPS.ExecuteAction idsetd, ActDescPS2, dialogMode
            Set ActDescPS1 = Nothing
            Set ActRefPS1 = Nothing
            Set ActDescPS2 = Nothing
            Set ActRefPS2 = Nothing
            Set ActDescPS3 = Nothing
        Loop
        Application.ScreenUpdating = True
        Set appPS = Nothing
        MsgBox "Frames Delays have been set!"
    End Sub
    The text file only needs to list the times in seconds in order of frames. In case someone else wants to copy the code. Such as :
    0.916303
    0.826175
    0.660941
    1.374455

  • File Specs for Animations into a 16:9 Sequence

    I captured mini dv footage shot in 16:9. I received graphics to cut into my sequence from a post house. These 5 second qt's crash my FCP. They are in the apple animation codec 853 x 480 (1024 x 480), Millions. To work around this I opened them in QT and exported them as DV, 720 x 480 (853 x 480), Millions. When these are cut into my sequence part of the bottom of the image is cut off. So 2 questions:
    1) Any ideas on why the original graphics crashed FCP?
    2) Why is the bottom of the graphic being chopped off?
    Moving On:
    The final sequence was exported - QT movie - Current Settings. It was brought into DVDSP. Under preferences the display mode was changed to 16:9 letterbox and encoding aspect ratio was changed to 16:9. When the dvd is played on my TVI think it looks right.
    Sequence #2 was only from the graphics. The seq. settings were matched to the graphic clips' settings when cut into the new sequence. This gave me
    Frame Size 853x480 Custom
    Pixel Aspect Ratio: Square
    Field Dominance: None
    Compressor: DV/DVDPRO - NTSC
    I exported this sequence the same way and brought it into DVDSP. The final dvd looked correct.
    The dilemma is that these dvds were brought to a studio doing a live audience taping. They were dubbed to digibeta and then rolled into the show. The director pointed out that my images didn't fill the 16:9 monitor and needed to be distorted to do so. So my stuff was stretched vertically which was rather disturbing. I'd like to avoid this ever happening again so if anyone has experience in this it would be greatly appreciated. Thank you.

    Hi there,
    These are animated graphics. There's a 5 second opening and moving logos etc. I'm unclear as to what specs should have been given to the graphic house because their original files crashed my FCP system. And I don't know why my final playable dvd sequences didn't fill the 16:9 screen when dubbed to digibeta and played back.

  • Problem with frame script

    My project has two frames, each with the same frame script
    attached. The only command is "go the frame", to keep the playback
    head stationary. The script executes in one frame and is ignored in
    the other. Debugging verifies that the playback head does go to the
    frame where the script doesn't work. I get the same problem if I
    write a different (identical) frame script for the problem frame.
    I'm baffled. Help!
    Thanks,
    Bruce

    On Sun, 10 Sep 2006 13:46:04 GMT, bd525 posted in
    macromedia.director.basics:
    > Yes. Either way:
    > go the frame
    > go to the frame
    > I get the same result. The playback head stops in one
    frame and not the
    > other.
    Any chance there's a sprite in that frame with a behavior
    attached that does
    a 'go' command?
    Mark A. Boyd
    Keep-On-Learnin' :)

  • Best method for animated bitmap sprites with GPU?

    I've been looking at how GPU Hardware Acceleration is achieved with cacheAsBitmap and cacheAsBitmapMatrix which I understand for static bitmap sprites (+rotation/scale) but I don't quite understand how this would be used to animate a sprite that had different animation frames.. in terms of what is done by the GPU and what is done by the CPU
    eg potential scenarios:
    1) cache sprite sheets to GPU. use copyPixels to blit the various sprites to a single canvas. In this case presumably the canvas would not be GPU accelerated because it is constantly changing every frame. Is there in fact any benefit of having the sprite sheet cached here? is the GPU actually used for the blit onto the CPU-rendered canvas?
    2) cache individual sprite bitmap(data) frames on the GPU. use object pooling for game character sprites and add them to stage on startup. Change the bitmap every frame dynamically,  for animated sprites, to one of the cached bitmapdata textures. is the GPU actually being used in this case to change the bitmap of the sprite? or is it forced to CPU processing again?
    The only scenario I currently know should be GPU accelerated is if I use a cached sprite that doesn't animate (other than rotating and scaling with the bitmap matrix).
    thanks for any advice
    J

    J, I believe (2) is how it is currently done. A better method is required! - basically the same question I have that you are helping me with . That link to 'Yeah, but is it Flash' in my post shows an example of exactly that method (individual BitmapData for each frame).
    Just for completeness I will add the one from my post (though unsure if it is even possible):
    (3) Single BitmapData sprite sheet cached to GPU. Each Bitmap that uses this sprite sheet can somehow specify the x,y,width,height of the frame within this sprite sheet to use.

  • Loading .gif animations into Photoshop Elements 8 for Mac

    For years I used Photoshop Elements 2 for Windows to make .gif animations with great success. 
    Then I switched to a Mac and bought Elements 8 for Mac.  Now, I am finding out that I can not load any
    of the animations I made using Elements 2 into 8.  (And yet I can load animations I made using 8 into 2.)
    In fact, I can not load any .gif animations into 8, other than if I make one and save it
    as .psd.  8 allows me to make them, but not load them as .gifs.
    My question:  Is there an easy way to load .gif animations into PS Elements 8 so a
    person can work on the individual frames?  Am I going to have to convert any .gif animation I
    want to import into 8 first into .psd?  All I seem to get when I try to load a .gif is the message
    "This is an animated gif.   You can only view one frame." I have searched manuals and the
    Net looking for a specific method of using PSE8 to load gif animations intact (not just one frame). 
    Is it possible?  Thanks. (I also have noticed that Elements 8 will not allow me to change the frame
    speed -- it is unchangeable at .2)

    Dear Ms. Brundage -
    I followed the directions detailed in your blog entitled "Moving a Catalog from Windows to Mac" as well as your description of the process on page 58 of your book "Photoshop Elements 9 - the missing manual." 
    I installed PE9 for Windows and converted my catalog.  I then backed up that catalog to an external hard drive.  I then connected the hard drive to my MAC on which I also installed Photoshop Elements 9 for MAC.  I opened the Organizer and tried to restore that converted catalog.  However, for each file in the converted catalog, a dialog box opened that said "Could not restore file:  /Volumes/Name of External Hard Drive/Filename.JPG."
    I then made a second backup of the converted catalog using Photoshop Elements 9 for Windows and then tried to restore that catalog again on the MAC using Photoshop Elements 9 for MAC, again to no avail.
    Do you have any idea what the problem may be?
    Thanks again.
    Steve Haas
    [email protected]
    [email protected]
    (770) 313-0038

  • Scripting Selective XML into a Single Text Frame? (& Some Other Stuff...)

    Hi all, I could use some help (using version CS5.5).
    I want to import (via Javascript) an XML file similar to this:
    <movieRoot>
         <dvds>
              <movie>
                   <title>2001: A Space Odyssey</title>
                   <edition>Special Edition</edition>
                   <features>NOTHING</features>
                   <notes/>
              </movie>
              <movie>
                   <title>Airplane!</title>
                   <edition />
                   <features>Extra Laughs</features>
                   <notes/>
              </movie>
         </dvds>
    </movieRoot>
    I've been able to successfully do this, so no problem there.
    Then I want to dump the child elements under the XML element "<dvds>" into a single text frame that spans 2 columns per page. That's easy enough too, except:
    1) I want to filter the data so that empty elements or whose contents equal "NOTHING" do not appear.
    2) I want to add static text title above some of the elements that remain (outside the XML proper).
    3) Then I want to format the text (using Paragraph Styles).
    Tall order, I know, but I'm keen on figuring it out. I initially created a document using placeholders and used the standard XML Import to populate it with data, which was filtered using scripts to remove extraneous placeholders and static text. It gave me the result I wanted, but as the XML will be regularly updated and since the "filtered" tags result in non-standard XML entries, it means starting over from scratch after every XML update. So I turned to scripting...
    For point #1, I was able to filter properly using a recursive IF statement, tested here using message alerts:
    I've included a bunch of variables for (hopefully) easier viewing.
    var myXMLRoot = myDocument.xmlElements.item(0);  //movieRoot
    var myXMLParent = myXMLRoot.xmlElements.item(0);  //dvds
    var myXMLElement = myXMLParent.xmlElements.item(0);  //movie
    var currElement = myXMLElement.xmlElements.item(0);  //title
    for (i = 0; i < myXMLParent.xmlElements.length; i++)
        myXMLElement = myXMLParent.xmlElements.item(i);
        for (j = 0; j < myXMLElement.xmlElements.length; j++)
            currElement = myXMLElement.xmlElements.item(j);
            if (currElement.contents != "" && currElement.contents != "NOTHING")
                alert (currElement.markupTag.name + ": " + currElement.contents);
    It worked great until I tried to get it into an existing text frame. Since I want all the info in one text frame, placexml was out of the question, and markup worked but overwrote XML tags -- such as assigning the entire text frame to <movie/title> when I wanted it assigned to <dvds> with <movie/title> tags nested within it.
    If you can help me with anything, this is really where I need pointed in the right direction most. But if you're feeling generous or bored...
    Then for points #2 and #3, I want to take what's left ("filtered" XML data) and add additional text and formatting wherever certain tags are found.
    For example, applying the paragraph style "MovieTitles" for any text within <title></title> XML tags; or adding the phrase "Special Features" (with paragraph style "Headers") above any text marked with <features> tags, while the content within those <features> tags applies the paragraph style "NormalText."
    I've got some of this worked out in pieces already, but it generally falls apart because I can't get the tag structure correct in the text frame. I can provide more info as requested. Any help would be mighty appreciated!
    UPDATE: Surprisingly, I've actually had some good success this evening on solving most of these problems. I'll post my results once I've finished up just in case anyone else can be helped by what I've learned.
    One question remains for the moment: I've inserted text within an XML element, but outside of XML tags (e.g., </title>EDITION:<edition>) using "insertTextAsContent":
    [xmlElementHere].insertTextAsContent("EDITION:", XMLElementPosition.beforeElement); 
    Does anyone know a good way to apply a paragraph style to that text without using a find & replace function later (after placing the XML into a text frame)?

    As posted into the other thread:
    Yes, each record will be in its own frame.
    You can use one of a couple solutions to stitch (link) each frame to the other, delete all but the first page and the first merged record, then resize that first merge frame and reflow the entire document.
    https://forums.adobe.com/thread/1341730?start=0&tstart=0
    Please review this thread. There is a couple posts with a script and you would want the last version of that script. You would have to follow the directions, as well as add a column at the beginning of your data and fill it with consecutive numbers.
    Alternatively, there is a free plug-in by Rohiko for stitching merge data frames together, then follow the process above to reflow the document.
    https://www.rorohiko.com/wordpress/indesign-downloads/textstitch/
    Mike

  • Set frame delay time for animated gif using ImageIO

    I'm trying to change the delay time of each frame for an animated gif by changing the metadata for each frame as following but it doesn't change anything.
    static private IIOMetadata setMetadata(IIOMetadata metadata, int delayMS) throws IOException
              Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
              for (Node c = root.getFirstChild(); c != null; c = c.getNextSibling())
                   String name = c.getNodeName();
                   if (c instanceof IIOMetadataNode)
                        IIOMetadataNode metaNode = (IIOMetadataNode) c;
                        if ("GraphicControlExtension".equals(name))
                             metaNode.setAttribute("delayTime", Integer.toString(delayMS));
         }Does anyone know how to set delay time for animated gif using ImageIO ?

    I'm trying to change the delay time of each frame for an animated gif by changing the metadata for each frame as following but it doesn't change anything.
    static private IIOMetadata setMetadata(IIOMetadata metadata, int delayMS) throws IOException
              Node root = metadata.getAsTree("javax_imageio_gif_image_1.0");
              for (Node c = root.getFirstChild(); c != null; c = c.getNextSibling())
                   String name = c.getNodeName();
                   if (c instanceof IIOMetadataNode)
                        IIOMetadataNode metaNode = (IIOMetadataNode) c;
                        if ("GraphicControlExtension".equals(name))
                             metaNode.setAttribute("delayTime", Integer.toString(delayMS));
         }Does anyone know how to set delay time for animated gif using ImageIO ?

  • Sample script to insert  into mtl_transactions_interface for sales order

    Hi,
    can any one provide me the script to insert into mtl_transactions_interface for sales order transactions. actually i have to create the transactions for all the assemblies/components of C* item (configured item). as per the standard functionality it will create only for the C* item.
    Thanks in advance..
    Regards,
    Sreenath

    If I understood your question correctly, your requirement is as follows.
    You have a sales order for a configured item - say C*123.
    The components of C*123 are A and B.
    A and B as well as C*123 appear on the sales order.
    When you ship the sales order, Oracle will create sales order issue transaction for C*123.
    You would like to use the transactions interface to create sales order issue transactions for A & B.
    That is wrong thing to do.
    You should not create a sales order issue for A & B.
    You need to BUILD C*123 by creating a work order. You need to perform WIP component issue transaction for A & B.
    Hope this helps,
    Sandeep Gandhi

  • Maven scripts for deploying WAR into Weblogic

    Hello Folks,
    I would need some help in deploying EAR/WAR into weblogic server.
    I already have maven scripts for building but not for deploying. your help is appreciated.
    Thanks.

    Hi Ank2cool,
    Please see my findings, I have tested the Same "build.xml" again...My AdminServer
    UserName is weblogic
    and
    password is weblogic
    <project name="webservices-hello_world" default="deploy">
    <property name="wls.username" value="weblogic" />
    <property name="wls.password" value="weblogic" />
    <property name="wls.hostname" value="localhost" />
    <property name="wls.port" value="7001" />
    <property name="wls.server.name" value="AdminServer" />
    <target name="deploy">
    <wldeploy action="deploy" name="PlanDemoEAR" source="PlanDemoEAR" user="${wls.username}"
    password="${wls.password}1" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />
    </target>
    </project>
    Now when i run the AANT task ant deploy
    OUTPUT:
    Buildfile: build.xml
    deploy:
    [wldeploy] weblogic.Deployer -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\PlanDemoEAR -targets Admin
    Server -adminurl t3://localhost:7001 -user weblogic -password ******** -deploy
    [wldeploy] weblogic.Deployer invoked with options: -verbose -noexit -name PlanDemoEAR -source C:\JavaTest\PlanDemo\Pla
    nDemoEAR -targets AdminServer -adminurl t3://localhost:7001 -user weblogic -deploy
    [wldeploy] <Dec 21, 2009 2:08:33 PM IST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operation for app
    lication, PlanDemoEAR [archive: C:\JavaTest\PlanDemo\PlanDemoEAR], to AdminServer .>
    [wldeploy] Task 1 initiated: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Task 1 completed: [Deployer:149026]deploy application PlanDemoEAR on AdminServer.
    [wldeploy] Target state: deploy completed on Server AdminServer
    [wldeploy]
    [wldeploy] Target Assignments:
    [wldeploy] + PlanDemoEAR AdminServer
    BUILD SUCCESSFUL
    ========================TO REPRODUCE YOUR ISSUE I JUST CHANGED THE Password from weblogic to "*weblogic1*" or *"weblogic "* (i added a Single Space at the end of password) in the ANT script....But Server's Actual Password is still "weblogic"=======
    OUTPUT:
    [wldeploy] Caused by: java.lang.SecurityException: User: weblogic, failed to be authenticated.
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl.authenticate(RMIBootServiceImpl.java:116)
    [wldeploy] at weblogic.common.internal.RMIBootServiceImpl_WLSkel.invoke(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
    [wldeploy] at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    [wldeploy] at weblogic.security.service.SecurityManager.runAs(Unknown Source)
    [wldeploy] at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
    [wldeploy] at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
    [wldeploy] at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    [wldeploy] at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    BUILD FAILED
    C:\JavaTest\PlanDemo\build.xml:12: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerExcep
    tion: Unable to connect to 't3://localhost:7001': User: weblogic, failed to be authenticated.. Ensure the url represents
    a running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
    Total time: 0 seconds
    Above is exactly the same error what u are getting...
    So please recheck the password provideed in the "build.xml" is correct..or any space added before or after the Password.....
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Aspect ratio for animation integrated into dv anamorphic

    Hi,
    I'm working on a sequence with 23.98fps footage that was shot in miniDV with a Panasonic DVX100b, anamorphic. I'm incorporating some animation sequences into this cut and am a little unsure of what aspect ratio/resolution to advise the animator to work in (animation will be done in after effects). Final output will be for film festival screenings and possible broadcast on TV.
    My sequence/clip settings are 23.98fps, 16x9, 720x480.
    1. Is it advisable to have the animation done in a higher resolution (like HD) in case I want to upres at the end of the project (this is a film) or will that just complicate integrating the animation into the sequence of minidv footage?
    2. If I just wanted the animation to match the footage in my sequence at its current resolution and aspect ratio, what are the optimal specs?
    Sorry if this seems like a basic question, any and all suggestions would be greatly appreciated.

    It's actually not really a basic question at all. Just the fact that you know there are different settings for raster size and pixel aspect ratio puts you ahead of the curve around here.
    The good news is that virtually anything your animator gives you can be cut into your timeline. Final Cut is remarkably adept at taking footage in other formats and making it work.
    But to make the job as easy as possible, tell your animator to use the "NTSC DV anamorphic" composition preset in After Effects. I don't remember exactly how the preset name is worded; my After Effects is in my suite, and I'm at home. But it's something like that. It's 720x480, anamorphic pixels, and can be set to 23.976.
    Your animator should be warned, if he doesn't already know, that After Effects does a shockingly bad job of compensating for non-square pixels on screen. If he toggles that "correct for aspect ratio" button, he'll see lots of jaggies that simply won't exist when you view the footage in Final Cut, or when you watch it on TV at the end of the day. He can get around this by using a broadcast monitor and After Effects' "video preview" feature, if he's so equipped.
    Whether you'll get more aesthetically pleasing results by having him work at a higher resolution and then downsampling to DV is tough to say, because it depends on what kind of work he's producing for you. Maybe you should have him do a short shot for you in DV, then cut it in with your other footage and see how it looks. If you're happy with it, great, problem solved. If not, you can try other options. But you might be introducing complexity for no reason.

  • Merging all DB scripts into a single script for deployment

    Hi,
    I'm using an Oracle Database Project in Visual Studio to store single scripts for each database object, which I like a lot. What I don't know is how to merge all those scripts into a single script now that I'm ready for deployment. I would prefer to give the DBA guy a single script with all the objects and not one script per DB object.
    Is there any way to achieve this?
    Julio

    Hi,
    I'm playing with this stuff these days and Yes, there is a possibility:
    Under Visual Studio:
    Open your Database Edition Project
    Goto "Server Explorer"
    You should have previously created a connection to your Target DB.
    Open that connection. you have a collection of folders.
    Select/Open the Schema Folder, then the Tables Folder.
    Select the Tables you want to Script, right-click and select "Generate Create Script to Project".
    Enter a Scriptname and click OK
    That's all.
    Going back to your Project, you shuld find a Script into your "Script" Folder.
    The problem is that you cannot create separate Scripts when selecting multiple tables, as I stated in my Post "ODT lacks some functionnalities"
    Hope it helps
    Rgds
    P.Cury

Maybe you are looking for

  • Joining Two Tables with a DISTINCT column value

    I have two tables I need to join, but the 'left' table I only need DISTINCT for a column. create table t1   bid  number(8),   b_number number(8),   dset varchar2(20),   misc varchar2(20) create table t2   cid  number(8),   track number(8) select bid,

  • I purchased a video for my Video iPod but it will not download....

    About two weeks ago I purchased Lost Season 2 Episode 1 for my 60 GB iPod Video and ever since then I have been trying to get it to download and it will not work. It tells me: "There was an error downloading your purchased music. The disc could not b

  • Issue with SQL for the XMLTABLE

    Hi , Here is what I want to Achieve : This is my XSD : <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns="http://my-company.com/namespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://my-company.com/namespace" elementForm

  • Limiting the value help for a user input variable as required

    Hello Gurus, I have a requirement :- Restrict the value help for a user input variable in a query to only a required set of values instead of the default behaviour. ie instead of having all the values in the master data of that characteristics in the

  • HT1491 Can't download music

    When trying to download music it has started saying "account not available at this time" This is on my ph which just won't download or the laptop when it displays the message. Any help? I have downloaded HEAPS of music for years and have current CC e