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=?

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.

  • [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

  • Created moving banner but it comes with skins

    Hi,
    There doesn't seem to be an option (DW8) when importing a flash video without it coming with some sort of skin.
    I created a movie (banner across the top of my site - 460 x 120) with Movie Edit Pro and converted it in flash to an .fla file. This part allowed me to choose skins = "none" but when I imported the fla movie into DW it only gave me choices of different skins without a "none" option.
    I don't want a play button for my scrolling movie banner obviously. How can I remove the skin? Keep in mind - I'm much more gui than coder, but I can figure out a few things.
    Thanks,
    Luna13

    gcaLuna13 wrote:
    Thanks again Nancy.
    I understand about the off button... have a link on creating one and how to place it near or on the animation?
    Also can you explain rhe difference between the swf vs fla usages? Why would I prefer 1 over another?
    I can see now that an swf must not need skins so i guess swf is a plus for creating moving banners vs fla.
    First of all, to clarify the file extensions.
    FLA - that's the Flash source file, and is created and edited in Flash
    FLV - that's the Flash video file, I think that's what you meant to say in your original post.
    SWF - the published file from Flash, and many other programs have the ability to export content to this format.
    You're getting into an area where you need to Flash to create the FLA, publish to SWF - then you have complete control of attached FLVs, skins, buttons and anything else you neeed.

  • 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

  • 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.

  • 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...

  • Moving clouds in the sky

    I have a photo with a cloud formation in the corner.  I need to move it to the center of the photo and also rotate it about 90 degrees.  Thanks for any help.

    Hi,
    You can use Content-Aware move to move the clouds:
    1) Select the content-aware move tool (in the same palette as the Healing Brush)
    2) Select the clouds with your mouse.
    3) Click-drag to move them
    I am moving your question to the Photoshop General discussion forum, whose members can comment on how best to rotate the clouds. Also, when I do this, I sometimes need to match color on the background blue of the sky, so maybe someone can chime in on that, too.
    Best regards,
    Randy Nielsen
    Product Integration Manager, Creative Cloud Learning & Training
    Adobe

  • Moving clouds in the sky... the good one.

    Hi,
    i've search a lot, but no one has the closest match to what i
    am looking for. I've seen this on several sites even before version
    8 was released. but is there anyone who ever knew how to move a
    cloud in a sky background as seemless?
    i knew the cloud panoramic trick but it's obvious that it
    only moves sideways and you can see them enlarge when you also
    enlarge it a little when tweening.
    but i've seen some sites that clouds are moving
    perspective-ly not sideways, not up and down, not getting big, but
    moves perpectively and the cloud edges almost diffuses like smoke.
    I've actually opened a fla file of it. but only got this in
    the library:
    two actual jpeg pix of a similar background color of a cloud.
    the first one alpha offs in a couple of frame then the second
    one alpha on to the last frame.
    then then there are symbols (pressumed converted) unnamed so
    it's named default symbol1 symbol 2 etc.
    and when I press my keyboard's arrow key down to browse the
    symbols it technically is the animation you'll see in the swf file.
    but then at the stage the movie that was dragged there was
    only the the movieclip of the 2 pix on alpha pic one alpha100 to
    alpha 0 then pic two from alpha 0 to 100.
    even if i change the movieclip instance to "graphic- play
    once" when i play the timeline it only plays the alpha.
    but when it's exported to swf it plays the clouds moving like
    the symbols browsed consecutively as if it was screenshot-ed every
    movement and converted to symbols per movement.
    I'm looking for actionscripts but there is none except for
    the loading bar.
    now in any case i might suspect that the cloud movement was
    taken from another program then i should see sequenced jpegs in the
    library but i don't, only sequenced symbols with the movement of
    the clouds in they sky, seems so real as it was in movies when the
    sky is shown and the time is fast forwarded to see the cloud
    movements.
    that is the cloud movement i wanna know and not the cartoon
    cloud, not the panoramic cloud that moves sideways and alpha ins
    and out to another pano cloud. etc.
    hope you understand and im sure you have seen several of what
    i mean.

    > i've search a lot, but no one has the closest match to
    what i am looking for.
    > I've seen this on several sites even before version 8
    was released. but is
    > there anyone who ever knew how to move a cloud in a sky
    background as seemless?
    anyone who ever knew :)
    If it was not the case than you would not see it many times
    online, would you ?
    > i knew the cloud panoramic trick but it's obvious that
    it only moves sideways
    > and you can see them enlarge when you also enlarge it a
    little when tweening.
    That is not flash and you right it was long before flash 8.
    As soon flash came
    out with movie clip, somewhere back 9 years ago, we were
    importing images sequence
    made in other programs, usually after effects. It allow nice
    clouds looping
    and cross fading making seamless loops.
    > but i've seen some sites that clouds are moving
    perspective-ly not sideways,
    > not up and down, not getting big, but moves perpectively
    and the cloud edges
    > almost diffuses like smoke.
    like this :
    http://flashfugitive.com/stuff/clouds_01.swf
    > I've actually opened a fls. file of it. but only got
    this in the library:
    > two actual jpeg pix of a similar background color of a
    cloud.
    > the first one alpha offs in a couple of frame then the
    second one alpha on to
    > the last frame.
    > then then there are symbols (pressumed converted)
    unnamed so it's named
    > default symbol1 symbol 2 etc.
    > and when I press my keyboard's arrow key down to browse
    the symbols it
    > technically is the animation you'll see in the swf file.
    > but when it's exported to swf it plays the clouds moving
    like the symbols
    > browsed consecutively as if it was screenshot-ed every
    movement and converted
    > to symbols per movement.
    maybe is a video clip, FLV imported to flash. It contains
    multiple frames which
    you can't explore in flash, you will only see it as single
    file.
    > I'm looking for actionscripts but there is none except
    for the loading bar.
    > now in any case i might suspect that the cloud movement
    was taken from another
    > program then i should see sequenced jpegs in the library
    but i don't, only
    > sequenced symbols with the movement of the clouds in
    they sky, seems so real as
    > it was the movies when the sky is shown and the time is
    fast forwarded to see
    > the cloud movements.
    correct assumption, flash just does not do stuff like that.
    Making cross alphas on multiple
    images, tween and whatnot is just over kill compare to
    importing images sequence.
    It's way smoother on performance - if reasonable size, and
    simply easier and faster with
    nicer result.
    > that is the cloud movement i wanna know and not the
    cartoon cloud, not the
    > panoramic cloud that moves sideways and alpha ins and
    out to another pano
    > cloud. etc.
    just as explained above, after effects and exported into
    images sequence.
    Regards
    Urami
    Happy New Year guys - all the best there is in the 2006 :)
    <urami>
    http://www.Flashfugitive.com
    </urami>
    <web junk free>
    http://www.firefox.com
    </web junk free>

  • Create Tag cloud for web app ?

    I am creating an web app, in that i require tag clouds or tags (Not BC tags), how can i create field for it ?

    Thank you for your replies!
    What would be the best solution to create a pdf (with clickable images etc) to be embedded into a website?
    Thanks!

  • .svclog file is not creating on cloud when cloud service is deployed into azure website.

    I have created a wcf cloud service which is being deployed on cloud through bitbucket repository.
    I want to create a .svclog file to trace logs on my azure local storage.
    For that, I have refered so many posts and finally configured my solution as below:
    ServiceConfiguration.Cloud.cscfg:
    <Role name="MyServiceWebRole">    <Instances count="1" />    <ConfigurationSettings>      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"                value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceConfiguration.Local.cscfg:
    <Role name="MyServiceWebRole">
        <Instances count="1" />    <ConfigurationSettings>      <!--Also tried with value = "UseDevelopmentStorage=true"-->      <Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString"               value="DefaultEndpointsProtocol=https;AccountName=StorageName;AccountKey=MyStorageKey" />    </ConfigurationSettings>    <Certificates>      <Certificate name="Certificate" thumbprint="certificatethumbprint" thumbprintAlgorithm="sha1" />    </Certificates>  </Role>
    ServiceDefinition.csdef:
    <WebRole name="MyServiceWebRole" vmsize="Small">    <Sites>      <Site name="Web">        <Bindings>          <Binding name="Endpoint1" endpointName="Endpoint1" />        </Bindings>      </Site>    </Sites>    <Endpoints>      <InputEndpoint name="Endpoint1" protocol="http" port="80" />    </Endpoints>    <Imports>      <Import moduleName="Diagnostics" />    </Imports>    <LocalResources>      <LocalStorage name="MyServiceWebRole.svclog" sizeInMB="1000" cleanOnRoleRecycle="false" />    </LocalResources>    <Certificates>      <Certificate name="Certificate" storeLocation="LocalMachine" storeName="My" />    </Certificates>  </WebRole>
    web.config (MyServiceWebRole project):
    <system.diagnostics>    <trace autoflush="false">      <listeners>        <add name="AzureDiagnostics"             type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics,              Version=2.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />      </listeners>    </trace>  </system.diagnostics>  ............<system.serviceModel>    <diagnostics>      <messageLogging maxMessagesToLog="3000"                      logEntireMessage="true"                      logMessagesAtServiceLevel="true"                      logMalformedMessages="true"                      logMessagesAtTransportLevel="true" />    </diagnostics>   ............ <runtime>    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">      <dependentAssembly>        <assemblyIdentity name="Microsoft.WindowsAzure.Diagnostics" publicKeyToken="31bf3856ad364e35" culture="neutral" />        <!--<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="2.2.0.0" />-->      </dependentAssembly>    </assemblyBinding>  </runtime>
    WebRole.cs (MyServiceWebRole project):
           public override bool OnStart()        {            //Trace.Listeners.Add(new DiagnosticMonitorTraceListener());            Trace.Listeners.Add(new AzureLocalStorageTraceListener());            Trace.AutoFlush = false;            Trace.TraceInformation("Information");            Trace.TraceError("Error");            Trace.TraceWarning("Warning");            TimeSpan tsOneMinute = TimeSpan.FromMinutes(1);            // To enable the AzureLocalStorageTraceListner, uncomment relevent section in the web.config            DiagnosticMonitorConfiguration diagnosticConfig = DiagnosticMonitor.GetDefaultInitialConfiguration();            // Transfer logs to storage every minute            diagnosticConfig.Logs.ScheduledTransferPeriod = tsOneMinute;            // Transfer verbose, critical, etc. logs            diagnosticConfig.Logs.ScheduledTransferLogLevelFilter = LogLevel.Verbose;            // Start up the diagnostic manager with the given configuration            DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString", diagnosticConfig);            // For information on handling configuration changes            // see the MSDN topic at http://go.microsoft.com/fwlink/?LinkId=166357.            return base.OnStart();        }
    AzureLocalStorageTraceListener.cs (MyServiceWebRole project):
    public class AzureLocalStorageTraceListener : XmlWriterTraceListener    {        public AzureLocalStorageTraceListener() : base(Path.Combine(GetLogDirectory().Path, "MyServiceWebRole.svclog"))        {        }        public static DirectoryConfiguration GetLogDirectory()        {            try            {                DirectoryConfiguration directory = new DirectoryConfiguration();                // SHOULD I HAVE THIS CONTAINER ALREADY EXIST IN MY LOCAL STORAGE?                directory.Container = "wad-tracefiles";                directory.DirectoryQuotaInMB = 10;                directory.Path = RoleEnvironment.GetLocalResource("MyServiceWebRole.svclog").RootPath;                var val = RoleEnvironment.GetConfigurationSettingValue("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");                return directory;            }            catch (ConfigurationErrorsException ex)            {                throw ex;            }        }    }
    I also tried to comment out element in ServiceDefinition.csdef file. but here, I am having build time error (The XML specification is not valid).
    In my case, I am pushing all source code to bitbucket repository and from there it is deployed to the azure "WebSite". Here is more details:
    I need help to know:
    Why my service did not creating .svclog file from local to azure?
    It's also not doing the same even it has been deployed to azure?
    On which location(container) I can get the .svclog file into local storage?
    Please suggest correct way or modification so that I can overcome with this issue. Please replay fast.
    Thanks.

    Hello _Adian,
    Thanks for response.
    I uploaded all my code on bitbucket repository and configured a website on portal using "Integrate source control" (please refer:  http://azure.microsoft.com/en-in/documentation/articles/web-sites-publish-source-control/).
    (NOTE: This is the way my client is following.)
    Here is the structure of my solution:
    1. a wcf service application (.svc)
    2. few class library projects
    3. Azure cloud service (with Project 1 as web role).
    Now whenever I push my updated code to bitbucket, It automatically deployed to azure.
    So, please suggest me how can I create a separate .svclog file into local storage (using above environment).
    I hope this info will helpful to you for answer.

  • Activating trial after creating creative cloud account

    I have a creative cloud account, but before purchasing, I was using a trial version of lightroom. I now have the created cloud account, and the trial has expired, but I'm not able to activate the developing tool because it's telling me to purchase lightroom.

    It will be necessary for you to uninstall the trial version that you have been using. Then you will be able to install Lightroom through the creative cloud application manager. You will be able to open and use the same catalog you have been using.

Maybe you are looking for

  • MacBook Pro OSX 10.6 drops Wi-Fi connection when idle/asleep.

    My MacBook Pro OSX 10.6 has begun to lose Wi-Fi connection when idle. I can't re-connect unless I shut down computer and re-start. Worse, the system appears to lock up--I can't force quit, must press the power button to shut down. This problem occurs

  • Can u trade and old ipod for a newest one

    Yes i have a question i have a 4th genartion ipod and when the new 5th genartion ipod comes out i dont know if i could trade my 4th genartion for a 5th genartion and just pay the diffrence of it? Can you please write ASAP                             

  • Cisco Prime Collaboration 9 cannot discover ipphone

    Hi Folks I am testing Cisco Prime Collaboration ver 9.0.24376 in my lab environment, Im using it to discover CUCM Cluster version 8.6.2 and successfully to obtain Server and Gateway information, but I can't see any endpoint that registered to CUCM sh

  • Spot to Process Color in Page Maker

    Hello Everyone......... Can anyone help me in changing spot colors to Process Colors in Page Maker. I'm new with this. Thanks & Regards

  • Different accordion header styles

    Does anyone know how to have each header of an accordion have different styles? In all reality, I just need different colors, but different icons would be great too. I've seen how to customize the header based on it's selection, or how to customer al