Calling a style from an XML through Flash
Ok, so here's the situation. I want my Flash button to call a URL from an XML that then opens up a AJAX window (like lightbox or multibox) over the page. So the user clicks on Flash and a AJAX pop up appears. I've set up the popups, I'm using facebox (which is really nice). They way the do this is by creating an ID DIV like below:
<div id="world1div" style="display:none;">
<p><span id="title">TITLE</span></p><p>
CONTENT</p>
</div>
This will make the pop up say "TITLE" and then "CONTENT".
Now to call this pop up, the <a> looks like:
<a href="#world1div" rel="facebox">OPEN POP UP</a>
So... now I have a Flash that can call to XML and get a URL. The problem is when I put "#world1div" in the url portion of the XML, it doesn't work. How do I call this ID from XML?
Try wrapping it in a CDATA tag.
<Link><![CDATA[#world1div]]></Link>
Similar Messages
-
How can i install ios 8 downloaded from another source through flash drive?
how can i install ios 8 downloaded from another source through flash drive?
You can not download from a flash drive. You can do over the air, or you can connect your iPhone to your computer and download iOS 8.1 via iTunes.
-
Calling a Form from Report hyperlink through parameters
How do I query a form on load after it gets called from a report hyperlink. I would like to whether it can be done passing parameters from oracle reports to oracle forms, if so how do I send the value clicked from report hyperlink into an oracle form. Requesting help on this. Thank you.,
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by The Oracle Reports Team ([email protected]):
SUGUNAN,
There is no built in mechanism to call Oracle Forms from Oracle Reports. Usually, customers want to call Reports from Forms which is a built-in feature of Forms using Run_report_object.
Regards,
The Oracle Reports Team<HR></BLOCKQUOTE>
Thanks for your reply. It would be very useful for customers like us, if Oracle can incorporate such a facility in the newer versions of Reports.
Regards,
Sugunan
null -
How do I trigger commercial breaks from ad networks through Flash Media Encoder 3.2
We stream live sporting events and need to trigger commercial breaks through Flash Media Encoder. We need the trigger to get to our ad network and they in turn would insert the spots into the programming. I know it can be done but am not sure how to go about this with the software.
Hi MarcSaphiron,
Could you please send the samples?It will be much helpful to complete my
job within the deadline.
Thanks in advance.
Regards,
Sasharyuva -
Dear all,
I am trying to create a customer from external system through bapi. For this is i have to follow these steps.
1) I am trying to call a report from external system through bapi.
2) I want to pass data from bapi to a bdc program and run it to create a customer.
3) After creating a customer I need to send the ceated customer no again to the bapi from where i passed the data to bdc.
is it possible .
Give me a good idea on this how to work with it.
Regards,
Madhu.Hi Madhu,
SAP has already given standard BAPI to create customer creation "BAPI_CUSTOMER_CREATEFROMDATA". So there is no need for you to create any thing new. Jut test this BAPI first whether this suit your requirement or not. If it satisfy your requirement then call it directly from external system. On how to call this BAPI or other BAPis searc google or SDn you will definetaly find something.
second approach is if nothing works for you( No BAPI satisfy your requirement) then only go for BDC aapproach. To do that, create a RFC function module( BAPi and RFC FM are diff thing, they looks same but they are not ). Inside your RFC FM directly write the BDC code to create customer.
Regards
Anurag -
Hi,
I am new to BSP. I have to call SAP Screen on button click event on BSP and also need to pass data at runtime.
I searched this forum but didn't find the right solution. I tried to call SAP screen from BAPI and through URL but no success.
Anyone knows how it can be done?
Regards,
Usman MalikThanks for your reply,
Actually I am very new to BSP. I don't understand where to put this code?
[System]
Name=DEV
Description=DEV [Development]
Client=123
[User]
Name=RAJA
Language=EN
[Function]
Title=
Command=*SU01 USR02-BNAME=raja;
Type=Transaction
[Configuration]
WorkDir=d:xxxxxxSapWorkDir
[Options]
Reuse=1
Second thing is about shortcut. Do I have to place this shortcut on server?
Thanks,
Usman Malik -
Calling another module from designer
Please help,
When i call a module from another module through designer, I get frm-40010 - can't not read from the "module name". It can't find the form because the directory path is not generated in the calling form. I know this, because if i put the path on the generated form using "Form builder" it works.
How do I make designer find called form(modules)
thanks<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by floresr:
Please help,
When i call a module from another module through designer, I get frm-40010 - can't not read from the "module name". It can't find the form because the directory path is not generated in the calling form. I know this, because if i put the path on the generated form using "Form builder" it works.
How do I make designer find called form(modules)
thanks <HR></BLOCKQUOTE>
resolution
Go to the registry
hkey_local_machine
software
oracle
forms60_path and add the directory where designer is putting the forms
null -
Is it possible to call a movieClip from the Flash library using XML?
Instead of using "test_1.swf" or "test_2.jpg" in the <IMAGE> tags shown below, we are wanting to call a movieClip from the same library as the .FLA via XML.
Is this possible using XML and AS3?
< ?xml version="1.0" encoding="UTF-8"?>
< all>
< GROUP>
<IMAGE>test_1.swf</IMAGE>
<QUESTION>Question example #1</QUESTION>
<OPTION1>Option A example</OPTION1>
<OPTION2>Option B example/OPTION2>
<OPTION3>Option C example</OPTION3>
<IMAGE>test_2.jpg</IMAGE>
<QUESTION>Question example #2</QUESTION>
<OPTION1>Option A example</OPTION1>
<OPTION2>Option B example/OPTION2>
<OPTION3>Option C example</OPTION3>
< /GROUP>
< /all>data.xml:
< ?xml version="1.0" encoding="UTF-8"?>
< all>
< GROUP>
<IMAGE>MC1</IMAGE>
<QUESTION>Question example #1</QUESTION>
<OPTION1>Option A example</OPTION1>
<OPTION2>Option B example/OPTION2>
<OPTION3>Option C example</OPTION3>
<IMAGE>MC2</IMAGE>
<QUESTION>Question example #2</QUESTION>
<OPTION1>Option A example</OPTION1>
<OPTION2>Option B example/OPTION2>
<OPTION3>Option C example</OPTION3>
< /GROUP>
< /all>
// a.s.
var urlLoader:URLLoader=new URLLoader();
urlLoader.addEventListener(Event.COMPLETE,completeF);
urlLoader.load(new URLRequest("data.xml"));
function completeF(e:Event):void{
var xml:XML=XML(e.data);
var instance:*=stringToClassInstanceF(xml.GROUP.IMAGE[0]);
addChild(instance);
function stringToClassInstanceF(s:String):*{
var C:Class=Class(getDefinitionByName(s));
return new C(); -
Sliding Flash Interface - Using Links from an XML file Problem
Hi All,
Working on a new site for the company i've recently started
working for... fairly new to flash but wanted to try this sliding
interface for the graphic banner at the top of the page...
have a look here at an early version of the site - sliding
graphic interface at the top with coloured rollover buttons (a lot
of work still to do! feel free to post constructive criticism)
(am I allowed to post links??)
here is the unfinished version with no links in the flash bit
http://www.westfieldhealth.com/website/index.asp
The Problem:
I am pulling in a 'heading' 'text' and 'image' into the
sliding graphic interface from the following xml file... (there are
4 different xml files for 4 different slides)
<?xml version="1.0" encoding="iso-8859-1"?>
<content>
<dialogue>
<heading>Interested in selling our health
plans?</heading>
<text>Click here to learn more...</text>
<img>home_window/intSmall.jpg</img>
</dialogue>
</content>
I want to add a link to the xml that would be specific to
each instance of the window...
eg
<link>contact-us/index.asp</link>
But my limited knowledge of flash means I have no idea how to
pull the link through from the xml file to use in the flash...
Perhaps I need link text to pull as well
eg
<link-text>click here to contact us</link-text>
Here is the function that pulls in the img, heading and txt
public function onComplete(event:Event):void {
var loader:URLLoader = event.target as URLLoader;
if (loader != null) {
externalXML = new XML(loader.data);
mover_mc.heading_txt.htmlText =
externalXML.dialogue[0].heading;
mover_mc.myText_txt.htmlText = externalXML.dialogue[0].text;
var url:URLRequest = new
URLRequest(externalXML.dialogue[0].img);
myLoader.load(url);
} else {
trace("loader is not a URLLoader!");
Can anyone help me on how to pull in the link from the xml
and use it to navigate to a different page on the site
Thanks very much
Hans
link to
my unfinished flash file...What is the exact error you get (what db version also), could you post a simplified version of the SQL which fails also? I have splitter based maps that successfully read from file via the XMLType(bfilename....) style code and insert into multiple targets, I did this on 11g though.
Cheers
David -
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();
} -
Hi all
Is it possible to run a command prompt(or DOS Command) through flash.If it possible please guide me to do that throug AS 3.0.
and
Is it Possible to run a activex (.OCX) file from flash. If it is so please guide me the way to do it
Thanks and Advance
Sankar.M.SOr create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).
-
cannon 8800F not working with OS X yosemite 10.10.1 . I have downloaded the latest drivers and firmware from Canon. I called Canon for support and went through all the checks , but, still my iMac did not see the scanner. Any new ideas?
Have you done any of the following?
http://support.apple.com/kb/PH18614 OS X Yosemite: Reset the printing system
Repaired permissions & restarted your comp after the installations of the drivers?
Sometimes, installing the GIMP drivers help with printing issues: http://gimp-print.sourceforge.net/MacOSX.php
What to do when you can't print
=============
not working with OS X yosemite 10.10.1
Per your profile
Mac OS X (10.7.3)
Conflicting info: Please update/correct your profile so that you can receive the correct troubleshooting suggestions. This will assist the users in trying to help you. Thank you. -
How to Call HTML Layers from Flash?
how to Call HTML Layers from Flash? i need a help on example
or script.What do you mean html layers? You can call JavaScript on the
page using the
ExternalInterface class. There's examples in Help if you look
up the EI
class, and it's call method.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Load variables from XML into Flash
I was wondering how to load variables from an XML document to
a Flash file? I am familiar with the code to do it for a text file,
but was wondering how to do it for XML.
Many thanks in advance!
JJThanks for the recommendation on the site. What I am trying
to do is load varaibles from an XML file into text boxes in my
flash movie.
Here is my loading:
var my_xml = new XML();
my_xml.ignoreWhite = true;
my_xml.onLoad = function(success){
if (success) {
gotoAndStop("slide01");
my_xml.load("narration.xml");
this is what I have on my frame with the text boxes (the text
boxes are also have the variable name in the variable area)
var narration = my_xml.picture01;
var my_title = my_xml.my_title;
var my_date = my_xml.my_date;
should I do my_date.text = my_xml.my_date; instead?
my xml doc looks like this
<?xml version="1.0" encoding="iso-8859-1"?>
<picture01>This is the text for picture
01</picture01>
<picture02>This is the text for picture
02</picture02>
<my_title>Las Vegas</my_title>
<my_date>October</my_date>
Any help on this would be GREATLY appreciated!
Text
my_date.text = my_xml.my_date; -
Help... link URL from XML to Flash Action Script 2
I am trying to link a different URL to each of my files in XML and use this XML in Flash were I created a carousel. In the carousel, when you click on a picture I would like to insert a specific URL. Each picture will have a different URL (http://------------).
Here are my codes:
XML:
<icons>
<icon image="icon1.png" tooltip="Planning" />
<icon image="icon2.png" tooltip="Investments" />
<icon image="icon3.png" tooltip="Education" />
<icon image="icon4.png" tooltip="Insurances" />
<icon image="icon5.png" tooltip="Mortgages" />
<icon image="icon6.png" tooltip="Retirement" />
<icon image="icon7.png" tooltip="Business Owner" />
<icon image="icon8.png" tooltip="Banking" />
</icons>
Flash Action Script 2:
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 250;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.01;
var perspective:Number = 60;
var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.ref.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
function over()
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
function out()
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
function released()
function moveTip()
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
xml.load("icons.xml");
function mover ()
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) / (centerY+radiusY-perspective);
this._xscale = this._yscale = s * 100
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
this.onMouseMove = function()
speed = (this._xmouse-centerX)/10000;
Thanks so much for the help.You should be able to add that data into your xml tags and then extract it in the AS2 onLoad function...
XML:
<icons>
<icon image="icon1.png" tooltip="Planning" linkURL="http://www.someURL.com/somePage.html" />
AS2:
xml.onLoad = function()
etc....
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.urlLink = nodes[i].attributes.linkURL;
etc...
Maybe you are looking for
-
An error occurs when rendering to PDF from Reporting Services
Hi there, I am hoping that someone can help me, i have looked everywhere and cannot find an answer to this error. I have a report from visual studio 2008 on reporting services and it displays however exporting to PDF gives me the following error. Ser
-
what can i do?! all the configurates are okay...
-
Can u transfer files via airdrop from a iphone 5 to a mac and vice a versa
hi, can u transfer files via air drop from an iphone 5 to a mac air, and mac air to a iphone 5.
-
Hi all, I am using two different camera to shoot RAW files (Nikon D60 and Cannon G9). Neither has an officially supported GPS unit. Even if they did, I do not really want to buy two different GPS units anyways. Does anyone know of a "universal GPS" u
-
I have been having a world of problems with this motherboard. It a long story but I will start with what is going on now. The machine has some of the strangest behavior. 10-30 minute boots. This happens every time I boot the machine after the first r