Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Can anyone help?

    Hi All:
    I am a "newbie" to action script and having difficulty trying to navigate from an opening screen to a certain pont in the movie depending on the information entered in an input box:

    ie:
    enter 1234 and goto frame X
    else enter 5678 and goto frame Y
    else enter 9123 and goto frame Z etc

    Any help in coding or references where I may be able to read up on the coding would be greatly appreciated.

    PS. Under a "deadline" of 3:30 PM AST so any responses muchly appreciated in advance.

    Regards
    Joctobercanuck

    [email]jdb@ns.sympatico.ca[/email]


    joctobercanuck webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Can anyone help?

    give the input textfield an instance name - inp,
    label your frames, frameX,frameY....
    add main timeline code for your button, instance name - btn

    btn.onPress=function(){
    inp.text == "1234" ? gotoAndStop("frameX") :
    inp.text == "5678" ? gotoAndStop("frameY") :
    inp.text == "9123" ? gotoAndStop("frameZ") : null;
    }

    regards
    Jack..
    Jack. webforumsuser@macromedia.com Guest

  3. #3

    Default Can Anyone Help?

    I have a Access database containing 52 columns representing weeks of the year.
    Each column has either a Y or N Data Status.

    Columns :-------[ID]-----[MarW1B]----[MarW2B]----[MarW3B]-----[MarW4B] etc

    Data:--------------001---------N--------------N----------------N----------------
    N
    -------------------- 002---------N--------------
    N----------------N----------------N
    ---------------------003---------N---------------N----------------Y
    ---------------N

    ---------------------004---------N---------------Y----------------N-------------
    ---Y

    I am trying to send the Column eg MarW3B from an html form and have the
    records searched to show only the records that have a Y in the column I send as
    the URL Parameter.

    I works fine when I create a recordset by defining the column in the SQL as
    follows:

    SELECT *
    FROM Dates
    WHERE MarW3B = 'MMColParam'

    Name: MMColParam------Default Value: Y -------Run Time Value:
    Request("MM_EmptyValue")

    Is there any way I can pass the column [MarW3B] from an html form as the URL
    Parameter.

    I need to display a recordset containing only Y entries in the column defined
    in html form and passed as a URL Parameter
    eg........Date.asp?Week=MarW3B
    ..............Date.asp?Week=MarW1B...........etc


    I'm using Dreamweaver MX.

    I'd be very grateful for any suggestions or help.

    Heilander



    Heilander Guest

  4. #4

    Default Re: Can Anyone Help?

    You won't be able to so this using the built in recordset behaviours as they
    do not have the capability however it is not that difficult to hand write a
    SQL statement that you could then use and dynamically replace the quest
    elements.

    --
    Regards

    Paul Whitham
    Macromedia Certified Professional for Dreamweaver MX2004
    Valleybiz Internet Design
    [url]www.valleybiz.net[/url]

    Team Macromedia Volunteer for Ultradev/Dreamweaver MX
    [url]www.macromedia.com/support/forums/team_macromedia[/url]

    "Heilander" <webforumsuser@macromedia.com> wrote in message
    news:d1805m$77n$1@forums.macromedia.com...
    > I have a Access database containing 52 columns representing weeks of the
    year.
    > Each column has either a Y or N Data Status.
    >
    > Columns :-------[ID]-----[MarW1B]----[MarW2B]----[MarW3B]-----[MarW4B]
    etc
    >
    >
    Data:--------------001---------N--------------N----------------N------------
    ----
    > N
    > -------------------- 002---------N--------------
    > N----------------N----------------N
    > ---------------------003---------N---------------N----------------Y
    > ---------------N
    >
    > ---------------------004---------N---------------Y----------------N-------
    ------
    > ---Y
    >
    > I am trying to send the Column eg MarW3B from an html form and have the
    > records searched to show only the records that have a Y in the column I
    send as
    > the URL Parameter.
    >
    > I works fine when I create a recordset by defining the column in the SQL
    as
    > follows:
    >
    > SELECT *
    > FROM Dates
    > WHERE MarW3B = 'MMColParam'
    >
    > Name: MMColParam------Default Value: Y -------Run Time Value:
    > Request("MM_EmptyValue")
    >
    > Is there any way I can pass the column [MarW3B] from an html form as the
    URL
    > Parameter.
    >
    > I need to display a recordset containing only Y entries in the column
    defined
    > in html form and passed as a URL Parameter
    > eg........Date.asp?Week=MarW3B
    > ..............Date.asp?Week=MarW1B...........etc
    >
    >
    > I'm using Dreamweaver MX.
    >
    > I'd be very grateful for any suggestions or help.
    >
    > Heilander
    >
    >
    >

    Paul Whitham TMM Guest

  5. #5

    Default Can ANYONE help?

    I have this code to dynamically generate a number of usernames and passwords
    based on an amount entered in a previous page. This seems to work fine. The
    problem is when i try to enter the data into the database. I Don't have the
    first idea about how to achieve this. Please any assistance, ponters, urls of
    relevance..............this is turning my hair white.



    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    <%
    Dim uk, us, i
    Dim strTemp1, strTemp2
    Dim Repeat1__numRows
    Dim Repeat1__index
    Dim x
    Dim y
    x = Request.Form("textfield")
    y = Request.Form("textfield2")

    Repeat1__numRows = CInt(Request.Form("textfield"))
    Repeat1__index = 0
    i = 1

    %>

    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body>

    <form name="form1">
    <input name="company" type="hidden" value="<%= y %>">
    <%
    While ((Repeat1__numRows <> 0))
    Set us = CreateObject("Scripting.FileSystemObject")

    strTemp1 = us.GetBaseName(us.GetTempName)
    strTemp1 = Right(strTemp1, Len(strTemp1) - 2)
    y = Left(y, 3)
    %>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><input name="<%="password" & i %>" type="text"
    value="<%=Response.Write(strTemp1) %>"></td>
    <%
    Set uk = CreateObject("Scripting.FileSystemObject")
    strTemp2 = uk.GetBaseName(uk.GetTempName)
    strTemp2 = Right(strTemp2, 3)

    %>
    <td><input type="text" name="<%="username" & i %>" value =
    "<%=Response.Write(y & strTemp2) %>"></td>
    <td>&nbsp;</td>
    </tr>
    </table>

    <%
    Repeat1__index=Repeat1__index+1
    Repeat1__numRows=Repeat1__numRows-1
    i = i+1
    Set us = Nothing
    Set uk = Nothing

    Wend
    %>
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>

    ericMorcombe Guest

  6. #6

    Default Re: Can ANYONE help?

    Bring Me Sunshine, In ur smile, make me happy all the while!
    The_FedEx_Guy Guest

  7. #7

    Default can anyone help?

    :confused; I would love any help with this problem. When trying to open up
    anything that's in pdf format, Iam brought to an AOL sign in page. We do not
    have AOL as an internet carrier. I have been able to bypass this and no one
    seems to be able to help.

    anna bannana Guest

  8. #8

    Default Re: can anyone help?

    Hi anna bannana,

    I would suggest submitting this to an Adobe Reader forum for more exposure. The forum posts here are related to Flash Player.

    Darren McNally - Adobe Guest

  9. #9

    Default Re: can anyone help?

    sorry, this is where your girl on the phone told me to place it
    anna bannana 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