What am I doing wrong

Ask a Question related to Macromedia Director Basics, Design and Development.

  1. #1

    Default What am I doing wrong

    I am trying to fade in an image over time, however the image keeps blinking, it fades in all the time. Below is my script.
    on exitFrame me
    go to the frame

    on beginSprite me
    startTimer
    end

    on enterFrame me
    if the timer >=100 then
    sprite(2).member=member"gallery40"
    repeat with b = 1 to 100
    sprite(2).blend =b
    updateStage
    end repeat
    end if
    end

    JJ



    Ruku webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. something wrong..
      I want to integrate following php-file into my Flash-movie, but something still does not work. The Php-file is like that: Online it looks like...
    2. What am I doing wrong?
      > rs.Source="SELECT id From User Where upper I asked this before... Try sql = "SELECT id FROM user WHERE UPPER(cLoginID) = '" & vUserID &...
    3. What is wrong?
      Take a look at your Stored Procedure. It takes a wide variety of data types. But in your code, you use an overloaded version of the Add() method of...
    4. What am I doing wrong???!?!
      I have a simple form that based on the the two inputs, ExAD_Tracking and ExAD_DateEntered, will query the database and display the records...
    5. What am I doing wrong with this SP??
      Gives me a NULL value at this line. and I know it has a 1 myShippingDetails.theShippingType = CStr(parametertheShippingType.Value) Public...
  3. #2

    Default Re: What am I doing wrong

    the fade inside of the b loop advanes soo quickly, one probably doesnt
    see the fade, either add a delay time inside fo the fade loop, or use
    score frame rate to do fade, like below example (Not sure what your
    timer code was to d0)


    on exitFrame me
    go to the frame

    on beginSprite me
    sprite(2).blend = 0 -- better to establish this with score setting
    end

    on enterFrame me
    if sprite(2).blend < 100 then
    sprite(2).blend = sprite(2).blend + 4 -- inc. each frame
    -- try larger value for faster fade
    end if
    end
    JB Guest

  4. #3

    Default what am i doing wrong

    I'm getting the following error when i access a method in my webservice from
    the aspx layer.Please help me understand. thanks

    1) Exception Information
    *********************************************
    Exception Type: System.Web.Services.Protocols.SoapException
    Actor:
    Code: [url]http://schemas.xmlsoap.org/soap/envelope/:Server[/url]
    Detail: System.Xml.XmlElement
    Message: System.Web.Services.Protocols.SoapException: Server was unable to
    process request. ---> System.InvalidOperationException: There was an error
    generating the XML document. ---> System.InvalidCastException: At least one
    element in the source array could not be cast down to the destination array
    type.
    at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array
    destinationArray, Int32 destinationIndex, Int32 length)
    at System.Collections.ArrayList.ToArray(Type type)
    at Qwest.DCP.DAO.Contracts.GetRCBSCodes(String Acronym) in
    c:\dcp\dcpdao\contracts.cs:line 346
    at Qwest.DCP.DAO.ApplicationDataResponse.get_RCBSCode () in
    c:\dcp\dcpdao\applicationdataresponse.cs:line 59
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationWriter1.Write6_ApplicationDataResponse (String
    n, String ns, ApplicationDataResponse o, Boolean isNullable, Boolean needType)
    at
    Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationWriter1.Write52_getApplicationsRespons e(Object[] p)
    --- End of inner exception stack trace ---
    at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
    Object o, XmlSerializerNamespaces namespaces, String encodingStyle)
    at System.Xml.Serialization.XmlSerializer.Serialize(X mlWriter xmlWriter,
    Object o, XmlSerializerNamespaces namespaces)
    at System.Web.Services.Protocols.SoapServerProtocol.W riteReturns(Object[]
    returnValues, Stream outputStream)
    at System.Web.Services.Protocols.WebServiceHandler.Wr iteReturns(Object[]
    returnValues)
    at System.Web.Services.Protocols.WebServiceHandler.In voke()
    --- End of inner exception stack trace ---
    TargetSite: System.Object[]
    ReadResponse(System.Web.Services.Protocols.SoapCli entMessage,
    System.Net.WebResponse, System.IO.Stream, Boolean)
    HelpLink: NULL
    Source: System.Web.Services

    StackTrace Information
    *********************************************
    at
    System.Web.Services.Protocols.SoapHttpClientProtoc ol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
    at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke(String
    methodName, Object[] parameters)
    at
    Qwest.DCP.UI.SMVTService.SMVTracker.getApplication s(ApplicationDataRequest
    requestPms) in c:\inetpub\wwwroot\dcpui\web
    references\smvtservice\reference.cs:line 227
    at Qwest.DCP.UI.CreateSMVT.ddlApp_SelectedIndexChange d(Object sender,
    EventArgs e) in c:\inetpub\wwwroot\dcpui\createsmvt.aspx.cs:line 340

    srathin Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139