Help: Table of contradictory Tween with clip background (.gif)

First of all, I'm new (within 2 months) to the programming of OOC. I am developing a flash game pretty basic class objective style space shooter in AS3, which started as a hobby and progresses quickly in a piece for my portfolio. It initially contained only 1 layer with 6 keyframes for each step in the swf (loading screen, main menu, game controls, etc.), but my friend encouraged me to add a background layer to make it more presentable.

That's when I fell on my current number. I finished these steps, adding my background:

New background layer

Drag below game layer in the timeline panel

Insert the new symbol, to movieclip

Import in the library

Bitmap .gif slide layer

Symbol of drag on the background layer

The background layer appears behind all my objects, buttons and symbols on each key frame, but when I test my swf, the background is black (solid I put for my game layer).

I tweeked the script in the first frame of my layer game by "Noting" on the tweenIn(); and stop(); orders and surprisingly the .gif background appears, but it is not animate through the following frames of the .gif. If I unnote stop(); I get the same results. However, if I only unnote tweenIn(); then again the question and the background layer is invisible. I don't get errors or warnings in compiler or output errors.

These results of my troubleshooting led me to believe that my tweenIn function is not written correctly or does not play very well with other layers on the chassis. Here's my current script. I took the liberty, noting each line, so there is no confusion in the understanding of my logic.

                 private function tweenIn() {
                           // make tweens a new array
                           tweens = new Array();
                           // loop through all on screen content
                           for (var i=0; i<numChildren; i++) {
                                     // make a reference to the current object
                                     var ob = getChildAt(i);
                                     // make a tween for the current object
                                     var tw:Tween = new Tween(ob,                     // the object to tween
                                                                                  "x",                                  // the property to tween
                                                                                  Regular.easeInOut,                    // the easing function to use
                                                                                  ob.x - stage.stageWidth*2,            // starting value
                                                                                  ob.x,                                 // end value
                                                                                  15+(i*30))                            // the time to take
                                     // add the tween to the list of tweens
                                     tweens.push(tw);
                           }
                 }

My friend told me it might be the table, but I couldn't find another way to use my Tween without using a table.

I would really appreciate anyone could offer their expertice, advice or words of encouragement.

Thank you kindly,

Alex

This isn't the implication of your first message.  That is to say, if you put in comment

/*

  var tw:Tween = new Tween(ob,                     // the object to tween
                                                                                  "x",                                  // the property to tween
                                                                                  Regular.easeInOut,                    // the easing function to use
                                                                                  ob.x - stage.stageWidth*2,            // starting value
                                                                                  ob.x,                                 // end value
                                                                                  15+(i*30))                            // the time to take
                                     // add the tween to the list of tweens
                                     tweens.push(tw);

*/

and your background, this interpolation IS the question.

Tags: Adobe Animate

Similar Questions

  • Create a clipping with a background color mask?

    I recently made the switch using CorelDRAW for my vector art to mainly using Adobe Illustrator. I know of course that there will be some features that are exclusive to Illustrator and CorelDRAW exclusivity, but I've done the research on trying to find the "equivalents" in Illustrator for some tasks I could do in CorelDRAW.

    I know that the tool in Illustrator clipping mask is very similar to cutting power in CorelDRAW. What I'm trying to determine is if it's possible in Illustrator to create a clipping with a background color mask. In CorelDRAW, I could create a shape with a color fill Uni, and then insert an image with a background transparent, as shown below.

    Capture 1.JPGCapture 2.JPG

    Now, in Illustrator, when I create a shape with a color, then he and a pattern that is transparent to create a clipping mask, the color disappears:

    Capture 3.JPGCapture 4.JPG

    Is there a simple way to create a clipping with a solid background color mask? The only work around, I've found so far is a form of solid color, the same size as what I want to be the size of cutting with my transparent motive, then staple in another form of the group. As I said though, just curious to know if there is a simpler way to do this, or if this is the method I'm stuck with.

    Thanks for any help!

    A clipping mask can have its own fill.

    There are two methods:

    -After creating the clipping mask, select the path of masking with direct selection and apply a fill

    -Use the option 'Draw inside' to create the mask. Next draw is at the bottom of the tools Panel. With draw inside the maks object will not lose its filling.

    Illustrator help | Using drawing modes

  • In Photoshop CS6 Hue Saturation does not work with forground/background jitter set to 100%, that no color change is found. Help

    In Photoshop CS6 Hue Saturation does not work with forground/background jitter set to 100%, that no color change is found. I've added a screen Shot the brush settings and a demonstration of what produced the brush.

    I also noticed that when I make a model of a single color, when I fill a selection with the pattern, I get a rainbow of different colors.

    I use a 64-bit version of Photoshop CS6 masters Collection

    I'm on a PC equipped with an Intel Core i7 1366 4 physical cores and 8 wires, 24 GB of DDR memory, A Crucial 512 GB SSD and a NVIDIA GTX 570 with 2 GB of memory.

    The size of the document is 2100 x 1500 pixels in only two layers of 300 PPIBrush Settings.png

    For the issuance of the brush, see apply a Tip in the dynamics of color and see if that makes a difference.

    more information

    Dynamic color in Photoshop CS6 "Julieanne Kost's Blog

    https://helpx.Adobe.com/Photoshop/using/adding-dynamic-elements-brushes.html

    With regard to the model, if your use Edit > model fill, make sure you have not verified Scripted Patterns

    (this parameter is also the Paint Bucket tool in photoshop cs6)

    more on scripted models

    https://tinytutorials.WordPress.com/2014/07/25/Photoshop-CS6-CC-scripted-patterns-fills/

  • Make a movie with clips of 1080 and 4 k sources

    Hi all

    If I do a movie with clips of 1080 p sources (like my iPhone 6) and 4 k sources (like my GoPro) I'll still be able to export the animation to quality 4 k? Is there something specific I need to do to keep export k 4 option in iMovie available i.e. the order I add clips in the project, etc.? Will be 1080 p "blasts upward" clips at 4 k resolution?

    Thank you for your help.

    Miles

    10.1.2 iMovie will use the size of the first element that you add to your project to determine the format of the exported movie.

    See Help: http://help.apple.com/imovie/mac/10.1/#/move6ccb3330

    The resolution and the frame rate of your movie project are determined by the first clip you add to the timeline. iMovie now supports 4 K video and image rates at 30 frames per second (fps). If you want your project to be set at 4K resolution, the first clip you add to the timeline should be a clip of 4K. If you want your project to be set to 60 fps, the first clip you add to the timeline should be a clip of 60 frames per second.

  • The existing video (with sound) creation in phase with a background music track

    You want to add a video with sound (movie maker) be in line with existing background music.  Someone singing a song in sync with an existing musical track

    Hi Michael,

    1. What is the operating system installed on your computer?

    2. using Windows Live Movie Maker?

    Please post with more information on this issue to get help.

  • Solitaire opens with a background - but "does not.

    My Solitaire Microsoft opens with a background - but she does NOT really open for a game. It is said ' does not ' after I go to the Task Manager.  I have Windows 7 on a 32-bit (do not know if this is important) on a Toshiba Satellite

    I worked like a champ until about three, four days ago.

    Thank you

    Billp545

    Hi Billp545,

    Welcome to the Microsoft Answers site!

    You are able to open the other built-in games on your computer?

    Method 1:

    You can try to turn Windows feature turned off and switch on and check if that helps.

    To enable or disable Windows features, follow these steps:

    1. Click the Start button, select Control Panel, click programsand then click Windows turn on or off features. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    2. To turn a Windows feature, select the check box next to the feature. To turn a Windows feature off, clear the check box. Click OK.

    Later, turn it on and check if the problem is resolved.

    For more details follow the link below.

    Turn on or off Windows features

    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    Method 2:

    If this does not help, then this could happen if all of the background program is causing the problem persists try booting the computer to start clean and control which program is causing the problem.

    To help resolve the error and other messages, you can start Windows Vista by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    The steps to perform a clean boot are given below:

    1 log on to the computer using an account with administrator rights

    2. click on start, type msconfig.exe in the start search box and press ENTER to start the System Configuration utility.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue

    3. on the general tab, click Selective startup, and then clear the check box load startup items. (The check box use the file Boot is not available.)

    4. on the Services tab, click to select the skin all the Microsoft services check box, and then click Disable all

    Note: Following this step lets services Microsoft continue to run. These services include networking, Plug-and-Play, record of events, error reporting, and other services. If you disable these services, you can permanently delete all restore points. Do not do this if you want to use with existing restore points system restore utility

    Once you start office check if the problem persists, follow the steps in the article and find out which program is causing the problem.

    For more information about the clean boot, follow the below given link:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    1. click on start, type msconfig.exe in the start search box and press ENTER.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue.

    2. on the general tab, click the Normal startup option, and then click OK.

    3. When you are prompted to restart the computer, click on restart

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Can't get picture with transparent background to appear like this

    I am quite new to PES (using version 6) so thank you in advance for any help you can offer!

    I have a picture and made the background transparent and saved as a GIF file.  The opening, he shows up with the grid background.  Good so far.

    When I drag this photo of the tray inside project (where I still see the bottom of checkerd) in the picture, I am trying, it comes with a solid gray background once fallen into this image.  So essentially, the background is more transparent.

    How can I add this picture with transparent background to the image, I'm working on without a background / frame appear?  I have combed internet and cannot find an answer and searching this forum, still coming up empty.  I think the problem has to do with dragging it from the location of the project.  If not, how can I get in the picture, that I'm getting?

    Thank you!

    Kevin

    In PES 6, dragging it to the top of the location of project creates a sort of layer of passthrough. Copy and paste, or drag it to the bottom of the image window the gif in the other file in the location of the project instead.

  • I cannot select table jump extensions associated with lost data files?

    Hi ~.
    I need your help to recover my database.

    I use oracle 9.2.0.8 to Fedora 3 with mode-archive.
    and I have no backup.

    Last night, I have experienced hard drive failure.
    I tried the recovery at the level of the BONE, but I lost some data from the tablespace files.

    in any case, I wanted to recover my database without the data of lost data files.

    then, I published 'drop alter database datafile offline' and
    Start the oracle instance.

    But, data files were not eliminated from dba_data_files view and
    extensions associated with lost data files were not removed from dba_extents view!

    Query a selection table containing extensions associated with lost data files.
    I have "ORA-00376: file xxx cannot be interpreted at this time" message.

    So, my question is that...
    HOW CAN I SELECT TABLE WITHOUT EXTENSIONS RELATED TO THE LOSS OF DATA SCANNING FILES?

    Thank you.

    Hello
    Without being in archivelog and without backup, can't make any sort of recovery. This is why the backups and archivelog are so important.

    The offline data file command never actually drops the data file. It simply tells the control file now the tablespace of the said is also abandoned. It refreshes not any notice that the files are not supposed to be used or shown more than you.

    What documentation is the recovery of the database in the mode NoARch.
    http://download.Oracle.com/docs/CD/B19306_01/backup.102/b14191/osrecov.htm#i1007937

    Do you need a backup in order to recover the tables being played. Oracle is not have all the features that can currently out / skip missing extensions for you and you can read the data without them.

    HTH
    Aman...

  • Help please my iPad crashing with lines to the bottom of the screen can only help me

    Please help my iPad keeps crashing with lines running down the screen.

    Restore factory settings: use iTunes to restore your device iOS to factory settings

    If it does not help there is material damage

  • I have a question why U removed the session of keyboard spelling checker is a very useful sit Apple give it in products. It helps a lot in communicting with others from different countries, even in our studies and the communication

    I have a question why U removed the session of keyboard spelling checker is a very useful sit Apple give it in products. It helps a lot in communicting with others from different countries, even in our studies and communication with our teachers.plz it back... .hope you will do

    Nothing has been deleted. Perhaps if you explain better what it is you are looking for, a person might be able to help. You mean maybe predictive text? All these settings are in settings > general > keyboard.

  • Help, please! Memory increases with Scripture PDM

    Hello guys,.
    I use a TDMS file to store the data of 16 accelerometers sampled 10KS/dry, you can therefore imagine the size of the files are going to be huge (more than 10 GB for 2 h or more registration).
    I want to be able to save a subset of the PDM file, or even the complete file to another file PDM. I'll have no problem writing in the file when you read of accelerometers.

    When trying to read the TDMS file and write a new, I'll have a lot of memory problems, so I read pieces of 5000 samples within a certain time the strand and then writing to the file.
    I have included the code.

    the code is attached. Please help as I was stuck with this memory problem for more than a week now!

    Kind regards
    Simon

    I don't think that opening and closing of the case will make a difference.
    Have you defragged the original TDMS file?
    And I think that you can read in segments of 10 MB without problem.
    Why you put away the time anyway, your waveform will be information in real-time.

    Tone

  • Help me!!! With this error 0xc000000e on my laptop! I don't have any Installation disc!

    Help me!!! With this error 0xc000000e on my laptop! I don't have any Installation disc!

    Please answer me at the same time! I have no wifi! In my day only private!

    Since you get a boot error I would suggest trying the following troubleshooting steps from the link below:

    http://support.HP.com/us-en/document/c01443371

  • All my ICON Office descriptions are changed to white lettering with blue background. How can I change this back?

    All my ICON Office descriptions are changed to white lettering with blue background. Don't know how it happened. I would like to have black letters with NO background (background right). How can I make changes?

    Try the following:
    Right click on "My Computer"-> properties-> (Advanced tab)->
    Then click on 'Settings' in the section 'Performance '.
    Then click on "Custom" and make sure that in the window below (you may need to scroll) that there is a tick next to "shadows fall to use the desktop icon labels.

    HTH,
    JW

  • Custom with a background image button had a white area around it

    Hello

    I have a screen with a black background and I am trying to add a custom button with a background image on it. But the custom button has a white border around it.

    Is it possible to remove this white border or black?

    Thank you

    Is the custom field button only focusable, or do you see it too when she does not have focus? Try drawFocus() substitution if it is only when he has developed there.

  • problem with the background intelligent transfer service

    My computer is current only. I checked to see if a problem happens and ran the following messages:
    Potential of database of Windows Update Error 80070002 detected 0 x
    Windows Update needs to be repaired
    Problem with (BITS) Background Intelligent Transfer Service
    I'm using Windows 7 Home Basic Edition
    Service Pack 1
    64-bit operating system

    reference http://support.microsoft.com/kb/910336

Maybe you are looking for