Cant place symbols ABOVE scrolling BG

ok, so my prof provided a rough as3 code for a scrolling bg, which i got to work fine, but when i place a symbol on the stage and test the movie, my symbol is underneath my scrolling background (by underneath i mean a layer below, NOT vertically underneath) and i can only see it because there is some transparency in my scrolling backgrounds.
to me, simply placing the symbols in a layer above the layer with the scrolling bg code should be enough, but that does nothing. 
this seems simple.  my project was due yesterday.  help.  

the bg consists of three .png images converted to symbols and have action script linkage (names: Base, Medium, Big).  the BGs are tied to the timeline via action script in the very first frame of the bottom-most layer.  the symbols I would like to be on top of the BGs are each on their own layer above.
also, the scrolling bg cancels any animation i apply to my symbols.
the code i am using (some of the code refers to a function i am not using; cursor placement affecting scroll direction, etc.)
stop();
//Variable to set whether the loop is Based on cursor or simply continuous
var cursorBased = false;
//Variable to determine if the continuous loop moves to right or left
var moveToRight = true;
//Variable to keep track of speed of animation
var dx = 1;
var dx2 = 3;
var dx3 = 2;
function checkCursor() {
if (cursorBased) {
if(mouseX>400 ) {
moveBG(Base1, Base2, Base3, -dx);
moveBG(Medium1, Medium2, Medium3, -dx2)
moveBG(Big1, Big2, Big3, -dx3);
if (mouseX< 50){
moveBG(Base1, Base2, Base3, dx);
moveBG(Medium1, Medium2, Medium3, dx2)
moveBG(Big1, Big2, Big3, dx3);
else if (moveToRight) {
moveBG(Base1, Base2, Base3, dx);
moveBG(Medium1, Medium2, Medium3, dx2);
moveBG(Big1, Big2, Big3, dx3);
else {
moveBG(Base1, Base2, Base3, -dx);
moveBG(Medium1, Medium2, Medium3, -dx2);
moveBG(Big1, Big2, Big3, -dx3);
//Variables that hold instances of the movieClip city
var Big1 = new Big();
var Big2 = new Big();
var Big3 = new Big();
//keeps track of which instance is on the stage
var currentBig = Big2;
//place the instances on the stage
Big1.x = Big2.x - Big1.width;
Big2.x = 0;
Big3.x = Big2.width;
Big1.y = 0;
Big2.y = 0;
Big3.y = 0;
//Variables that hold instances of the movieClip city
var Medium1 = new Medium();
var Medium2 = new Medium();
var Medium3 = new Medium();
//keeps track of which instance is on the stage
var currentMedium = Medium2;
//place the instances on the stage
Medium1.x = Medium2.x - Medium1.width;
Medium2.x = 0;
Medium3.x = Medium2.width;
Medium1.y = 0;
Medium2.y = 0;
Medium3.y = 0;
//Variables that hold instances of the movieClip city
var Base1 = new Base();
var Base2 = new Base();
var Base3 = new Base();
//keeps track of which instance is on the stage
var currentBase = Base2;
//place the instances on the stage
Base1.x = Base2.x - Base1.width;
Base2.x = 0;
Base3.x = Base2.width;
Base1.y = 0;
Base2.y = 0;
Base3.y = 0;
//display instances on the stage
addChild(Base1);
addChild(Base2);
addChild(Base3);
//display instances on the stage
addChild(Medium1);
addChild(Medium2);
addChild(Medium3);
//display instances on the stage
addChild(Big1);
addChild(Big2);
addChild(Big3);
addEventListener(Event.ENTER_FRAME, scroll);
function scroll(evt:Event):void {
checkCursor();
currentBig = tileBG( currentBig, Big1, Big2, Big3);
currentMedium = tileBG( currentMedium, Medium1, Medium2, Medium3);
currentBase = tileBG( currentBase, Base1, Base2, Base3);
function moveBG( bg1, bg2, bg3, dx ):void
bg1.x += dx;
bg2.x += dx;
bg3.x += dx;
function tileBG ( currentBG, bg1, bg2, bg3) {
if(currentBG.x < - currentBG.width) {
   if(currentBG == bg2) {
   bg1.x = bg3.x+ bg3.width;
   currentBG = bg3;
   else if( currentBG ==bg3) {
   bg2.x = bg1.x + bg1.width;
   currentBG = bg1;
   else if ( currentBG == bg1) {
   bg3.x = bg2.x + bg2.width;
   currentBG = bg2;
if(currentBG.x > currentBG.width) {
if(currentBG == bg2) {
bg3.x = bg1.x - bg1.width;
currentBG =bg1;
else if (currentBG == bg3){
bg1.x= bg2.x - bg2.width;
currentBG = bg2;
else if (currentBG == bg1) {
bg2.x = bg3.x -bg3.width;
currentBG =bg3;
return currentBG;
I am pretty much a beginner so any advice in non-intermediate/non-expert lingo would be very very very much appreciated.  Thanks in advance for any help!

Similar Messages

  • Is it possible to place symbols in a tab of a register element?

    Is it possible to place symbols in a tab of a register element (see attached VI for demonstation)?
    E.g. when a error occurs on tab "Status" the red X might appear to notify the user.
    For what is property node "Register content" (in German "Reiterinhalt"...) used for? 
    The VI is done with LV2009.
    Solved!
    Go to Solution.
    Attachments:
    Tab_and_Symbols.vi ‏9 KB

    This document shows how to do what you're looking for.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
    Attachments:
    Tab_and_Symbols[1].vi ‏13 KB

  • Place symbols in ABAP Program Documenatation

    Hi All,
    I am preparing the documentation for ABAP Program.
    From Main menu GOTO-->Dcouemnataion.
    I want to place the symbol 'Empty circle'.
    I am creating using Insert-->SAp symbols.But for evry symbol it is showing Square box.
    What would be the pblm.How can i place empty circle in the documenatation.
    Thanks,

    i have solved my self the pblm.For you information that SYM_CIRCLE is not working it is taking the symbol as Square box.
    Swapna.

  • I cant place a pdf in Indesign because of missing fonts

    I am running into a problem with a pdf add I am trying to place in a booklet. When I go to export the Indesign  document it tells me it cant because the pdf I placed in it has a font I don't have. I always thought you could place and print pdfs without having all the fonts. I thought it was only if you wanted to edit the pdf that you needed the font. Isn't that the point of a pdf? Does any one have a good solution for this? I am using Indesign cc 201 on a mac. The pdf is secure so I cant run any sort of preflight or flattening on it( at least as far as I know).

    Is the export really failing, or are you getting a missing font warning and cancelling? The ad may not look good, but you should still be able to export, I think.
    But bottom line here is that you need to educate the folks who send in the ads so they always embed the fonts.

  • Why is the webpage jumping all over the place with parallax scrolling?

    Hi all, I'm getting a little frustrated here... I've built a looooong (10,200 pixel) parallax scrolling site, when I click 'Preview' it plays like a dream, but when I render the HTML, view in browser or publish to business catalyst to view, it just jumps all over the place. I realise that the page is extremely long, I'm thinking it could be that but just need to clarify it before I rework it all and maybe find out after, that it was something else that was causing it to happen.
    Your views would be greatly appreciated!

    Hi Aish,
    I have found the problem, but not sure where to find the solution as I'm pretty new to Adobe products.
    I built another site to see if I had the same problem, this time I made it shorter to see if the length was the problem. I put in some elements and 'assets', added parallax scroll key frames, left out pretty much most other things to see if I could pin the problem down. I found that I had the exact same problem.
    In the Muse preview it scrolls with the mouse like a dream when I grab the scroll bar and drag it down. But when I preview in business catalyst, export HTML or preview in browser, it goes crazy and won't let me get to the bottom. Further to that, when you scroll back to the top, everything is out of place and gets worse every time you scroll down and back to the top.
    I have a touch screen computer and tried to scroll the screen with my finger rather than dragging the scroll bar down with the mouse. The website works like a dream when I scroll with my finger, even when I scroll back to the top everything stays in place and the whole site works lovely! I then tried the other, long website to see if this was the same case and it was exactly the same case. It scrolls with a finger like a dream, but has a fit when you drag down the scroll bar with a mouse.
    My next question would be could I somehow disable some kind of touch scroll option in only the desktop version of the site, but leave it active in mobile and tablet sites? If I can do this can you please advise me on how to deactivate it, I think that should solve the problem.
    Can you please get back to me with an answer to this? I would be very greatful!
    Marc.

  • IS it possible to place symbol in new positon on the image

    I have a Scnerio where in the image a symbol has moved to the new positon. Is it possible to place the symbol to new position.

    Is it possible in any other  Adobe tool?

  • Conditional Formating - Place Image above or below text

    Hi
    In OBIEE 10G I can display any images in conditional formating. But the image placement is reduced to "left", "right", "image only". Does's anybody has any idea how to place the images below or above the text?
    Any help is appreciated.
    Thank you

    User,
    If you knew the Cascading Style SHeet (CSS) elements that produced the HTML output placing the image to the left or right then you could modify or format the values using the CSS option of "format values..." from the column's context menu to increase the padding or create a break.
    Otherwise there is no way to accomplish this from the basic front-end options.
    Cheers,
    Christian

  • Cant get processer above 2.3Ghz

    Ive got an Athlon 64 3000+ (CG) on a MSI K8N Neo Platinum board with a gig of Kingmax PC4000 Memory. I cant get the computer to boot up (windows BSODs) with the CPU above 2.3Ghz. Ive managed to get the memory up to 512Mhz with the CPUs multiplier set to 9.
    Ive got HTT set to 3x, CPU voltage at 1.6V, Memory at 2.75V. The temperature isnt too high (got a venus 12 heatsink)
    Got any idea how i could get it higher. Would idealy like to be able to get it up to 2.5Ghz

    Ideally I'd like to get up to 4Ghz, but just because I want it doesn't mean the cpu can take it.  The 3000+ max out around 2.4 Ghz.  Since your fsb is already 256, the next multiplier is 10, which means 2.56 which is out of the question.  Unfortunately, the BIOS does not let us choose halves, so you might want to try using clockgen for all nf3 motherboards and set the multiplier to 9.5.  You may also have to bump up the vcore to 1.65 to get stability.  As always, make sure that prime95 can torture test small fft with no errors.  Otherwise, your comp is unstable and could crash at any point.  And remember, with your vcore and frequency that high, you may want to see about improving over the stock cooling.

  • How to make & place marks above and below text

    I need to make dots and curves (this is for a type of music notation) and place them over and under letters and groups of letters. Any suggestions for the best method in InDesign CS5?

    You're right, I'm doing north Indian notation, not related to western staff. I laid out a whole lot in Word, foolishly, and now have to redo it all in ID for publication. I'm impressed that you have a
    font for carnatic music. Here's a sample. 'S will have an overdot. There are underdots elsewhere.

  • Cant place the commands correctly.

    Hi I must achieve on that for my job. I must place two commands on certain positions but the problem is this one:
    I can create the commands
    I add the commands to Form or to the TextFields
    but the form has TextFields that seems to has its owns Commands and they have the greatest priority so my commands are always put on the "Options" menu. And the Consistency of my GUIs go to the hell becausse they are appearing ona different order than on the rest of Displayable objects like the Main menu of the app.

    AFAIK, you can't control how your Commands appear on the device; that depends on the application manager of the device itself. You can only give suggestions by giving the type of Command ( SCREEN, OK, CANCEL etc ) and the priority.

  • Cant place jpg correct size

    When I try to "place" a jpg on a page it changes the size- tried everything!  Seems to change the proportion of the new jpg to the fit the height of an old jpg even though I changed the page length and moved the line where the bottom of the page ends.

    Hi, Sorry for the late response, are you still experiencing this issue. If yes, please let me know

  • TS1702 my safari is frozen.  it will not operate and is dark.  Also there is a 'lock' symbol above the address box

    When I open safari, I can pull up mail and facebook ok, but that's as far as I can go.  It is frozen and dark.  Also there is a lock emblem above the address line.

    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data (Clear Cache on iOS 4) and also Clear History
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.
    For the lock sysmbol, whereabouts is it ? Is it next to the battery indicator, indicating that you've got rotation lock on ?

  • Cant find symbol error

    why am i getting this "can't find symbol error" in relation to class Function?
    import javax.swing.JOptionPane;
    public class MYPA5
         public static void main ( String [] args )
              Function myF = new Function( );
              double Func1 = myF.getSum( );
    class Functinon
         double x;
         String coeffa = JOptionPane.showInputDialog( null, "Give the first Coefficient");
       double a = Double.parseDouble(coeffa);
         String coeffb = JOptionPane.showInputDialog( null, "Give the second Coefficient");
         double b = Double.parseDouble(coeffb);
         String coeffc = JOptionPane.showInputDialog( null, "Give the third Coefficient");
         double c = Double.parseDouble(coeffc);
         String coeffd = JOptionPane.showInputDialog( null, "Give the fourth Coefficient");
         double d = Double.parseDouble(coeffd);
         double sum = a*Math.pow(x,0) + b*Math.pow(x,1) + c*Math.pow(x,2) + d*Math.pow(x,3);
         public double getSum( )
              return sum;
    }

    Just guessing here...
    Because you named it Functinon instead of Function? (but that may just be a typo in your question of course)
    or because it is not public and not in the same package as MYPA5?

  • All of a sudden I cant place pdf files in a pagemaker document!

    it seem that this happend after I installed/updated acrobat? or after I installed CS4?  I get an error message that I never received before; "do not know how place this file", then I can select file type. I can place pdf files in the same document that hasnt been saved in the new acrobat version, anyone knows what I shall do?

    Thank you!!
    I produce stuff in Pagemaker and CS4 at the same time until I trust CS4 fully, there are a few things cs4 doesnt do that pagemaker does,  I use a "tagged" import that specifies style and images and that works in pagemaker but not in indesign!
    Thanks again, im happy : )

  • How place object above or below file.dcr

    I have "file.dcr" and run it on web by <object> tag. In
    flash player("file.swf") i can put object above it but in shockwave
    i can not.
    I try to use z-index but not work. How to put object above
    shockwave format?
    Thanks .

    quote:
    Originally posted by:
    duckets
    I don't think this is possible - at least, I've never seen an
    example of an html element appear above a shockwave movie on a web
    page.
    Can you post a link to your swf example please?
    - Ben
    quote:
    This is url example of this issue Ben.
    http://advertising.sanook.com/test/test-shockwave.php
    see detail by view source.
    thanks.

Maybe you are looking for