Replacing An Object In Flash

I purchased some Flash game templates from a company. I am
not experienced in Flash and need to replace an object that came
with the template with my own. The object is a space ship that
shoots missles. Is there a way to paste in the new graphic into the
existing graphic and have it function like the original graphic?
Any help would be greately appreciated

NEWSALERT wrote:
> I purchased some Flash game templates from a company. I
am not experienced in
> Flash and need to replace an object that came with the
template with my own.
> The object is a space ship that shoots missles. Is there
a way to paste in the
> new graphic into the existing graphic and have it
function like the original
> graphic? Any help would be greately appreciated
I would suggest with the help files and reading on the
fundamentals of flash
like movie clip, instances, buttons, timeline etc...
Flash isn't simple to run application and even tho you get
ready made template
you still need some beginner skills to be able to navigate
around and adjust
the content.
Look for the instance in library, it could be movie clip or
button or a graphics.
If you find it, get into edit mode and there you will be able
to replace it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

Similar Messages

  • Can I replace an Object in Flash MX?

    I am using Flash MX 2004.
    1) How would I "replace" an animated object. For e.g. I
    imported a .jpg into Flash, then I made it into a symbol graphic
    and animated it. Now the artwork has changed and I need to replace
    it. Do I have to animate the new image all over again in Flash or
    can I somehow just replace the image and keep the animation? I hope
    this makes sense.
    2) Can I export a white font from Illustrator as a .gif file
    and then use it in Flash on a black background? I understand you
    can use the type in Flash, but I have a hand drawn font I created
    in Illustrator. How can I use this as a white font on a black
    background in Flash?
    Thanks

    Noel, I am doing something wrong. Here's what I did.
    1) I exported my type from Illustrator as a .png.
    2) I then imported the .png into the Flash Library.
    3) I then selected the keyframe in the Flash movie and then
    selected the .jpg on flash stage. I then see in the "Properties"
    inspector that the "SWAP" option is availavble.
    4) I then look in the SWAP list of images and the .png I
    imported to the Library is not in the list but the .png is in the
    Library.
    What am I doing wrong? Can I not swap a .jpg for a .png file?
    Thanks

  • Replace smart object script

    Disclaimer: I do not know how to script, but am willing to learn and am looking for advice.
    I need to replace the text in a smart object from a data list then save the updated file using the smart object text. Is there an existing script that will do this?
    I cannot use a straight text layer because I'm performing a free distortion warp on the smart object that does not work on straight text. Using variables seems like a logical solution, but the only variable type for smart objects is "visibility".
    Plan "B" is to "replace smart object" with a series of PSD files containing the appropriate text. This works great, but I don't know how to automate it. I can easily create the series of PSD files using variables, but don't know how to automate their insertion into the template containing the distorted smart object.
    I'm looking forward to learning something new!

    I took a quick look at your script.
    I do not know where the the displacement map come in,
    The script seem the be replacing the object content of the current smart object layer.
    That layer can have had all sort of photoshop functions associated with it and has an associated transform.  All smart object layer have an associated transform and may have smart filters and filter mask as well.
    I see no code to handle the smart object size and make the replacement object have the same size or insure the replacement object is the aspect ratio and size.  Replacing  a smart object content does not change the current layer's associated the transform that transformed the original object. If the replacement object is not the same size as the original object the transform may not work like your expecting.
    An associated displacement map may come into play because of smart filters on the smart object layer. Displacement  maps content are either for the layers content or for lower layers content to make the current layer to conform to lower layers contours.
    In fact I create a four image picture package template that used a smart object for the image. Added CS2 for a file type that could be used to replace the image  in your script and ran your script.  It did pop up the ACR dialog if I select a raw file but it worked perfectly for my portrait cr2 files are the same size and aspect ratio. Ast the object.
    And a jpeg was saved to my desktop.
    When a different size landscape orianted portrait image is selected here is the result

  • Batch Replace Smart Object With Different Image Quality and Sizes

    Hi there,
    I need help. I have this template that is in 1000x1000pixel and 300 dpi. I'm trying to replace the smart object inside with various JPEG that I have. These JPEG comes in large image sizes but lower than 300dpi. The issues is, when I run the script that I have, some of the pictures become really pixelated. Beforehand, I resized them to fit into the empty place in sizes that I find fit the best (8 cm x 6 cm). Some of them work okey, but then some of them just pretty bad. I'm wondering if you can help me fix the script that I have so I didn't have to resized the images before running the script, and for all of them to automatically fit into my template without altering the quality of the image that I put in.
    below is the script that I am using and the screenshot of my template:
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theName= myDocument.name.match(/(.*)\.[^\.]+$/)[1];
    var thePath = myDocument.path;
    var theLayer = myDocument.activeLayer;
    // psd options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = true;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // check if layer is smart object;
    if (theLayer.kind != "LayerKind.SMARTOBJECT") {alert ("selected layer is not a smart object")}
    else {
    // select files;
    if ($.os.search(/windows/i) != -1) {var theFiles = File.openDialog ("please select files", "*.psd;*.jpg;*.jpeg;*.tif", true)}
    else {var theFiles = File.openDialog ("please select files", getFiles, true)};
    if (theFiles) {
    // work through the array;
    for (var m = 0; m < theFiles.length; m++) {
    // replace smart object;
    theLayer = replaceContents (theFiles[m], theLayer);
    var theNewName = theFiles[m].name.match(/(.*)\.[^\.]+$/)[1];
    //Raise color picker for Back cover;
    try {
    app.activeDocument.activeLayer = app.activeDocument.layers[app.activeDocument.layers.length - 1];
    // =======================================================
    var idsetd = charIDToTypeID( "setd" );
    var desc7 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    var ref2 = new ActionReference();
    var idcontentLayer = stringIDToTypeID( "contentLayer" );
    var idOrdn = charIDToTypeID( "Ordn" );
    var idTrgt = charIDToTypeID( "Trgt" );
    ref2.putEnumerated( idcontentLayer, idOrdn, idTrgt );
    desc7.putReference( idnull, ref2 );
    var idT = charIDToTypeID( "T " );
    var desc8 = new ActionDescriptor();
    var idClr = charIDToTypeID( "Clr " );
    var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
    desc7.putObject( idT, idsolidColorLayer, desc8 );
    executeAction( idsetd, desc7, DialogModes.ALL );
    } catch (e) {};
    //save jpg;
    myDocument.saveAs((new File(thePath+"/"+theName+"_"+theNewName+".jpg")),psdOpts,true);
    ////// get psds, tifs and jpgs from files //////
    function getFiles (theFile) {
    if (theFile.name.match(/\.(psd|tif|jpeg|jpg)$/i) != null || theFile.constructor.name == "Folder") {
    return true
    ////// replace contents //////
    function replaceContents (newFile, theSO) {
    app.activeDocument.activeLayer = theSO;
    // =======================================================
    var idplacedLayerReplaceContents = stringIDToTypeID( "placedLayerReplaceContents" );
    var desc3 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
    desc3.putPath( idnull, new File( newFile ) );
    var idPgNm = charIDToTypeID( "PgNm" );
    desc3.putInteger( idPgNm, 1 );
    executeAction( idplacedLayerReplaceContents, desc3, DialogModes.NO );
    return app.activeDocument.activeLayer

    Thank you for your answer.
    I was resizing it before from bigger image size to a smaller one (121 cm to 8 cm) which fit my template size. But the dpi remains in 72 which makes the picture pixelized.
    I am wondering if I can find a script that will keep the size of the first image that I put on the template for other images that I place, regardless the size they are imported to. Basically, how to make them all fit into the template regardless the size.
    Thank you for the info about the scripting forum. I will write there too.
    Sorry, I'm so new to this

  • Replacing Business Objects - Modelling Issue

    I'm working on a large 'BI' project that is replacing Business Objects with OBIEE ( actually its not really a BI project its more of a give us what we've got now using OBIEE project ) - which is proving challenging in some areas.
    One example is with the Data Model that BO provides in its Universe, the model I'm replacing is pretty much 3NF (even though it uses DIM and FACT in the table names) they're joined pretty much all over the place, which enables the users to select from tables which can be 4,5,6 steps away from the original - including via M:M relationships!
    Anyway one specific issue is based around the old question of multiple fact tables where not all dimensions are conformed.
    Dim - Business Manager ---< Fact - Forecast >----- Dim - Product -----< Fact - Actuals >------ Dim Salesman
    I've setup the Dimensions for each Dimension Logical Table.
    I've created a single logical table containing a Forecast and Actual Amount from the 2 fact tables and set the logical levels appropriately at Table Level. For the Forecast measure I have a logical level set to 'Total - Salesman' and for the Actuals measure I have logical level set to 'Total - Business Manager'.
    This works great when I select an Attribute from Business Manager, and Salesman and both of the measures in the Answer.
    However the users want to be able to select from Business Manager, and Salesman dimensions without selecting the measures, is this possible - do I need to add a bridging table to resolve the relationships between a Business Manager and Salesman explicitly rather than implicitly via the facts?
    I have set Implict Fact at the Presentation Model, however this doesn't work (it misses off Total Level aggregation in the OBI Server SQL).
    Thanks in advance for any suggestions/answers.

    Thanks for the helpful reply Turribeach, along with the interesting and informative link.
    This is my first foray into the world of BO and I think some of the points you make in the link are right on the money. I've spent many years working with Oracle Tools (Dataquery,Data Browser, Discoverer and then OBIEE when Oracle acquired the tool ). There are difficulties in the modeling with OBIEE, certainly when it comes to trying to replicate a 'fairly' complex BO universe they become apparent.
    Many hoops to jump through to give the user a like for like, which I'm not convinced will be possible - maybe some negotiation is required :-)

  • Is it possible to use 3D objects in Flash CS4 for animation?

    Hi,
    Is it possible to use 3D objects created in 3D Max, Blendor, iClone etc. to perform animation to make Flash Movie more realistic? Can I make nice animations like in iClone 4 Software?
    If it is possible to use 3D Objects in Flash, please provide a sample Tutorial Link if you have any.
    Thanks in advance.

    Here are some links to 3d tutorils which u might find useful
    http://www.adobe.com/devnet/flash/3d_animation.html
    http://www.adobe.com/designcenter/flash/articles/lrvid4059_fl.html
    http://www.flashandmath.com/flashcs4/
    http://www.kirupa.com/developer/flashcs4/intro_3d_flashcs4_pg1.htm

  • I had to reinstall Flash MX 2004 Professional  when my at work computer, a Dell PC, was replaced but it installed Flash MX 2004 instead. I Don't WANT Flash MX 2004 I want Flash MX 2004 Professional.What do I do?

    I had to reinstall Flash MX 2004 Professional  when my at work computer, a Dell PC, was replaced but it installed Flash MX 2004 instead. I Don't WANT Flash MX 2004 I want Flash MX 2004 Professional.What do I do?

    this is all that's available for mx, Error: Unable to Activate | Macromedia products
    and possibly here, ftp://ftp.adobe.com/pub/adobe/

  • Shared Object Location Flash Player 11

    Where is the location of Shared Objects for Flash Player 11 in Vista?

    Thanks for your reply.
    I can find those directories as you have suggested but with directory  roaming
    AppData\Roaming\Adobe.....
    AppData\Roaming\Macromedia\Flash Player\#SharedObjects...
    In Flash Player 10, it is stored in :
    AppData\Roaming\Macromedia\Flash Player\#SharedObjects...
    But when I installed Flash Player 11 and went to the site I want data  to be stored, it wasn't there (I expected the data to be stored in this directory as it did using Flash player 10) . I am just wondering if Flash Player 10 and 11 use the same folder.
    I need to know because I want to make a backup of the data , so that I can manually put them back when installing new flashplayer.
    Flash Player 11 erases  old data upon installation.

  • How to global replace multiple objects using csm

    Hi All
    I’m new to this forum.
    We use csm 4.6 to manage about 400 cisco firewalls. After a large migration project there are a lot of objects with different names but with the same content. I know you can do a find and replace on a single object on a single firewall policy.
    But is it also possible to replace multiple object for 1 on multiple firewall policy
    Example.
    We have 40 groups named net-1, net-2 , net-3, …. net-40 the content of the groups are the same but their used in different firewall policies. I would like to replace them all in one go on all the firewall which has one of those groups to the new group net-all.
    I’m also looking in a way to delete all non used object in the csm database (hosts, groups, network, services) Is this possible?
    Kind Regards
    Eduard

    Jacob,
    I decided to take one more stab at the logo before uploading it, and I finally figured it out.
    I selected one white shape and one colored shape. In the pathfinder panel, I clicked on the second pathfinder icon -- TRIM. That "cut out" the part of the colored shape that I needed cut out, and it grouped the two items (white and colored shapes).
    I ungrouped the items, then selected the white shape again and the other colored shape. Did this for each shape I needed cut out and now Bob's my uncle.
    Not sure why this didn't work for me before -- I was either selecting the wrong pathfinder icon, or failing to ungroup the shapes after trimming them (before re-selecting the same white shape).
    I've written down the procedure so I can remember how to do it next time!
    Thanks,
    Marlene

  • Creating 3ds max 3D objects for Flash?

    Hi team,
    Is there a way to utilise 3D objects in Flash for users to manipulate?  I can see how I can export an image sequence and fake it but is there any way that Flash can acutally use the 3D object?
    i would really like to make a 3D interactive object for a Google sites website, is there any way that you can point me towards to do this?
    Just a basic revolve/rotate would be a good start.
    Cheers
    sub

    Yes. Very easy actually, except for texturing. Stage3D lets you do realtime 3D on mobile devices, the web, desktop, etc.
    I use a framework called Flare3D mostly. It comes with a 3dsmax 3d plugin. It installs custom materials in 3dsmax (2010 and above) and you need to texture your object using them (I find) as the built in standard material converter doesn't work too well. It also adds a menu item to 3dsmax that lets you export your object in a format called f3d.
    http://flare3d.com/
    Grab the YellowPlanet tutorial (Flash Builder) to see how easy it is to use. After you set up a basic scene, the default nature is just to show the 3d object and allow you to rotate/zoom around the object without you coding it at all.

  • How to replace all objects while using IMPDP

    I have exported a schema using EXPDP, now I am trying to import (IMPDP) that into another database as different schema, which already contains some of the objects (like tables, procedures, sequence etc). I using the option of REPLACE for TABLE_EXISTS_ACTION, but that doesn't replace if any existing procedures, sequences etc. Please let me know what option I should to replace every objects.
    And also I am getting this error
    ORA-39083: Object type JOB failed to create with error:
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    Failing sql is:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 6, LUSER=> 'WILLIAMS_DESIGN', PUSER=> 'WILLIAMS_DESIGN', CUSER=> 'WILLIAMS_DESIGN', NEXT_DATE=> TO_DATE('2010-05-17 14:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'trunc(sysdate+1/24,''HH'')', BROKEN=> FALSE, WHAT=> 'ol_update_query_result_stats();', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENC
    Job "WILLIAMS_CLEAN"."SYS_IMPORT_FULL_01" completed with 10678 error(s) a
    Thanks

    Hi,
    There is no way to do what you want using datapump. Datapump does not have an 'OBJECT_EXISTS_ACTION = REPLACE'. All it has is the TABLE_EXISTS_ACTION. Can you get around this by dropping the schema? If not, then the only way I can think of is by using the sqlfile parameter on impdp.
    sqlfile allows you to write all of the ddl that is going to be executed during a datapump job to a .sql file. You can then edit that file and either attempt a drop before the create or change the 'create' to 'create or replace'. Then run the .sql file.
    You would then have to run the datapump import job with content=data_only to load the tables with their data.
    Dean

  • HP Laserjet 1200 replaced toner & yellow light flashes

    Hi! I have a HP Laserjet 1200 which printed with smudges and ghost text a few lines down. In an attempt to correct this, I installed a new toner cartridge. I had difficulty opening the toner door completely; it stuck about half-way opened. I opened the left and right panels to see if I could loosen the old cartridge, and something snapped (probably a plastic clip) when I forced the right panel open. Opening  the panels didn't help, and I closed them. Eventually, after applying some pressure, I opened the toner door all of the way and replaced the toner. Now the printer doesn't work. The yellow light just flashes. Replacing the old toner cartridge doesn't help. I still have the same blinking yellow light problem. Does anyone have any ideas on this?

    I unplugged the electrical plug before (no off switch) but I guess for not long enough. Did it again and left it unplugged for awhile when I went to the store. Just plugged in and the memory has let go like you said. All's well now. Thanks.

  • GREPFind/Replace Anchored Objects

    I'm trying to use Find/Replace to automatically remove all the EMPTY anchored objects from my document.
    First, I use Data Merge to Create Merged Document, then run a series of Find/Replace actions to clean up hidden paragraph markers and the like. But there are some Anchored Objects that do not contain links which I need to have removed.
    I've created a script for the series of actions, but everything I try for the anchored objects simply removes all of them.

    All layers are on
    @Annie – this is not relevant, because anchored objects ("inline" or "custom" makes no difference) are tied to the layer of their parent text frame.
    1. The objects could be "hidden".
    There is a contriol for that to bring back all hidden objects on a spread:
    alt + cmd + 3 (for InDesign on Mac OSX)
    2. The objects could be set to "No Printing" and you look at your document with the "View / Overprint Preview" checked. You can control the "No Printing" in the Attributes Panel.
    3. A combination of 1. and 2.
    4. The objects are removed…
    Could happen with a TEXT or GREP search/replace action that happens to include all anchor characters in your text.
    5. …
    Uwe

  • Generate dynamic objects in Flash

    I'd like to use a conditional loop to generate objects dinamically and i'd like to know if it is possible to do this in Flash.
    I try to explain better what i want to do; i have to let users to choose a number of balls to display on the stage, something like this:
    var balls; //it contains the numbers picked by the user
    if ( balls == 0) display nothing on the stage;
    if ( balls != 0){
    for (n < balls){
    plot a ball on the stage
    How it is possible to generate objects by looking on user decisions?
    At the moment, i just know how to add a given number of objects on the stage and how to arrange them, but i do not know how to generate them depending on the user choices.
    Can you help me?
    I tryed to search on google, but i found nothing: what kind of tutorial should i read to accomplish this task?
    Thanks to all.

    The first thing you should do is get the code off of the button and into the timeline.  Placing code on objects is not a healthy practice. Also, you do not want to place the object is the same depth... they cannot co-exist there.  Give the button an instance name (maybe "btn"), and in the timeline use the code...
    btn.onRelease = function(){  
         for(i=1; i<=3; i++){ 
            main.attachMovie("att1", "newname"+i, main.getNextHighestDepth(), {_x:100, _y:100});
            main.attachMovie("tavolo", "prova"+i, main.getNextHighestDepth());

  • Having problem displaying remote shared objects on flash

    hi
    I am using red5 flash server and at that side creating a shared object called chatSharedObject
    For the client side,I am using openlaszlo platform, but using actionscript 3  classes for the shared object implementation. cilent application is connecting to the shared object on the red5 side successfully(as I see on the red5 logs).
    here is the calling code snippet:
    [CODE]
    <button id="sendButton">send
          <handler name="onclick" method="sendClicked" />
          <method name="sendClicked" args="v=0">
            if (message.text != "") {
        //Debug.write("Message sent!");
        classroot.writeSharedObject(message.text); 
        message.clearText();
        message.setAttribute("text_y", 0);
        </method>
    </button>
    <method name="writeSharedObject" args="message">
    [B]//shared object send method is being called[/B]
        this.send("writeMessage",loginScreen.getUsername(),message);
    </method>
    <!--this method writes the messages to the debug window which will be shown to all users-->
    <method name="writeMessage" args="username, msg">
        //Debug.debug(msg);
        messageArea.addText(username+ " : "+msg+"\n");
    </method>[/CODE]
    When I generate the flash object and try to use this application, nothing is being displayed although there is no problem on this issue on the development enviroment. Problem causes when I try to run the swf10 flash object.
    Is this maybe a flash security issue? Although I have added the corresponding locations as the trusted location on the flash settings manager. Still problem goes on. And I think this is not about the flash player, it might be a special problem about the flash object.
    Couldn't find the solution for a week,
    Any help would be appreciated.
    Thanks in advance 
    Cem

    i can even gointo firefox and chrome and save the shared object. then open my i.e and see that object in the results page. but if i save the shared object in i.e it throws that error on the results page. So i'm pretty sure it must be the flushing of the object. Pasting my save code below:
    function makeResult(evt:MouseEvent):void{
          var flushstatus:String = new String();
          gSo.data.o = o;
          gSo.data.c = c;
          gSo.data.t = t;
          gSo.data.c = v;
          gSo.data.u=uid;
          flushstatus = gSo.flush();
          if (flushstatus != null) {
            switch (flushstatus) {
              case SharedObjectFlushStatus.PENDING: //this is incase the user doesnt have enough space
                gSo.addEventListener(NetStatusEvent.NET_STATUS, onFlushStatus);
                break;
              case SharedObjectFlushStatus.FLUSHED:
                redirect();
                break;
    function onFlushStatus(event:NetStatusEvent):void {
      switch (event.info.code) {
        case "SharedObject.Flush.Success":
          gSo.removeEventListener(NetStatusEvent.NET_STATUS, onFlushStatus);
          redirect();
          break;
        case "SharedObject.Flush.Failed":
          trace ("Shared object storage failed");
          break;
    function redirect() {
      try{
        var request:URLRequest = new URLRequest('../node/2');// i supply a base parameter to the swf so the redirect works
        navigateToURL(request,"_self");
      catch(error:Error){
        trace ("Redirect failed");

Maybe you are looking for

  • Multiple Libraries using iMovie/iDVD

    When you create multiple libraries in iTunes, How does it work when selecting music when working in iMovie, iDVD? Does the Music interface show the two libraries in these programs?

  • HTTP 503 after enabling OWSM policy on an ADF BC Service

    I deployed an ADF BC Service to soa_server1 and tested (no problem). But when I added an OWSM policy, I could no longer access the service, nor its WSDL contract. Here's the steps: 1. Deploy and test your ADF BC Service with no policy 2. In EM, go to

  • Can I have more than 9 favorite pages displayed in FF13's "new tab" feature?

    I love the tiled window displaying my favorite pages when i open up a new tab in firefox 13 update. Is there a way that i can have more than the 9 displayed at a time? Maybe have 12 or 15?

  • Importing Photos - Unwanted Color Shift

    I'm a fairly competent self taught user of CS6. when I run into a problem I canusually source it in a text, or on Lynda.com. Something has started happening recently which I can't explain or remedy. When I import a photo, it color shifts. The red com

  • Update KB3033929 fails with error code 80004005

    Security Update for Windows 7 for x64-based Systems (KB3033929) Installation date: ‎3/‎11/‎2015 8:57 AM Installation status: Failed Error details: Code 80004005 Update type: Important A security update. . . I can't find any info on this error.  Tried