Ask a Question related to Dreamweaver AppDev, Design and Development.
-
joctobercanuck webforumsuser@macromedia.com #1
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
-
Jack. webforumsuser@macromedia.com #2
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
-
Heilander #3
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
-
Paul Whitham TMM #4
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...year.> I have a Access database containing 52 columns representing weeks of theetc> Each column has either a Y or N Data Status.
>
> Columns :-------[ID]-----[MarW1B]----[MarW2B]----[MarW3B]-----[MarW4B]Data:--------------001---------N--------------N----------------N------------>
>
----------> N
> -------------------- 002---------N--------------
> N----------------N----------------N
> ---------------------003---------N---------------N----------------Y
> ---------------N
>
> ---------------------004---------N---------------Y----------------N-------send as> ---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 Ias> the URL Parameter.
>
> I works fine when I create a recordset by defining the column in the SQLURL> 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 thedefined> Parameter.
>
> I need to display a recordset containing only Y entries in the column> 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
-
ericMorcombe #5
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> </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
-
The_FedEx_Guy #6
Re: Can ANYONE help?
Bring Me Sunshine, In ur smile, make me happy all the while!
The_FedEx_Guy Guest
-
anna bannana #7
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
-
Darren McNally - Adobe #8
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
-
anna bannana #9
Re: can anyone help?
sorry, this is where your girl on the phone told me to place it
anna bannana Guest



Reply With Quote

