Call ASP page on Flash Button
Hi, I am a newbie to Flash, i want to call ASP page (.aspx) on Flash button click Event.
thanks in advance.
David,
I don't know what that file is. Can you elaborate?
Thanks,
Chris
quote:
Originally posted by:
Newsgroup User
chriscatalano wrote:
> Hopefully this is a simple problem. I've added a Flash
Button via the Insert
> Media -> Flash Button in DW8. Unfortunately the
button does not show up when
> the php page is loaded up to the server. And yes, I did
make sure to upload
> the button file.
But did you upload this file?
Scripts/AC_RunActiveContent.js
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/
Similar Messages
-
Calling ASP script from APEX button passing Bind variable
I am looking for some examples or best form for calling asp script from apex button that will pass apex bind variable to asp script to process.
Thanks,s
BobI am surprised by the degree of no replies. I have solved this by using asp redirects such as:
Response.Redirect("test.aspx?UserName="&user)
My formulated solution contains a page with a manually built interactive report. I have a number of bind variables at the top of the reoprt where users can query the information they want based on desginated database columns for this particular report. Once they have the "manual" interactive report displaying what they want, they click a button where a asp script is called with parameters passed that calls a Java based Crystal Reports plugin with the called correspnding report displayed with passed parameters.
Works like a charm!
This solves our reporting needs without having to resort to Bi Publisher (much too expensive) and other third party applications that kinda indicate it can work with apex but provide limited help or best form for doing so.
Bob -
How To Call asp page in j2me application.....?
Hi friends...
I m Developing small application on j2me to call asp page on j2me .
I Dont know how shoud i call this page into j2me .is there any setting we have do in it?
Plz anyone know plz tell me its urgent...
i tried but it will give 401 file not found error
Thnks and Regards
Shri KHi Alekh,
To turn off authentication you must create and make current a No Login Authentication authentication scheme.
or change Page / Security / Authentication as "Page is Public"
Regards,
Benz -
Calling a page from a button url
Can you give me a hint how to call (branch to) a page from a button which is placed behind an item in a region. If I choose button to be a HTML button this should be possible. I think it's documented in User Guide Page 6-22. But description is not very informative. It's easy to do if the button is in a region position.
Regards ChristophChristoph,
For buttons in region positions the branches can be associated with the button by picking the button from the "When Button Pressed" select list. For buttons displayed among the region items, you need to conditionally branch based on the request send by the button. Assuming you already created the button and a branch that takes you to the target page, edit the button, scroll down to "Button Request Value" and type in your request string, e.g. BUTTON_PRESSED. Then edit your branch, and make it conditionally based on a request "Request = Expression 1" and type in your request string BUTTON_PRESSED into the Expression 1 field.
Hope this helps,
Marc -
How to call html page rear adf button
Hello,
I've an html page with javascript code and css in adf project. Is it possible to call my html page rear an adf button if yes how?af:goLink or af:goButton should do it.
-
Hello,
I have created button in flash and I want that each time I
press on the button, html page will open in frame name mainFrame in
my site the problem is the html page always open in new window.
As you can see in the code attach, I have two frames in my
page one called leftFrame and the flash button is in there, and the
other is mainFrame which i want to open test.html in
any idea how to solve this?
thanksWhat happens if you use the full absolute url instead of a
relative url? -
Can I display html pages in flash player
Hi all,
Can I display html pages in flash player, i mean swf. Plz
help me if it can be done. Can I call html pages in flash (i mean
in flash player no new window)
Thankshi,
Actullay i want the site to be opened with in the flash
player, just like iframe in dreamweaver calling the external site
in the mail html page. Plz Help me accessing external site page
with in flash player
Thanks -
Problem layering FLASH buttons over embedded VIMEO video
Hi all,
I am trying to layer my flash buttons over an embedded vimeo video, see the problem, rollover "The Boys" button: http://thehallbrothers.com/index3.html
I have set the vimeo video in a DIV called "stagereel" and the flash buttons in a DIV called "buttons1."
The z-index of "stagereel" is set to 0 and "buttons1" is set to 3, but nonetheless "buttons1" shows behind "stagereel."
Can anyone help?
Thanks
JThanks for all your help Ned, but I found out the problem. When layering multiple FLASH files within the same HTML document the layer position of the FLASH elements is determined by the order of the HTML code – meaning, whatever FLASH file is last in the code will display in the topmost layer. So for my problem I just swapped the position of the Vimeo video with my flash buttons and bam the buttons play on top of the video. Hope this maybe helps others.
SOLVED. -
hi, I have got to send sth by ASP in Flash. I wrote some code
but this doesnt work. Do anyone know what wrong?
This is what i am writing
on (press) {
form.loadVariables("email.asp", "POST");
If I just click on email.asp without Flash, I will get a
email from there. But if I use the above method to call that page,
the email wont be sent. So do anyone know what wrong?If you want to call the asp file from flash you should do it
like this
lv= new LoadVars();
lv.onLoad(success){
if(success){
trace("file was called");
lv.emailAddress="[email protected]"
lv.sendAndLoad("email.asp", lv,"POST");
The code above is for calling email.asp, pass a variable
called emailAddress via POST and handling a response from the asp,
if you do not wish to receive a response from the asp just use
send() instead of sendAndLoad(); -
This is happening with an ASP page. Not sure when it started, but the page used to work fine. The Java script is listed in the troubleshooting section. The button calls nextPic() which calls showPic(). After nextPic processes the page is reloaded.
A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.
See http://forums.mozillazine.org/viewforum.php?f=25 -
Trying to call MM_showHideLayers on container HTML page from Flash
I'm designing a site that is mostly in Flash, but I would
like to show some content by changing the visibility of a layer on
the HTML page that contains the swf file. I have tried
on (press)
{ExternalInterface.call("MM_showHideLayers",'testerbox','show');
and
on (press)
{ExternalInterface.call("MM_showHideLayers('testerbox','','show')");
and I have tried
on (press)
{getURL("javascript:MM_showHideLayers('testerbox','','show')");
My HTML page code is below. Can anyone tell me what I am
doing wrong and point me in the right direction? Can this be done?
Is there a better way to display large amounts of highly formatted,
dynamic content from within Flash without loading a new page or
resorting to a pop-up window? I really want it to look and feel
like it is all part of the same page, and I need more tags than I
can use in a Flash textbox. Thanks in advance :-)
Teri
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script type="text/javascript"
src="swfobject.js"></script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_showHideLayers() { //v6.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if
((obj=MM_findObj(args
))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style;
v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
obj.visibility=v; }
//-->
</script>
<style type="text/css">
<!--
#testerbox {
position:absolute;
width:200px;
height:115px;
z-index:6;
left: 69px;
top: 42px;
background-color: #FFFFFF;
visibility: hidden;
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<table width="316" height="180" align="left"
cellpadding="0" cellspacing="0">
<tr>
<td
background="../images/innerpage/sidebar-bg-iframe.jpg">
<div id="testerbox">My test</div>
<div id="flashcontent" align="center">
<p>
You must have Flash Player to use this feature.<br>
<br>
<a href="
http://www.macromedia.com/go/getflashplayer"
target="_blank">Click
here</a> to download or upgrade your Flash Player
</p>
</div>
<script type="text/javascript">
// <![CDATA[
var so = new
SWFObject("leaders.swf","leaders","316","180","6");
so.write("flashcontent");
// ]]>
</script>
</td>
</tr>
</table>
</body>
</html>
Text
Text
Text
TextHi, did you get a solution to this problem, i am having a similar issue with the MM_showhidelayers not working in IE6, it works fine in IE8?
the code im using on a flash button is:
on (press) {
import flash.external.ExternalInterface;
ExternalInterface.call("MM_showHideLayers('menu','','show','menu_back','','show' )");
Thanks
Gary -
Calling a procedure from an OAF page through a button in the screen
problem: calling a procedure from an OAF page through a button in the screen
CREATE OR REPLACE procedure APPS.xx_delete_dept_prc(p_id in number)
as
begin
delete from xx_training_dept_tbl where td_dept_id=p_id;
commit;
end;
2. create image button for delete
3. set the following property to this button:
action type : fire action
event :DeleteDept
parameter :
name: DEptIdParam value: ${oa.XxTrainingDeptVO1.TdDeptId}
4. create Co and writing the following code on process form request
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String actionInscreen=pageContext.getParameter(EVENT_PARAM);
if ("deleteDept".equals(actionInscreen))
String deptidparam=pageContext.getParameter("DeptIdParam");
Serializable [] s={deptidparam};
Class [] c={deptidparam.getClass()};
OAApplicationModule am=pageContext.getApplicationModule(webBean);
am.invokeMethod("deleteDept",s,c);
throw new OAException("delete completed",OAException.INFORMATION);
5. create AM and writing the following code
public void deleteDept(String deptid) {
XxTrainingDeptVOImpl deptview= getXxTrainingDeptVO1();
deptview.deleteDept(deptid); }
6.create VO and writing the following code in view object class
public void deleteDept(String deptid
System.out.println("Dept ID =" +deptid);
String s = "call xx_delete_dept_prc(:1)"; // :1 is the number of parameter to pass it to procedure
CallableStatement cs =trx.createCallableStatement(s,1); // 1 number of record to fetch but delete always delete 1 row
try
cs.setString(1,deptid); // the name of the first parameter
cs.execute();
cs.close();
catch (SQLException e)
e.printStackTrace();
} -
Javascript call from a Flash button
I have 2 Panel Groups of 5 panels each and I made a Flash
button to controll them.
The following code works if the panels are both open but it
only works the first time.
Then the second time I get an error;
cpg is undefined
CODE:
on(release){
getURL("javascript:cpg.closeAllPanels();cpg2.closeAllPanels()");
This would need to work for both panelgroups even if only one
is open.
I tried using fscommand but not sure how to write it.Hi Doug,
A few questions for you...
<ol>
<li>What functionality are you trying to achieve?</li>
<li>What version of APEX are you using?</li>
<li>When you say 'process', do you mean 'Page Process'?</li>
</ol>
There are definitely ways of submitting the page and triggering a page process to run via JavaScript, but it would be good to better understand your requirements first before proposing a certain solution.
Regards,
Anthony. -
Calling the ASP page through a BSP application
Hi,
We are in the process of implementing Digital signature for SRM cFolders.
BSP application : CFX_RFC_UI
Pages with flow logic : doc_de_download
The digitally signed files are uploaded to the cFolders.On click of a
particular file in cFolders, the 'ASP' page residing on the server in IIS
vertual directory i.e. 'verifyfile.asp' should get called.This ASP page has
the logic to verify the signed file.
The signed file resides on the file system in the same vertual directory.
As a result we want to post a message on the screen which
will be the output of the ASP page logic.
Please suggest the way to achieve this.
Regards,
Nilesh
Message : ---
<b>Verification Successful</b>
Certificate Details
The certificate is valid
CRL Status: Certificate Revocation Status is Unknown: CRL Not checked
Email Id: [email protected]
Issuer Name: ock Demo Certification Authority
Serial Number: 15 65 7a 0a 00 00 0d d9
Subject Name: Email Address = [email protected] | Country = US
| StateOrProvince = VA | Locality = McLean | Organization = Technologies Corporation | Organizational Unit = ock Demo | Common Name = Valid ock |
ThumbPrint: 16 00 c1 f4 76 aa 57 f2 20 27 0f 21 44 9e 08 9d 61 ca dd 95
Valid From: Monday, April 10 2006,02:19:58
<i><b>The code in OnInitialization event handler is as follows :----</b></i>
* doc_de_download.htm
DATA lp_root_exception TYPE REF TO cx_root.
DATA lp_doc TYPE REF TO cl_cfx_document.
DATA l_cur_ver_id TYPE guid_32.
DATA lp_col_app TYPE REF TO cl_cfx_col_application.
DATA lp_col TYPE REF TO cl_cfx_collaboration.
DATA : icontent type table of sdokcntbin.
data : w_tmpcontent TYPE sdokcntbin.
**** Data declaration
data : g_folder_path TYPE btcxpgpar value 'usrsapDigitally signed files',
g_md(100) TYPE c,
g_file_path TYPE string,
g_system TYPE rfcdisplay-rfchost,
g_os TYPE sxpgcolist-opsystem,
g_file_size TYPE string,
g_mime_type TYPE string,
g_file_ext TYPE string,
g_len1 TYPE i,
g_var TYPE c,
g_out_file TYPE c LENGTH 600,
g_file_count TYPE p,
g_table_lines TYPE p,
g_counter TYPE p VALUE 1,
g_flag TYPE c.
DATA : i_doc_id TYPE sysuuid_c.
CONSTANTS : c_dot TYPE c VALUE '.'.
TRY.
IF NOT p_refresh IS INITIAL.
cl_cfx_ui_application=>delete_instance( ).
ENDIF.
TRANSLATE p_col_id TO UPPER CASE. "Just in case...
TRANSLATE p_area_id TO UPPER CASE. "Just in case...
TRANSLATE p_topic_id TO UPPER CASE. "Just in case...
TRANSLATE p_doc_id TO UPPER CASE. "Just in case...
TRANSLATE p_ver_id TO UPPER CASE. "Just in case...
TRANSLATE p_save TO UPPER CASE. "Just in case...
* initialize in case of server state timeout
IF ( NOT p_col_id IS INITIAL ) AND
( NOT p_area_id IS INITIAL ) AND
( NOT p_topic_id IS INITIAL ).
CALL METHOD cl_cfx_context_ui=>initialize
EXPORTING
i_col_id = p_col_id
i_area_id = p_area_id
i_topic_id = p_topic_id
i_doc_id = p_doc_id
i_object_type = cfxf1_sc_doc_type_document.
ENDIF.
IF NOT p_col_id IS INITIAL.
lp_col_app = cl_cfx_col_application=>get_instance( ).
lp_col = lp_col_app->get_collaboration( p_col_id ).
ENDIF.
* Do we need to prepare to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, prepare checkout
TRY.
lp_doc->if_cfx_document~lock( ).
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
data: lt_formfields type TIHTTPNVP,
l_formfield type IHTTPNVP,
l_request type STRING.
data: lt_headerfields type TIHTTPNVP,
l_headerfield type IHTTPNVP.
CALL METHOD request->get_form_fields
CHANGING
fields = lt_formfields.
CALL METHOD request->get_header_fields
CHANGING
fields = lt_headerfields.
* CALL METHOD cl_cfx_doc_ui=>retrieve_content
* EXPORTING
* ip_navigation = navigation
* ip_response = response
* ip_runtime = runtime
* i_col_id = p_col_id
* i_area_id = p_area_id
* i_topic_id = p_topic_id
* i_doc_id = p_doc_id
* i_ver_id = p_ver_id
* i_save = p_save.
* Do we need to checkout this document?
cl_cfx_doc_ui=>get_docref_safe(
EXPORTING
i_guid = p_doc_id
IMPORTING
ep_docref = lp_doc ).
IF ( NOT p_filepath IS INITIAL ) AND ( p_do_lock = 'X' ).
* l_cur_ver_id = lp_doc->if_cfx_versioning~get_current_version( ).
IF l_cur_ver_id = p_ver_id.
* OK, do checkout
TRY.
CALL METHOD cl_cfx_doc_ui=>mark_doc_as_checked_out
EXPORTING
ip_doc = lp_doc
i_filepath = p_filepath.
CATCH cx_root.
ENDTRY.
ENDIF.
ENDIF.
i_doc_id = p_ver_id.
CALL FUNCTION 'CFX_API_DOC_DOCUMENT_READ'
Exporting
i_doc_version_id = i_doc_id
IMPORTING
e_file_path = g_file_path
e_file_size = g_file_size
e_mime_type = g_mime_type
e_file_ext = g_file_ext
TABLES
et_content = icontent.
****** Download document
IF NOT icontent[] IS INITIAL.
*** PERFORM sub_download_file USING g_file_path.
CONCATENATE g_folder_path g_file_path
INTO g_out_file.
OPEN DATASET g_out_file FOR OUTPUT IN BINARY MODE.
IF sy-subrc = 0.
LOOP AT icontent INTO w_tmpcontent.
TRANSFER w_tmpcontent TO g_out_file.
ENDLOOP.
ENDIF.
CLOSE DATASET g_out_file.
CLEAR g_out_file.
ENDIF.
CLEAR: p_area_id, p_col_id, p_doc_id, p_save,
p_topic_id, p_ver_id, p_filepath.
** handle other standard exceptions
CATCH cx_root INTO lp_root_exception.
CALL METHOD cl_cfx_exception_ui=>handle
EXPORTING
ip_exception = lp_root_exception
ip_navigation = navigation.
ENDTRY.Hi,
Something like this should work:
REPORT zggar_http_client.
PARAMETERS: p_host TYPE char100 DEFAULT 'http://www.google.fr',
p_port TYPE char20.
DATA: wcl_client TYPE REF TO if_http_client.
DATA: w_content TYPE string,
w_host TYPE string,
w_port TYPE string,
w_proxy_host TYPE string,
w_proxy_port TYPE string,
w_path TYPE string.
w_host = p_host.
w_port = p_port.
CALL METHOD cl_http_client=>create
EXPORTING
host = w_host
service = w_port
proxy_host = w_proxy_host
proxy_service = w_proxy_port
IMPORTING
client = wcl_client.
wcl_client->request->set_header_field( name = '~request_uri'
value = w_path ). "#EC *
wcl_client->request->set_header_field( name = '~request_method'
value = 'GET' ). "#EC *
* send and receive
wcl_client->send( ).
wcl_client->receive( ).
* display content
w_content = wcl_client->response->get_cdata( ).
Best regards,
Guillaume -
How to call html page with in the flash
I am new to action script, can some one guide me how to call html page with in the flash. lets say i have movie clip having instance name as "news_feed", I need to disply the html page in this news_feed. kindly help me, thanks alot
some one tell me, weather it is possible or not ??
Maybe you are looking for
-
Media Encoder not fully utilizing CPU
CPU: - i7-4930K 3.4GHz (4.5GHz OC) RAM: - 32GB Kingston 2400MHz HDD: - System: Samsung 840 Evo SSD - Media: 2x600GB Seagate 10K SAS 6GB/s, + Highpoint Rocket RAID Controller (RAID 0) GPU: - NVIDIA Quadro K2000 3GB OS: -
-
How to increase footnote space?
Hi! I am working on a piece of text in Indesign CS6. The text contains the work at the top and a commentary to the work in the footnote area. The commentary is quite lengthy, thus there are many footnotes for just one paragraph. The opening paragraph
-
Track stops recording after about an hour
Hi Everyone, I am trying to record from some old tapes in order to create mp3s. The track stops recording after about one hour. The Tape is over one hour long. I read about a similiar problem in the forum and tried dragging the purple timeline marker
-
So I've been struggling with this wierd bug. Basically we have this JSFL script that we use to tag our assets in our FLAs (like, this is a "chair" or a "door", etc...). We decided to move the metadata from stage instances (which use the Element.set
-
Device will not recognize fingerprint
,device failed to recognize fingerprint today, how do i use my phone