Creating Scrolling Clouds in AS3

Hi, ive spent the last 2 hours looking online for tutorials
and such on how to create random scrolling clouds for a flash
project im making, and after 2 hours ive found nothing at all.
I have a canvas of 900x600, and i want clouds to span across
900x150 of the canvas at the top. I want the clouds to go from
right to left and overlay on the image below.
Can anyone point me to a tutorial that will help me, or show
me how i can make this myself... it seems there is little to no
tutorials on the web that explains how to do this and its quite
annoying.

What exactly have you done? Have you drawn any of the clouds?
Set them as movieclips or given them names?
Assuming you've done that, in AS3 you'd simply want to create
a function to move the clouds from right to left via their name and
tie that to an event listener. For this simple example, make sure
that your clouds are off the stage on the right or wherever you
want them to start moving.
quote:
function moveWaterfall(e:Event):void{
CloudName.x -= 1;
if (CloudName.x < 0){
CloudName.x = 900;
quote:
addEventListener(Event.ENTER_FRAME, moveWaterfall);
If you have a cloud movieclip with the name CloudName, it's x
position should reduce by 1 pixel every frame until it's x position
becomes less than 0 in which case it's x position will reset to
900. Adjust those values according to where you position your
clouds.
To increase the speed, either increase the number of pixels
you're subtracting from the x value or increase your FPS.
I hope this gives you some idea... I'm not exactly sure what
you are all looking for.

Similar Messages

  • Question about creating a cloud connection to SQL Developer

    Hi all!
    I want to create a cloud connection on SQL Developer to Oracle cloud, but keep getting the following error (NOTE: I have the trial version. Also, I have replace the identity domain name with asterisks for the post) :
    Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
    Additional Details:
    oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:228)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:73)
      at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
      at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
      at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
      at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
      at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
      at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask.run(FutureTask.java:262)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: org.apache.http.conn.HttpHostConnectException: Connection to https://databasetrial1875-******.db.us1.oraclecloudapps.com refused
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:158)
      at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:149)
      at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
      at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:561)
      at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:941)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
      at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
      at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:90)
      at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:219)
      ... 16 more
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.DualStackPlainSocketImpl.connect0(Native Method)
      at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
      at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      at java.net.Socket.connect(Socket.java:579)
      at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
      at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:375)
      at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:148)
      ... 26 more
    I have followed the steps to the last letter using: Data Loading and the Oracle Database Cloud Service
    What I have done on the dashboard and APEX:
    I changed the password of the SFTP user.
    I have created a new user on APEX that belongs to the SQL Developer Group and changed the 'Require change on Password on First Use' to NO before creating the user
    SQL Developer:
    I set the database username to the new user I created in APEX
    I set the database URL to the URL I used to reach the APEX page...https://databasetrial1875-******.db.us1.oraclecloudapps.com/apex/  
    I set the SFTP username to the username listed next to 'Service SFTP User Name' on the dashboard
    I set the SFTP hostname to: sftp.us1.cloud.oracle.com
    I left the port set to 22
    When I login on SQL Developer to database, I use the password for the user I created in APEX
    Thanks in advance to all who help!

    Hi,
    You have to use the admin account to add the admin role to the developer account. Can you please try this and let me know of your feedback.
    The settings you added look good, and the you have the latest version of Sql DEVELOPER     , ...so this should be an issue.
    Maybe you have some firewall setting on your computer, that are blocking the connection?
    If , after checking all of the above you still have an issue, please contact oracle support via the chat on the cloud.oracle.com and ask the engineer to open a Service Request under your name.
    Thanks,
    Flori

  • Problem in creating new cloud service

    I have tried almost all possible combination of letters to specify URL  for creating new cloud service and I am getting an error saying "This specified URL is already in use". Any help would be greatly appreciated. Thank you in advance. 
    Regards,
         StarMogu

    Hi,
    What combination of letters did you try? Base on my experience, some word is in blacklist and didn't used in cloud service name. Please see this same threads(
    http://social.msdn.microsoft.com/Forums/en-US/963acdd1-ee05-406b-978e-20528c7722ee/seriously-get-rid-of-the-url-name-blocking ).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Creating a website in AS3

    I have been banging my head trying to figure out where the
    objects for a AS3 website are stored that has an empty fla. Can
    anyone clear this up for me, or at best point me to a tutorial that
    explains how to create a website in AS3 this way. I understand
    using .as files for a website.

    For assets such as graphics, images, sound, and video you
    have 2 main options. You can either put them onto the timeline of
    the fla (i.e. embed them into the swf) or you can load them at
    runtime.
    For the timeline, you can drag and drop elements from your
    file browser to the stage of the open fla. You will want to look
    into making symbols, giving them instances names, and referencing
    the instance names in your actionscript.
    For loading assets at runtime you will want to look into the
    loader class.
    If you are looking for a book or tutorials, I would start
    with the built in help in Flash. Start with the Using Flash
    section.

  • Can we create scroll bar Table in ADE?

    Hi All,
    Can we create scroll bar Table in ADE. Please refer the enclosed attachment Table.JPG.
    We used the following CSS property, which is displaying the scroll bar table in HTML but not in ADE.
    #table_data {width:400px; overflow:auto; }
    Please Suggest.
    Regards,
    Jaffar

    Hi Swathi,
    The whole concept of internal table is to manipulate the data at runtime.
    This replaces the concept of two dimentional array in other languages.
    The power of internal tables is it gets lakhs of records at runtime. I mean it can accomodate lots of records at runtime.
    So you can create a table type in DDIC and use it to declare your internal table.
    Yes, You can create global internal tables for function modules.
    By declaring the internal table in top include you can use this internal table all the function modules of that function group. So if one function module is filling the data another can use it as it is stored globally.
    Hope this answers your curiosity.
    Award points if useful else getback.
    Aleem.

  • [CS4] Ann.: Wordalizer 1.25 "Create Word Clouds in InDesign"

    Marc Autret is way too modest -- he posted this announcement in the middle of a long thread in the Scripting forum, and I'm sure it deserves much more attention than that!
    http://www.indiscripts.com/post/2010/04/wordalizer-125-create-word-clouds-in-indesign
    -- a marvelous script that rips right through your text and creates a "Word Cloud" of the most (or least!) frequently used words in your document, book, clipboard text, or wherever! Supports 'common word' removal in six different languages (so you don't end up with a giant "The" in the center), and has lots of tuning options.
    The freely downloadable version already has enough options to get excited about, and the Pro version has even more advanced editing options.
    Wordalizer speaking about itself:

    WOW! What a praise! Thank you so much Theunis
    > Is there a way to include spaces between words or special characters  (like bullet)?
    Yes and no! With the exceptions of hyphens, the text parser ignores most of the ‘non-alphabetic’ characters [note: the alphabet depends on the selected language.] That's to say that bullets, spaces --including every non-breaking spaces, sorry!--, and any similar characters are regarded as word separators. The dialog box provides the option ‘Allow digits’ though:
    However the PRO version allows you to insert extra characters through the word list editor, which supersedes the parser restrictions. So you can create a word cloud with bullets, space separated words, or anything else, by entering something like this:
    • word1 • : 100
    word1 word2 : 50
    #)$^*% : 20
    Then you get:
    Finally there is a secret tip allowing the user to inject a weighted word list containing weird characters, even with the TRY version:
    1) Create a text frame in InDesign. (This tip also works with imported text file, or clipboard source.)
    2) Enter your entries using the weighted list format:
    entry1 : weight
    entry2 : weight
    etc.
    3) Run the script and check "Active Text Frame" in the Source panel.
    4) Press OK. (Enjoy!)
    Last note: Wordalizer supports InDesign CS4 and InDesign CS5 ;-)
    Thanks again,
    Marc

  • How to Create Tag Cloud using Flex

    Hi
    I am trying to create Tag cloud using Adobe Flex. Can you
    please give me a hint of how to proceed.
    Any hint will be a help.
    Thanks,
    Dev

    Hi
    I am trying to create Tag cloud using Adobe Flex. Can you
    please give me a hint of how to proceed.
    Any hint will be a help.
    Thanks,
    Dev

  • Create a cloud database using an external tools of a CRM?

    I would like to create a cloud database using an external tools of a CRM . To do this, I have to configure my TNS name with all the cloud database information’s also with the port.
    Is the cloud service allows this ?
    Maurice.

    Hi Maurice -
    No SQL*Net connections are allowed for the Database Cloud Service.  This will be possible with the upcoming Database as a Service offering.
    Hope this helps.
    - Rick Greenwald

  • HT4759 i lost my i phone, can i create i cloud account with apple id

    i lost my i phone, can i create i cloud account with apple id?

    sunilBD wrote:
    i lost my i phone,
    If Find my iPhone was not activated Before the Device was lost... it is too late to do it now.
    Lost or Stolen iOS device > http://support.apple.com/kb/HT5668

  • Scrolling Clouds

    Hay all
    I’m new to flash and I’m having a bit of a
    problem with action scripting I have a website with multiple scenes
    in it, and I also have a cloud logo that floats from the left to
    the right hand side (as the moment it’s a movie clip
    animation) the problem is that when ever I change scene the cloud
    resets to the beginning rather then just floating on is there an
    action script I can use to tell flash to move it incrementally move
    the clouds x amount of key-Frames per section from its current
    position
    Many Thanks
    Ben

    What exactly have you done? Have you drawn any of the clouds?
    Set them as movieclips or given them names?
    Assuming you've done that, in AS3 you'd simply want to create
    a function to move the clouds from right to left via their name and
    tie that to an event listener. For this simple example, make sure
    that your clouds are off the stage on the right or wherever you
    want them to start moving.
    quote:
    function moveWaterfall(e:Event):void{
    CloudName.x -= 1;
    if (CloudName.x < 0){
    CloudName.x = 900;
    quote:
    addEventListener(Event.ENTER_FRAME, moveWaterfall);
    If you have a cloud movieclip with the name CloudName, it's x
    position should reduce by 1 pixel every frame until it's x position
    becomes less than 0 in which case it's x position will reset to
    900. Adjust those values according to where you position your
    clouds.
    To increase the speed, either increase the number of pixels
    you're subtracting from the x value or increase your FPS.
    I hope this gives you some idea... I'm not exactly sure what
    you are all looking for.

  • Please do not laugh:( I have a problem with creating i Cloud account. When I download i Cloud and am supposed to sign it uo, I get a message that my This Apple ID is valid, but is not an i Cloud account.

    Not everybody are advanced in use of different devices. I have problems with everything, now trying to move my I tunes to my ny PC. I reccon it would be easiest by using i Cloud. But I am even not able to create an account.
    Can somebody help?

    stf10 wrote:
    ... trying to move my I tunes to my ny PC. ...
    From where are you trying to move your iTunes...

  • Creating Scrolling text panels in Indesign CS5 for Interactive SWF's

    Hi,
    Is it possible to do as it says in the title?
    I want to add some text panels and provide the ability to scroll through the text.
    It will be output to an Interactive SWF file online.
    Can this be done in Indesign CS5?

    Hi,
    Thanks for the updated information.
    I created a scrooling text box in Flash CS5 and created the swf, that works fine.
    Importing into Indesign CS5 isnt as straight forward as I expected?
    I get the SWF icon on the Indesign Page, but previewing or publishing only shows the SWF icon, no Scrolling Text box displays.
    Im ust add that if I click on the SWF icon the Text box displays, but I want it to display by default?
    Are there more steps I need to take?

  • Issues creating scrolling images for photo gallery

    Hi all,
    I'm attempting to create a thing where my thumbnails will scroll across the bottom of the page, like when you put the mouse on the right it scrolls right and visa versa.  I found a great tuturial only to realize halfway in that it was done with Flash 8, therefore apparently quite a few things have changed.  And this is my first stab at Flash!
    The first place i noticed is when my motion tween didn't work, so I instead created a 'Classic Tween' finding it had the same affect as 'Motion Tween' in Flash 8, however as I progressed in the tut, I don't think the results were the same.
    My images scroll but after creating a _xmouse<40){........prevFrame, there only continue to scroll, the prevFrame command doesn't work! 
    So to my question...does anyone know of a good tut for this type of thing for CS5?  OR, is anyone really familiar with both Flash 8 and CS5 and could help me pinpoint the differences for what I'm attempting to create?
    Thank you SO MUCH, any help is really appreciated!
    Giuseppe

    So I figured it out after googling for a while and guess and testing...
    MovieClip(root).addEventListener(Event.ENTER_FRAME, enterFrameHandler);
    function enterFrameHandler(event:Event):void
    if (MovieClip(root).mouseX > 600 && mouseX < 800 && mouseY > 450)
    imgBar.nextFrame();
    if (MovieClip(root).mouseX > 800 && mouseY > 450)
            imgBar.nextFrame();
    imgBar.nextFrame();
        if (MovieClip(root).mouseX < 300 && mouseX >100 && mouseY > 450)
    imgBar.prevFrame();
        if (MovieClip(root).mouseX < 100 && mouseY > 450)
            imgBar.prevFrame();
    imgBar.prevFrame();

  • Slide Show on Home Page Creates Scroll bar in browser...

    I have created my site, and at the tope of it I have a hero Slider Composition with text in it. But, when I view it in the browser, it scrolls to the right. But, if I delete the composition slide show, the scroll bar disappears. I've tried to re-create the slide show, but it continues to do the same thing, I would really appreciate some help quick, in that my site is live. http://www.serpentsndoves.com

    Firstly: Congrats on a very cool web design!!
    I had a look at the site, and think that what you are seeing is expected behaviour. You have little control over the width of the browser window a viewer might have set when they are viewing your web page. It can be narrower or wider than the page width you set in Muse:
    When the browser window is narrower than the width of the web page, the scrollbar at the bottom for right to left movement appears.
    When you make the browser window wider than the width of the web page, the scrollbar will disappear as the full width of the page is displayed.
    In contrast, if you were to look at the page on an iPad in landscape, the width of the page will snap to the width of the browser window, as mobile browsers behave differently to desktop browsers.
    Cari

  • Creating moving clouds

    Hi
    I have this assignment where we have to use a display list. I am trying to create clouds moving on the background.
    I'm sure my code is very clumsy. I was able to get the clouds on my stage but I can only get one to move.
    Please, I can't seem to wrap my head around this and as you can see I'm a novice.
    import flash.display.*;
    import flash.events.*;
    var myBackground:BackGround = new BackGround();
    addChild(myBackground);
    var myCloud:MyCloud;
    for (var i:Number = 0; i<6; i++)
        myCloud = new MyCloud();
        addChild(myCloud);
        var randomValue: Number = Math.random()*2;
        myCloud.x = Math.random()*stage.width;
        myCloud.scaleX = myCloud.scaleY = randomValue;
        myCloud.addEventListener(Event.ENTER_FRAME, flyBy);
        function flyBy(event:Event):void
        myCloud.x +=6;
        if (myCloud.x> stage.stageWidth)
            myCloud.x = 0;
    addChild(myCloud);

    all the clouds move initially, but then only one re enters?
        myCloud = new MyCloud();
        addChild(myCloud);
        var randomValue: Number = Math.random()*2;
        myCloud.x = Math.random()*stage.width;
        myCloud.scaleX = myCloud.scaleY = randomValue;
      myCloud.addEventListener(Event.ENTER_FRAME, flyBy);
        function flyBy(event:Event):void
        MovieClip(event.currentTarget).x +=6;
        if (myCloud.x> stage.stageWidth)
            myCloud.x = 0;
    Not quite sure what you mean about the width?
    myCloud.width=?

Maybe you are looking for

  • Trying to install the snow leopard update, but get a grey  apple logo screen

    I cleaned my imac out, and now want to install snow leopard (NOT LION), I already installed Leopard, and the machine works, but when I try to install snow leopard, it runs(installs) and after a while it gives a message that it will finish installatio

  • GROUP EMAILING LIST: Is it possible to create a group list to email

    how would you go about setting up a group contact list to email people instead of having to click on each name.....????   like if you wanted to forward something onto others.......didn't know if it could be done.... Solved! Go to Solution.

  • Inventory report fi posting

    *Hi,* *when fi posting done these value are reflects in mb5b? .* *Because some values are also seen in mb5b without movement type.* *what are the logic behind this please explain me* Thanks and Regards Anil

  • Query find form - customized search on a date field

    Hi All, I have a form which has query find behaviour enabled. When the user press on the search(torch light button) The query find form gets opened in a new canvas. I have a date field on the query find form. The current functionality is that "The fo

  • How to create Integration Flow for SOAP to RFC scenario?

    Hello Friends, We have Single Stack SAP PO 7.3 EHP 1 SP08 AS Java in our environment. We have a scenario where a RFC needs to be made available as SOAP Web Service. So we are using SOAP Sender Adapter and RFC Receiver adapter. We want to build this s