Modify flash movie from HTML form
so here is what I have:
I have a flash movie and as the flash movie plays there are
elements that say things like, "Your company name here" or "Your
title here", or "Your Product Picture here" etc.
From an HTML form (I can do all this part) I would want
someone to be able to specify their customized information and
SOMEHOW that would end up in the Flash movie. I would like to know
whether I need special software to create these. I ultimately need
have the final product be a .swf with the form-entered information
like Company Name, etc.
I don't know what I need in order to do this. I'm basically
info-gathering. Ask any questions if I am leaving anything out that
might help you help me identify what we need.
Thanks in advance.
no. none from me. i honestly dont have the first clue
Similar Messages
-
Crop flash movie from top ???
I'm trying to crop my flash movie from the top. I'd like to
crop it by 20 pixels or so. I heard there was a way to do this
using the "SALIGN" parameter and alignment tags but I don't know to
code it. Can someone revise my code (below) to include the proper
parameters and tags? Thanks.
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<title>Photos</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body bgcolor="#000000" text="#000000" topmargin="0">
<div align="center"><script
type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','766','height','720','src','header','quality','high','pluginspage','http://www.macromed ia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie','header'
); //end AC code
</script><noscript><object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="766" height="720">
<param name=movie value="header.swf">
<param name=quality value=high>
<embed src="header.swf" quality=high pluginspage="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="766" height="720">
</embed>
</object></noscript></div>
</body>
</html>Tzvetan,
Goto Properties of the Gauge
Behavior>common>Needle Movement
Increment and value as "0"
-Anil -
Can't pass parameter from HTML form of multipart/form-dta type to JSP
I am using request.getParameter(passed variable name) to pass data from HTML form to JSP with no problem. WHen I try to pass data from HTML form of multipart/form-dta type to JSP as following:
< form enctype="multipart/form-data" name="theForm" method="post" ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/stringsecond.jsp">
The passed value is null. Why?
How can I pass data successfully from this form to JSP?
How can I pass data from JavaScript to JSP?
Thank youI am using request.getParameter(passed variable name)
to pass data from HTML form to JSP with no problem.
WHen I try to pass data from HTML form of
multipart/form-dta type to JSP as following:
< form enctype="multipart/form-data" name="theForm"
method="post"
ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
-cts/stringsecond.jsp">
The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
How can I pass data successfully from this form to
JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
robert -
JEditorPane can't handle POST from HTML form?
I posted this before but i never got an answer so i'll try again :-)
Im running a tomcat server were i have a jsp script that uploads files to the server. What i need to do to is to use a regular java application for the rest of the "project" im working on.
And i can get the JSP page to be displayed properly using JEditorPane but i cant get the html FORM POST in the JSP to execute... i dont know if theres some limits in JEditorPane or if im just using the wrong type of approach on this one.
This is the server
http://chilly-schrimp.kicks-ass.org/uploadbean/SimpleUpload.jsp
(only works if my computer is turned on)
Heres the code:
=======================================================================
import javax.swing.*;
import javax.swing.event.*;
import java.io.*;
public class JSPtest {
public static void main(String[] args) {
JEditorPane pane = null;
try {
pane = new JEditorPane("http://chilly-schrimp.kicks-ass.org/uploadbean/SimpleUpload.jsp");
catch (IOException ex) {
ex.printStackTrace(System.err);
System.exit(1);
pane.setEditable(false);
// Add a hyperlink listener.
final JEditorPane finalPane = pane;
pane.addHyperlinkListener(new HyperlinkListener() {
public void hyperlinkUpdate(HyperlinkEvent ev) {
try {
if (ev.getEventType() == HyperlinkEvent.EventType.ACTIVATED)
finalPane.setPage(ev.getURL());
} catch (IOException ex) { ex.printStackTrace(System.err); }
JFrame frame = new JFrame();
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setContentPane(new JScrollPane(finalPane));
frame.setSize(350,400);
frame.setVisible(true);
=======================================================================
any suggestions??
thanx
/ericI am using request.getParameter(passed variable name)
to pass data from HTML form to JSP with no problem.
WHen I try to pass data from HTML form of
multipart/form-dta type to JSP as following:
< form enctype="multipart/form-data" name="theForm"
method="post"
ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
-cts/stringsecond.jsp">
The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
How can I pass data successfully from this form to
JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
robert -
Displaying Flash movie from UCM
Hi,
could anyone help me how to display a flash movie from UCM on webcenter portal page? I tried to do this by Image component, however flash displays after clicking image in new window.
How can I achieve functionallity to show flash movie automatically when user displays page?
I would be grateful for any help
AdamTzvetan,
Goto Properties of the Gauge
Behavior>common>Needle Movement
Increment and value as "0"
-Anil -
Driving Flash movie from VBScript
I'd like to have the ability to drive a flash movie from a VB
script for test purposes. For example, I have a SWF where a visitor
clicks on the button which performs some actions. I'd like to
script a way to do that so that I can drop it in to our build
process and, after a new update, run this script file to to load
the movie and "push the button". is that sort of thing
possible?Tzvetan,
Goto Properties of the Gauge
Behavior>common>Needle Movement
Increment and value as "0"
-Anil -
Flash navigation and HTML forms
Wondering if any one can help. Whenever I use an html form on
an html page, my flash navigation will not show up. The area where
it should be is blank and my browser status bar says that there are
two items remaining (my flash navs). The browser stays like this
indefinately, not completely loading the page.
Any suggestions ?
Thanks,
EliseThank you for reply. I appreciate it. So, if I understand
correctly:
I would embed the navbar.swf in all my html files. Then Each
button would go to each html pages (Like page1.htm page2.htm
etc...) Then I use your code in my html file right? Like each html
file will have the following code:
<param name="movie" value="nav.swf?frame=page2">
Is that how it works. Sorry for not being able to your
answer.
Thank you very much again -
I am having difficulty impanting a flash movie into my
homepage. You can see my problems at the link below:
VIEW SITE HERE
problems:
1. The drop down menus from my navigation bar fall behind the
flash movie. I've tried working with layers, but I can't figure out
how to get the flash movie to fall behind.
2. The flash movie contains interactive content, but you have
to click once on the movie itself before you can scroll over and
see the interactive parts.
How can I fix these problems? Any help is much appreciated.> 1. The drop down menus from my navigation bar fall
behind the flash
> movie.
> I've tried working with layers, but I can't figure out
how to get the
> flash
> movie to fall behind.
All Active content on a page will always rise to the top, so
to speak,
including Flash, certain form elements, Java applets, and
Active X controls.
This means that each of these will poke through layers. There
is not a good
cross-browser/platform reliable way to solve this issue, but
if you can be
confident in your visitors using IE 5+ or NN6+, then you can
use the Flash
wmode parameter (however, Safari does not support this
properly!).
Adobe articles:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15523
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201
> 2. The flash movie contains interactive content, but you
have to click
> once
> on the movie itself before you can scroll over and see
the interactive
> parts.
It's IE-only behaviour as a result of changes Microsoft made
several
years ago to their browser, regarding how Active Content
(Flash, Quicktime
etc)
is handled, after losing a high profile court case.
http://blog.deconcept.com/2005/12/15/internet-explorer-eolas-changes-and-the-flash-plugin/
Background:
http://en.wikipedia.org/wiki/Eolas
See also
http://www.adobe.com/devnet/activecontent/
If you're running Dreamweaver 8.0.2/CS3, the fix is already
built into DW's
interface.
If not, try
http://blog.deconcept.com/swfobject/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"GUwebmast" <[email protected]> wrote in
message
news:[email protected]...
>I am having difficulty impanting a flash movie into my
homepage. You can
>see
> my problems at the link below:
>
>
http://barney.gonzaga.edu/~outdoors
>
> problems:
>
> 1. The drop down menus from my navigation bar fall
behind the flash
> movie.
> I've tried working with layers, but I can't figure out
how to get the
> flash
> movie to fall behind.
>
> 2. The flash movie contains interactive content, but you
have to click
> once
> on the movie itself before you can scroll over and see
the interactive
> parts.
>
> How can I fix these problems? Any help is much
appreciated.
>
>
> -
Using xsgl:insert-request to insert non-English character data from HTML form
I tried to insert a text written in French and pasted into an HTML form into my database following the recipe from the XSQL release notes.
The table:
create table content_object (
id number(9) constraint pk_content_object primary key,
author number(9),
title varchar2(256),
abstract varchar2(1024),
object_type_id number(9),
content_meat clob,
XML file the form is posted to:
<?xml version="1.0"?>
<xsql:insert-request connection="demo"
xmlns:xsql="urn:oracle-xsql"
table="content_object"
transform="article_form_to_content_object.xsl"/>
article_form_to_content_object.xsl:
<?xml version = '1.0'?>
<ROWSET xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
<xsl:for-each select="request/parameters">
<ROW>
<TITLE><xsl:value-of select="title_field"/></TITLE>
<ABSTRACT><xsl:value-of select="abstract_field"/></ABSTRACT>
<CONTENT_MEAT><xsl:value-of select="content_field"/></CONTENT_MEAT>
</ROW>
</xsl:for-each>
</ROWSET>
The result was:
<ROW num="2">
<ID>6</ID>
<TITLE>Le go</TITLE>
<ABSTRACT>Vin bouchonn</ABSTRACT>
<CONTENT_MEAT>Des conditions de conservation au tant d</CONTENT_MEAT>
</ROW>
All strings were cropped at the point where the first accented character appeared.
Any idea why this is happening? With English texts it works just fine.
MaciejAnother user hit this problem this week. I debugged it and posted the reply in the discussion thread:
http://technet.oracle.com:89/ubb/Forum11/HTML/002799.html
It's a JDK bug in character set conversion that has a simple workaround, just indicate the ISO-8859-1 encoding on your XSQL page. See the end of this other thread for details. -
Uploading File To MySQL from HTML form via Servlet
Hello all !
I hope this is better place to ask.
I'm working on simple Servlet/Jsp application trying to hold to MVC pattern and got stuck on uploading file to MySQL db.
Here's what I'm trying to accomplish:
1) client submits a JPEG image via a simple html form on a webpage.
2) JPEG is put into a database table, column field of type BLOB.
3) Servlet processes the request, gets a connection to the db and inserts the image into the table.
4) after that user is able to retrieve an image from db and display it in JSP page.
This is pretty much the same task Angela was trying to do here:
http://forum.java.sun.com/thread.jspa?threadID=667597&messageID=3905449
I could use her snippets if i knew what is what and decided to figure out this myself. Aftet some investigation i found out that i need to import org.apache.commons.fileupload.*;which i found here: http://jakarta.apache.org/commons/fileupload/
what am i driving at ?
-----------------------1-----------------------
After first line of code
boolean isPart = FileUpload.isMultipartContent(request);netBeans 5.5 beta2 with bundled Tomcat 5.5.17 underlines this with warning saying that
org.apache.commons.fileupload.FileUploadBase
has been depreceted
is it a reason for concern ?
-----------------------2-----------------------
Is it actually good idea to store images in db as blob ?
what about large ammounts of text ?
thank you
-Dominikis it a reason for concern ?Yes.
You should take a look at the method in the documentation and find out exact reason for depricating it.
If it is depricated becouse they going to remove it in the future you should use the new alternative method becouse if you use the old method your app will not work in the future releases of the API.
If it is depricated becouse it is not safe to use the method you should clearly understand the risks involved in using the method and see if that can give you any trouble in your project.
-----------------------2-----------------------
Is it actually good idea to store images in db as
blob ?I think that it is ths best option available when you want to store binary data
what about large ammounts of text ?You can use clob columns.
By the way when you store files in the database its better you put some extra columns to store the file name and file type(mime) becouse you cant directly detect those things later by just looking at the data of the file. -
How to search xml file data based on the given keyword from html form
hi,
i'm new to XML. I have this problem regarding searching within a XML file.
the
idea is that my search will be based on the keyword entered
in
by the user from a HTML form. the keyword is then used to search all
the
question nodes and the choice nodes within a XML file. once the match
is
found, i will have to display the results.
But i don't know how to do so - especially the part of searching xml file.
Can
anyone help me in this? Your help is much appreciated.
Edited by: Moti_Lal.D on Apr 4, 2008 7:28 AMyeah.. what i was trying to do is
i have one xml fine. then i have to read all the tag values say
<book>
<title>Java</title>
<author>agarwal</author>
<price>200</price>
</book>
<book>
<title>Xml</title>
<author>saxmann</author>
<price>300</price>
</book>
i can read the tag values like this
File file = new File("dom.xml");
try {
DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder();
Document doc = builder.parse(file);
NodeList nodes = doc.getElementsByTagName"book");
for (int i = 0; i < nodes.getLength(); i++) {
Element element = (Element) nodes.item(i);
NodeList title = element.getElementsByTagName("title");
Element line = (Element) title.item(0);
what i want is i may give any xml file
like File file = new File("xxx.xml");
(it may be one level/two level/3level tagged one)
then the i should read all the tag values and store them in some array. Then when i enter some character from keyboard (say "a") then it has to show all the tag values starts with "a" and display them.
i guess u understand my problem. -
Processing cyrilic input from HTML FORM
Hello everybody,
I have faced the problem with processing the cyrilic input from the HTML form, The JSP code to receive it and store it can`t do it properly. The <page> directive has ContentType='text/html; charset=UTF-8' and the HTML itself has <meta> tag for the same charset; Only problem is that cyrilic symbols are coming from
HttpServletRequest object not properly encoded.
Can anybody help me?
Regards
PavelHave a look at
http://www.crazysquirrel.com/compgen/form-encoding.php
Jacek -
JDBC + SERVLET: inserting text data to access file from Html form
Hi everybody !
I'm trying to insert text data from my html form to access database using servlet and jdbc technologies.
The problem that I'm that the data is TEXT, but not the English language !!!
So my access db file gets - ???????? symbols instead the real text.
This is the form line that sending data to my servlet:
<form
method="POST"
ACTION=http://localhost:8080/servlet/myServlet enctype="text/html">
And this is servlet line that defines response content:
res.setContentType( "text/html" );
What can I do to get in access db file the right text format and not a ???????? symbols.
Maybe I must to ad some <meta ...> , but where ?You're dealing with Unicode, I'd guess, and not ASCII.
I guess I'd have two questions:
(1) Is the character encoding on your pages set properly for the language you're trying to use?
(2) Does Access handle Unicode characters?
Access isn't exacly a world-class database. (If it was, there'd be no reason for M$ to develop SQL Server.) I'd find out if it supports other character sets. If not, you'll have to switch to a more capable database that does. - MOD -
Calling PLSQL Stored Procedure From HTML Form Submit Button
Hi there,
I am having a little difficulty with calling a stored procedure using an html form button. Here is the code I have right now...
HTP.PRINT('<form action=ZWGKERCF.P_confdelete>');
HTP.PRINT('<input type=''submit'' value='' Yes '' onClick=''document.getElementById("mypopup").style.display="none"''>');
HTP.PRINT('</form></div>');Here is the issue - I need to find a way to pass variables to this stored procedure so it know what data to operate on. This stored procedure will delete data for a specific database record and I must pass three variables to this procedure to make it work.
Lets call them class_number, term, conf These three variables will be passed and the data will be deleted and the person will see a confirmation screen once the delete query has been executed.
So ideally I would want: ZWGKERCF.P_confdelete(class_number, term, conf) and then the stored procedure would handle the rest!
Seems pretty simple but I am not sure how to make this happen... My thoughts were:
Pass the data to this html form (the three fields I need) in hidden variables. Then somehow pass these using POST method to the procedure and read using GET?
Can someone clarify what the best way to do this is? I have a feeling its something small I am missing - but I would really like some expert insight :-)
Thanks so much in advance!
- Jeff795018 wrote:
I am having a little difficulty with calling a stored procedure using an html form button. Here is the code I have right now...
HTP.PRINT('<form action=ZWGKERCF.P_confdelete>');
HTP.PRINT('<input type=''submit'' value='' Yes '' onClick=''document.getElementById("mypopup").style.display="none"''>');
HTP.PRINT('</form></div>');Here is the issue - I need to find a way to pass variables to this stored procedure so it know what data to operate on. This stored procedure will delete data for a specific database record and I must pass three variables to this procedure to make it work. The browser generates a POST or a GET for that form action, that includes all the fields defined in that form. Let's say you define HTML text input fields name and surname for the form. The URL generated for that form's submission will be:
http://../ZWGKERCF.P_confdelete?name=value1&surname=value2The browser therefore submits the values of the form as part of the URL.
The web server receives this. It sees that the base URL (aka location) is serviced by Oracle's mod_plsql. It passes the URL to this module. This module builds a PL/SQL block and makes the call to Oracle. If we ignore the additional calls it makes (setting up an OWA environment for that Oracle session), this is how the call to Oracle basically looks like:
begin
ZWGKERCF.P_confdelete( name=> :value1, surname => :value2 );
end;Thus the PL/SQL web enabled procedure gets all the input fields from the HTML form, via its parameter signature. As you can define parameter values with defaults, you can support variable parameter calls. For example, let's say our procedure also have a birthDate parameter that is default null. The above call will still work (from a HTML form that does not have a date field). And so will the following URL and call that includes a birth date:
URL:
http://../ZWGKERCF.P_confdelete?name=value1&surname=value2&birthdate=2000/01/01
PL/SQL call:
begin
ZWGKERCF.P_confdelete( name=> :value1, surname => :value2, birthdate => :value3 );
end;There is also another call method you can use - the flexible 2 parameter interface. In this case the PL/SQL procedure name in the URL is suffixed with an exclamation mark. This instructs the mod_plsql module to put all input field names it received from the web browser into a string array. And put all the values for those fields in another string array. Then it calls your procedure with these arrays as input.
Your procedure therefore has a fixed parameter signature. Two parameters only. Both are string arrays.
The advantage of this method is that your procedure can dynamically deal with the web browser's input - any number of fields. The procedure's signature no longer needs to match the HTML form's signature.
You can also defined RESTful mod_plsql calls to PL/SQL. In which case the call format from the web browser looks different and is handled differently by mod_plsql.
All this (and more) is detailed in the Oracle manuals dealing with mod_plsql - have a search via http://tahiti.oracle.com (Oracle Documentation Portal) for the relevant manuals for the Oracle version you are using.
Alternatively, simply download and install Oracle Apex (Application Express). This is a web development and run-time framework and do all the complexities for you - including web state management, optimistic locking, security and so on. -
Controlling flash movie from another
hello
i hope someone can help me.
i have 2 flash movies in a page with a CMS and an iframe.
so quite a complicated structure...
QUESTION1:
is it possible to control one of them from the other one?
e.g. telling movie B to go to a label from a button in movie
A?
QUESTION 2
is it possible to controll either a target movie is already
loaded in the page or not?
suppose i need to check from movie A is movie B is already
loaded in the page
, load it in case it is not loaded, then tell ti to go to a
certain label?
any help would be greatly appreciated.Will require some fancy javascript gyrations. Check out
fscommand:
http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15692
Maybe you are looking for
-
How to log input parameters for Function Modules?
Hi, I need to create a Logging system to trace input parameters for function modules. The log functionality could be done by developing a class method or a function module (For example 'write_log'), and calling it within each function module that I w
-
How do I set up a redirect from a subdomain to a specific path in my site?
Running OS X Tiger Server 10.4.11 (all latest updates). For our online Web site we want to be able to allow users to type in a simple URL to get to our sign-in page which has a terribly long URL. User types http://signin.ourdomain.com ---> goes to --
-
File Browse is emptied after failed validation
Why does the file browse text box get emptied after a failed validation? Is there any way to prevent this? To further explain, create a form on a page with two page items, a text box and a file browse item, then put a not null validation on the text
-
APPLE TV , PURCHASE PROBLEM
Please help, today i bought apple tv 3th gen., everything was ok untill i bought songs . Songs didnt show up in purchase songs in Apple tv !!! In iphone i found them and download them from cloud same was in computer . Thank U
-
Address Book Autofill not working
In OS 10.3.9 while editting the address book it auto-filled based on previous entries (e.g. Country or City name, etc). Since upgrading to 10.4.7 (and 10.4.6 for that matter) this useful feature is gone. I have looked in Preferences to see if I can t