Adding CDATA to an existing xml and flash asset

Hi, I am a front end web designer/developer and
analyst...struggling with putting an accordian flash xml menu
together. I have it done except I need to add a simple trademark
symbol circle with r. I am struggling with how to do this since I
am not savvy in actioncript. I assume the best way is to add it is
with a CDATA child node, but do not know how or whatever is the
best way to get this done since am on a tight deadline. I need
someone to explain step by step what I have to do to get this
simple addition resolved. Attached are the links to home page and
code for the xml file. The left navigation is the asset that I need
to add the trademark symbol under about, about ADHERE. Thanks so
much in advance!!!!!!
[URL=http://www.nodcreative.com/natrecor_sliced/natrecor_index.html]index
page with flash xml menu asset[/URL]
xml code:
<?xml version="1.0" encoding="UTF-8"?>
<accodion>
<item name="HOME">
</item>
<item name="ABOUT">
<item name= "ABOUT
ADHERE<![CDATA[write]]>"></item>
<item name="Medical Information" url="
http://www.jnj.com?ref=Random">
</item>
<item name="About SCIOS" url="
http://www.jnj.com?ref=Random">
</item>
</item>
<item name="INTERACTIVE DOSING INFORMATION">
<item name="Indications and Usage" url="
http://www.jnj.com?ref=Random"></item>
<item name="Contraindications" url="
http://www.jnj.com?ref=Random"></item>
<item name="Warnings" url="
http://www.jnj.com?ref=Random"></item>
<item name="Dosage and Administration" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="RESOURCES AND TOOLS">
<item name="NATRECOR PI" url="
http://www.jnj.com?ref=Random"></item>
<item name="About Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="Stages of Heart Failure" url="
http://www.jnj.com?ref=Random"></item>
<item name="NATRECOR Dosing Information" url="
http://www.jnj.com?ref=Random"></item>
<item name="Patient Management Resources" url="
http://www.jnj.com?ref=Random"></item>
</item>
<item name="US PRESCRIBING INFORMATION">
</item>
<item name="IMPORTANT SAFETY INFORMATION
ref=http://www.jnj.com">
</item>
<item name="REGISTRATION ref=http://www.jnj.com">
</item>
</accodion>
FLASH actionscript is as follows:
// The accordion
var accordion = this
// The item list
var itemList = []
// SETTINGS
//-------------PROPERTIES----------------
// Separation between the buttons
var separation = 1.5
// Tabulation between the buttons and the margin
var tabulation = 10
// if true, it cant be more than one items opened at the same
time (only for the first buttons, POWERFUL, MENU ,ACCORDION, ets).
var autoClose = true
// if true, it cant be more than one subItems opened at the
same time.
var subItemAutoClose = true
// if true, open and close all the subItems at the same time.
var openAll = false
// The height of the button
var itemHeight = 21
// The width of the button
var itemWidth = 230
// If true, show the light over the button
var light = true
// The ease of the menu opening
var openEase = 2.5
// The ease of the menu closing
var closeEase = 2.5
// The rollOut color fade speed
var rollOutFade = 8
//-------------COLORS----------------
// The color of the button
var buttonColor = 0xa
// The roll over color
var rollOverColor = 0xCCCCCC
// The arrow color
var arrowColor = 0xCCCCCC
// The arrow color on roll over
var rollOverArrowColor = 0x000000
// The text color
var TextColor = 0xFFFFFF
// The text color on roll over
var rollOverText = 0x000000
// LOADING XML
// The xml data
var xmlSource:XML = new XML
// Loading the xml
xmlSource.onLoad = function(success:Boolean):Void {
// When the load finishs...
if (success) {
// The first node of the xml
xmlRoot = xmlSource.firstChild
// The item nodes
xmlItems = xmlRoot.childNodes
// The total of items
total = xmlItems.length
// Creating the buttons
for (i=0; i<total; i++){
// Attaching the buttons
accordion.attachMovie("item", "item" + i, i)
// The button reference
itemList
= accordion["item"+i]
// The first node of the item node
itemList.xmlRoot = xmlItems
// The separation between subitems
itemList.separation = separation
// Tabulation between the subitems and the margin
itemList
.tabulation = tabulation
// subItems auto close
itemList.subItemAutoClose = subItemAutoClose
// The subitems height
itemList
.itemHeight = itemHeight
// The subitems width
itemList.itemWidth = itemWidth
// shows/hides the subitems light
itemList
.light = light
// The subitems color
itemList.buttonColor = buttonColor
// The roll over color
itemList
.rollOverColor = rollOverColor
// The arrow color
itemList.arrowColor = arrowColor
// the arrow color on roll over
itemList
.rollOverArrowColor = rollOverArrowColor
// The text color
itemList.TextColor = TextColor
// The roll over text color
itemList
.rollOverText = rollOverText
// the opening easing
itemList.openEase = openEase
// The closing easing
itemList
.closeEase = closeEase
// The roll over fade speed
itemList.rollOutFade = rollOutFade
// open all
itemList
.openAll = openAll
// ignore white
xmlSource.ignoreWhite = true;
// Loads the .xml file
xmlSource.load("accordion.xml");
// Aligning the items each one below the other
this.onEnterFrame=function(){
// Does the align to ALL the items
for (i=1; i<total; i++){
// Aligning the items
itemList._y = itemList[i-1]._y +
itemList[i-1].mask._height + itemList[i-1].button._height +
separation
// The cursor position
cursor._x = _xmouse
cursor._y = _ymouse
// Opens the items
onMouseDown = function (){
// Does this to all the buttons
for (i=0; i<total; i++){
// If is clicked
if (itemList
.button.hitTest(cursor)){
// Shows the current item
showCurrent(itemList)
// Shows the button clicked
showCurrent=function(current){
// Does this to all the buttons
for (i=0; i<total; i++){
// Does this to all the buttons exept the clicked
if (itemList
!=current){
// Close the other items if autoclose = true
if (autoClose){
// Close the other items
itemList.openBox=false
// fades the roll over effect of the other items
itemList
.over = false
//Does this to the clcked item only
} else {
// If it has sub items
if (total>0){
//Hides them if its open
if (itemList.openBox){
itemList
.openBox=false
//Shows them if its closed
} else {
itemList.openBox=true
// If it has no subitems goes to the link
} else {
getURL(xmlRoot.attributes.url, _self)

Please don't cross-post in a bunch of forums. Also when
adding code to a post, please use the attach code button. That
keeps the formatting and makes it easier to read. Your code is far
too long and way to unformatted to really understand quickly.
I don't know why you would need a CDATA node to get the
registered symbol. If the XML file you are working with is saved as
unicode (UTF-8) the symbol should come across just fine. Just
putting the UTF-8 at the beginning doesn't tell whatever program
you are using to save as UTF-8!
Do you know how to make the registered symbol? On windows it
is ALT -0174 (use the keypad for those numbers).
Once you've got the symbol in your XML the next step is to
check if Flash is loading it correctly. When you are in the testing
environment go to the Debug menu and select List Variables. The
trace window will show all the variables -- and there are probably
a lot! Search/Find something close to the symbol and see if the
trace window shows the symbol correctly. If it does then Flash is
readying it correctly and if it isn't showing you have problems
with your textfield. If it isn't showing correctly then your XML
file isn't UTF-8.
If it is textfield problems I wouldn't know what to do since
it is inside a component. Post back with your findings.

Similar Messages

  • Adding DC to an existing domain and forest

    Hi, I have an existing forest and domain. Its roles are: Domain Services and DNS. We have a branch office and setup a new server. In this new server, we set this as well to be the DC of that remote site and added a third role which is DHCP for their own
    network. We added another server as backup of this branch office. In the process of adding the role, I accidentally checked both domain controller and global catalog. I remember that both of this cannot be GC or is it ok for both to be GC besides DC?
    Thanks
    Jeff

    Hello,
    there is no problem having ALL DCs to be GC also.
    Don't forget to configure AD sites and services with the new subnets and also the sites containing the correct DCs.
    https://technet.microsoft.com/en-us/library/cc730868.aspx?f=255&MSPPError=-2147217396
    http://blogs.technet.com/b/askds/archive/2011/04/29/sites-sites-everywhere.aspx
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://blogs.msmvps.com/MWeber
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
    Twitter:  

  • XML and Flash

    I recently got interested in flash and dove right into with a
    flash template. I have been editing it having some success, but now
    I am having problems. I'm trying to use a simple photo gallery and
    the template didn't come with a caption for the pictures so I added
    a dynamic text box and attempted to use AS. Basically I was trying
    to make it when you moused over the picture the caption appeared
    with the text from the XML files. All I can get to come up is
    undefined when I mouse over it. Here is my AS script, what I
    added is in red so the problem is probably around it.

    Off the bat I can see a syntax error:
    _root.desc = photo_caption[this._parent.tn.no];
    should be:
    _root.desc = photo_caption[this._parent.tn_no];
    with an underscore

  • In over my head--XML and Flash

    Hi,
    I'm relatively new to Flash and I (foolishly) said that I
    could add a simple link at the end of an existing Flash file. The
    link is no problem, but the movie calls all of its text from an XML
    file. While I'm awed by how this works, I'm also stumped--I can't
    get the movie to actually display the text. Here's the bit of
    actionscript that refers to the XML file in question:
    _level0.displayMode_str="loaded";
    launchFile_str="advice";
    launchFolder_str=""
    xmlFileToLoad = "advice_AM.xml";
    commonFolder_str = "./commonFiles/";
    #include "loader.as"
    I'm pretty sure that it's finding the XML file ok, as it's
    pulling one or two headings from it, but nothing else. I know this
    isn't much to go on, but you guys are my only hope. Is there
    something basic I'm missing?
    Thanks in advance!

    SAVING Flash (AS3) data to XML - Stack Overflow

  • A few questions with XML and Flash

    Hi there.
    I am currently trying to create a 3d carousel using AS2 and XML.  I've made a lot of progress, but there ar e few things I am still struggling with and was hopoing that someone here could please steer me in the right direction.
    Here is a URL where the Carousel can be found:
    http://iongeo.com/ru_innovation_test_dev/carousel_test.html
    Here are a few of the things I am wondering:
    1.  I would like to be ablle to add a back button movide clip, similar to how the tooltip movie clip is presented now; this movie clip would be able to allow users to go back home to the caousel.  I can't seem to get it to load correctly however, I would imagine that it would be set up similarly to how the tooltip icon is set up now, but to be able to have an alpha of 100 when the text is loaded in.
    2.  I was also wondering how I mihgt be able to add links to my .xml document to be able to call in URLs on the web.  I've tried several things using the CDATA approach, but can't seem to get it to work.
    I would greatly appreciate any assistance privded and am very greatful for any consideration thac ould be provided.  Please let me know if there is anything htat I should clarify on.
    Below is my code for AS2 and XML so that you might see how things are currently working.
    import mx.utils.Delegate;
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var numOfItems:Number;
    var radiusX:Number = 200;
    var radiusY:Number = 75;
    var centerX:Number = 300;
    var centerY:Number = 150;
    var speed:Number = 0.00;
    var perspective:Number = 20;
    var home:MovieClip = this;
    theText._alpha = 0;
    theHeader._alpha = 0;
    var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",8000);
    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.content = nodes[i].attributes.content;
            t.header = nodes[i].attributes.header;
            t.icon.inner.loadMovie(nodes[i].attributes.image);
            t.r.inner.loadMovie(nodes[i].attributes.image);
            t.icon.onRollOver = over;
            t.icon.onRollOut = out;
            t.icon.onRelease = released;
    function over()
        //BONUS Section
        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()
        //BONUS Section
        home.tooltip._alpha = 100;
        for(var i=0;i<numOfItems;i++)
            var t:MovieClip = home["item"+i];
            t.xPos = t._x;
            t.yPos = t._y;
            t.theScale = t._xscale;
            delete t.icon.onRollOver;
            delete t.icon.onRollOut;
            delete t.icon.onRelease;
            delete t.onEnterFrame;
            if(t != this._parent)
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
                var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
            else
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
                var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,100,1,true);
                var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,200,1,true);
                var tw5:Tween = new Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
                theText.text = t.content;
                var s:Object = this;
                tw.onMotionStopped = function()
                    s.onRelease = unReleased;
    function unReleased()
        var sou:Sound = new Sound();
        sou.attachSound("sdown");
        sou.start();
        delete this.onRelease;
        var tw:Tween = new Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
        for(var i=0;i<numOfItems;i++)
            var t:MovieClip = home["item"+i];
            if(t != this._parent)
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
                var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
            else
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
                var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
                var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
                tw.onMotionStopped = function()
                    for(var i=0;i<numOfItems;i++)
                        var t:MovieClip = home["item"+i];
                        t.icon.onRollOver = Delegate.create(t.icon,over);
                        t.icon.onRollOut = Delegate.create(t.icon,out);
                        t.icon.onRelease = Delegate.create(t.icon,released);
                        t.onEnterFrame = mover;
    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)/8000;
    // inactive mouse time (in seconds) to start slowing the carousel
    var inactiveMouseTime:Number =1;
    // rate of slowing carousel;
    var speedDamp:Number = .4;
    var speedI:Number;
    var startSlowTO:Number;
    this.onMouseMove = function(){
    clearInterval(speedI);
    clearTimeout(startSlowTO);
    startSlowTO = setTimeout(startSlowF,inactiveMouseTime);
        speed = (this._xmouse-centerX)/8000;
    function startSlowF(){
    clearInterval(speedI);
    speedI=setInterval(speedF,2000);
    function speedF(){
    speed = speedDamp*speed;
    if(speed<.1){
    clearInterval(speedI);
    speed=0;
    Here is an example of how things are loaded from XML:
    <icons>
    <icon image="Denver_test_icon.png" tooltip="Denver Icon Test" header="test header" content="Test Paragraph. Greeked:. Suspendisse condimentum sagittis luctus." />
    </icons>

    Hi there.
    I am currently trying to create a 3d carousel using AS2 and XML.  I've made a lot of progress, but there ar e few things I am still struggling with and was hopoing that someone here could please steer me in the right direction.
    Here is a URL where the Carousel can be found:
    http://iongeo.com/ru_innovation_test_dev/carousel_test.html
    Here are a few of the things I am wondering:
    1.  I would like to be ablle to add a back button movide clip, similar to how the tooltip movie clip is presented now; this movie clip would be able to allow users to go back home to the caousel.  I can't seem to get it to load correctly however, I would imagine that it would be set up similarly to how the tooltip icon is set up now, but to be able to have an alpha of 100 when the text is loaded in.
    2.  I was also wondering how I mihgt be able to add links to my .xml document to be able to call in URLs on the web.  I've tried several things using the CDATA approach, but can't seem to get it to work.
    I would greatly appreciate any assistance privded and am very greatful for any consideration thac ould be provided.  Please let me know if there is anything htat I should clarify on.
    Below is my code for AS2 and XML so that you might see how things are currently working.
    import mx.utils.Delegate;
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var numOfItems:Number;
    var radiusX:Number = 200;
    var radiusY:Number = 75;
    var centerX:Number = 300;
    var centerY:Number = 150;
    var speed:Number = 0.00;
    var perspective:Number = 20;
    var home:MovieClip = this;
    theText._alpha = 0;
    theHeader._alpha = 0;
    var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",8000);
    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.content = nodes[i].attributes.content;
            t.header = nodes[i].attributes.header;
            t.icon.inner.loadMovie(nodes[i].attributes.image);
            t.r.inner.loadMovie(nodes[i].attributes.image);
            t.icon.onRollOver = over;
            t.icon.onRollOut = out;
            t.icon.onRelease = released;
    function over()
        //BONUS Section
        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()
        //BONUS Section
        home.tooltip._alpha = 100;
        for(var i=0;i<numOfItems;i++)
            var t:MovieClip = home["item"+i];
            t.xPos = t._x;
            t.yPos = t._y;
            t.theScale = t._xscale;
            delete t.icon.onRollOver;
            delete t.icon.onRollOut;
            delete t.icon.onRelease;
            delete t.onEnterFrame;
            if(t != this._parent)
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
                var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
            else
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
                var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,100,1,true);
                var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,200,1,true);
                var tw5:Tween = new Tween(theText,"_alpha",Strong.easeOut,0,100,1,true);
                theText.text = t.content;
                var s:Object = this;
                tw.onMotionStopped = function()
                    s.onRelease = unReleased;
    function unReleased()
        var sou:Sound = new Sound();
        sou.attachSound("sdown");
        sou.start();
        delete this.onRelease;
        var tw:Tween = new Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,true);
        for(var i=0;i<numOfItems;i++)
            var t:MovieClip = home["item"+i];
            if(t != this._parent)
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
                var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
            else
                var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
                var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
                var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
                var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
                tw.onMotionStopped = function()
                    for(var i=0;i<numOfItems;i++)
                        var t:MovieClip = home["item"+i];
                        t.icon.onRollOver = Delegate.create(t.icon,over);
                        t.icon.onRollOut = Delegate.create(t.icon,out);
                        t.icon.onRelease = Delegate.create(t.icon,released);
                        t.onEnterFrame = mover;
    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)/8000;
    // inactive mouse time (in seconds) to start slowing the carousel
    var inactiveMouseTime:Number =1;
    // rate of slowing carousel;
    var speedDamp:Number = .4;
    var speedI:Number;
    var startSlowTO:Number;
    this.onMouseMove = function(){
    clearInterval(speedI);
    clearTimeout(startSlowTO);
    startSlowTO = setTimeout(startSlowF,inactiveMouseTime);
        speed = (this._xmouse-centerX)/8000;
    function startSlowF(){
    clearInterval(speedI);
    speedI=setInterval(speedF,2000);
    function speedF(){
    speed = speedDamp*speed;
    if(speed<.1){
    clearInterval(speedI);
    speed=0;
    Here is an example of how things are loaded from XML:
    <icons>
    <icon image="Denver_test_icon.png" tooltip="Denver Icon Test" header="test header" content="Test Paragraph. Greeked:. Suspendisse condimentum sagittis luctus." />
    </icons>

  • "added time cap to existing network" and can't get Ethernet cable connection to Time cap to work...

    I added a new time capsule to my existing wifi network. Everything initialized well and time machine could see the TC. I tried to connect a cable directly to the TC for the first backup... But the cable connection doesn't see the TC. Ideas?

    If you used join a network then the TC turns off its ethernet ports.

  • Adding Namespace to already existing XML

    Hi,
    I have created an xml by using XMLTYPE( oracle object ). Now I want to add a namespace to the existing root node. How can I achieve this?
    Currently
    <RESPONSE>
    <TAG1>jack</TAG1>
    <TAG2>mon<TAG2>
    </RESPONSE>
    Desired ouput
    <RESPONSE xmns=''http://aloha.com">
    <TAG1>jack</TAG1>
    <TAG2>mon<TAG2>
    </RESPONSE>
    Thanks,
    VJ
    Edited by: AKVK on Oct 11, 2009 2:44 PM

    I'm not too hot with stylesheets, but if you can't add the namespace in when you generate the XML (why not?), you would do a transform on the XML to give it a namespace.
    So far I've got this...
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select xmltype('<RESPONSE><TAG1>jack</TAG1><TAG2>mon</TAG2></RESPONSE>') as xml from dual)
      2  --
      3  select xmltransform(xml, xmltype('<?xml version="1.0"?>
      4      <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://aloha.com">
      5        <xsl:template match="*">
      6         <xsl:element name="{local-name()}">
      7           <xsl:apply-templates select="@* | node()" />
      8         </xsl:element>
      9        </xsl:template>
    10      </xsl:stylesheet>')) as xml
    11* from t
    SQL> /
    XML
    <RESPONSE xmlns="" xmlns="http://aloha.com"><TAG1 xmlns="">jack</TAG1><TAG2 xmlns="">mon</TAG2></RESPONSE>
    SQL>... but it's got some additional xmlns="" in the tags and I'm not sure how to get rid of those.... hmmm.... I'm guessing someone will know XSL better than me (can't be hard!)

  • XML and Flash - Yikes!

    HELP!
    I think I might be in trouble unless someone brilliant can help.
    I'm working with a flash template that loads external images and text using an xml file.
    Everything works well the only problem is I've promised a client that as well as a "title" and "description" I will also include a clickable URL link. I can edit the flash to a certain extent but I am having a nightmare of a time including a clickable url. Is there anyone out there who can help?
    "photo_description", "photo_title" and "photo_url" are the names of the dynamic text fields.
    XML snippet looks a little like this...
    <title>Title</title>
    <description>Description</description>
    <url>http://</url>     <---- This is the part I'd like to include
    Here is the AS...
    // Copyright © flashmo.com
    // Developed by Min Thu
    // Tweener
    // http://code.google.com/p/tweener/
    import caurina.transitions.*;
    var folder:String = "photos/";
    var follow_mouse:Boolean = true; // true OR false
    var tween_duration:Number = 0.5;
    var default_tn_scale:Number = 0.8;
    var default_pic_alpha:Number = 0.25;
    var new_scale:Number;
    var tn_border:Number = 5;
    var speed:Number = 12; // from 1 to 20
    var i:Number;
    var j:Number;
    var tn:Number = 0;
    var tn_distance:Number;
    var current_no:Number = 0;
    var total:Number;
    var flashmo_xml:XML;
    var flashmo_photo_list = new Array();
    var current_mc:MovieClip = new MovieClip();
    var flashmo_pic:MovieClip = new MovieClip();
    var thumbnail_group:MovieClip = new MovieClip();
    this.addChild(flashmo_pic);
    this.addChild(thumbnail_group);
    this.addChild(flashmo_text_info);
    flashmo_pic.alpha = default_pic_alpha;
    flashmo_pic.x = flashmo_photo_area.x;
    flashmo_pic.y = flashmo_photo_area.y;
    flashmo_pic.mask = flashmo_photo_area;
    thumbnail_group.x = 100;
    thumbnail_group.y = flashmo_thumbnail_area.y;
    thumbnail_group.mask = flashmo_thumbnail_area;
    loading_info.text = "";
    thumbnail_info.text = "";
    flashmo_photo_title.text = "";
    flashmo_text_info.alpha = 0;
    flashmo_text_info.photo_title.text = "";
    flashmo_text_info.photo_description.text = "";
    if( Math.abs(speed) > 20 ) speed = 10;
    speed = Math.abs(speed);
    function load_gallery(xml_file:String):void
    var xml_loader:URLLoader = new URLLoader();
    xml_loader.load( new URLRequest( xml_file ) );
    xml_loader.addEventListener(Event.COMPLETE, create_thumbnail);
    function create_thumbnail(e:Event):void
    flashmo_xml = new XML(e.target.data);
    total = flashmo_xml.photo.length();
    for( i = 0; i < total; i++ )
    flashmo_photo_list.push( {
    thumbnail: flashmo_xml.photo[i].thumbnail.toString(),
    filename: flashmo_xml.photo[i].filename.toString(),
    title: flashmo_xml.photo[i].title.toString(),
    description: flashmo_xml.photo[i].description.toString()
    load_photo();
    load_tn();
    function load_photo():void
    var pic_request:URLRequest = new URLRequest( folder + flashmo_photo_list[current_no].filename );
    var pic_loader:Loader = new Loader();
    pic_loader.load(pic_request);
    pic_loader.contentLoaderInfo.addEventListener(Prog  ressEvent.PROGRESS, on_photo_progress);
    pic_loader.contentLoaderInfo.addEventListener(Even  t.COMPLETE,on_photo_loaded);
    flashmo_text_info.photo_title.text = flashmo_photo_list[current_no].title;
    flashmo_text_info.photo_description.text = flashmo_photo_list[current_no].description;
    flashmo_pic.alpha = 0;
    function unload_photo():void
    flashmo_pic.removeChildAt(0);
    load_photo();
    function on_photo_progress(erogressEvent):void
    var percent:Number = Math.round(e.bytesLoaded / e.bytesTotal * 100);
    loading_info.text = "Loading Image... " + percent + "%";
    function on_photo_loaded(e:Event):void
    loading_info.text = "";
    flashmo_pic.addChild( Bitmap(e.target.content) );
    flashmo_pic.addEventListener( MouseEvent.MOUSE_OVER, pic_over );
    flashmo_pic.addEventListener( MouseEvent.MOUSE_OUT, pic_out );
    Tweener.addTween( flashmo_pic, { alpha: default_pic_alpha, time: tween_duration, transition: "easeOutQuart" } );
    thumbnail_group.addEventListener( MouseEvent.MOUSE_OVER, pic_over );
    function load_tn():void
    var pic_request:URLRequest = new URLRequest( folder + flashmo_photo_list[tn].thumbnail );
    var pic_loader:Loader = new Loader();
    pic_loader.load(pic_request);
    pic_loader.contentLoaderInfo.addEventListener(Even  t.COMPLETE, on_thumbnail_loaded);
    tn++;
    thumbnail_info.text = "Loading Thumbnail " + tn + " of " + total;
    if( tn == 8 )
    thumbnail_group.addEventListener( Event.ENTER_FRAME, fisheye_thumbnails );
    function on_thumbnail_loaded(e:Event):void
    var flashmo_tn_bm:Bitmap = new Bitmap();
    var flashmo_tn_mc:MovieClip = new MovieClip();
    flashmo_tn_bm = Bitmap(e.target.content);
    flashmo_tn_bm.x = - flashmo_tn_bm.width * 0.5;
    flashmo_tn_bm.y = - flashmo_tn_bm.height;
    flashmo_tn_bm.smoothing = true;
    var bg_width:Number = flashmo_tn_bm.width + tn_border * 2;
    var bg_height:Number = flashmo_tn_bm.height + tn_border * 2;
    flashmo_tn_mc.graphics.beginFill(0xFFFFFF);
    flashmo_tn_mc.graphics.drawRect( - bg_width * 0.5, - bg_height + tn_border, bg_width, bg_height );
    flashmo_tn_mc.graphics.endFill();
    flashmo_tn_mc.addChild(flashmo_tn_bm);
    flashmo_tn_mc.buttonMode = true;
    flashmo_tn_mc.addEventListener( MouseEvent.MOUSE_OVER, tn_over );
    flashmo_tn_mc.addEventListener( MouseEvent.MOUSE_OUT, tn_out );
    flashmo_tn_mc.addEventListener( MouseEvent.CLICK, tn_click );
    flashmo_tn_mc.name = "flashmo_" + thumbnail_group.numChildren;
    flashmo_tn_mc.x = thumbnail_group.numChildren * 80;
    flashmo_tn_mc.y = 110;
    flashmo_tn_mc.scaleX = flashmo_tn_mc.scaleY = default_tn_scale;
    thumbnail_group.addChild(flashmo_tn_mc);
    if( tn < total )
    load_tn();
    else
    thumbnail_info.text = "";
    function tn_over(e:MouseEvent):void
    var mc:MovieClip = MovieClip(e.target);
    var s_no:Number = parseInt(mc.name.slice(8,10));
    if( s_no > 1 )
    thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-2) ) );
    if( s_no > 0 )
    thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-1) ) );
    if( s_no < thumbnail_group.numChildren - 2 )
    thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+2) ) );
    if( s_no < thumbnail_group.numChildren - 1 )
    thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+1) ) );
    thumbnail_group.addChild(mc);
    flashmo_photo_title.text = flashmo_photo_list[s_no].title;
    function tn_out(e:MouseEvent):void
    var mc:MovieClip = MovieClip(e.target);
    thumbnail_group.addChild(mc);
    flashmo_photo_title.text = "";
    function tn_click(e:MouseEvent):void
    var mc:MovieClip = MovieClip(e.target);
    current_no = parseInt(mc.name.slice(8,10));
    Tweener.addTween( flashmo_pic, { alpha: 0, time: tween_duration,
    transition: "easeInQuart", onComplete: unload_photo } );
    flashmo_pic.removeEventListener( MouseEvent.MOUSE_OVER, pic_over );
    flashmo_pic.removeEventListener( MouseEvent.MOUSE_OUT, pic_out );
    thumbnail_group.removeEventListener( MouseEvent.MOUSE_OVER, pic_over );
    flashmo_text_info.addEventListener( MouseEvent.MOUSE_OVER, info_over );
    flashmo_text_info.addEventListener( MouseEvent.MOUSE_OUT, info_out );
    function pic_over(e:MouseEvent):void
    Tweener.addTween( flashmo_pic, { alpha: default_pic_alpha, time: tween_duration, transition: "easeIn" } );
    Tweener.addTween( thumbnail_group, { alpha: 1, time: tween_duration, transition: "easeOut" } );
    function pic_out(e:MouseEvent):void
    Tweener.addTween( flashmo_pic, { alpha: 1, time: tween_duration, transition: "easeOut" } );
    Tweener.addTween( thumbnail_group, { alpha: 0, time: tween_duration, transition: "easeIn" } );
    function info_over(e:MouseEvent):void
    Tweener.addTween( flashmo_pic, { alpha: 1, time: tween_duration, transition: "easeOut" } );
    Tweener.addTween( thumbnail_group, { alpha: 0, time: tween_duration, transition: "easeIn" } );
    Tweener.addTween( flashmo_text_info, { alpha: 1, time: tween_duration, transition: "easeIn" } );
    function info_out(e:MouseEvent):void
    Tweener.addTween( flashmo_text_info, { alpha: 0, time: tween_duration, transition: "easeOut" } );
    function fisheye_thumbnails(e:Event):void
    thumbnail_group.x -= ( mouseX - flashmo_thumbnail_area.width * 0.5 ) * 0.005 * speed;
    if( thumbnail_group.x > flashmo_thumbnail_area.x + 100 )
    thumbnail_group.x = flashmo_thumbnail_area.x + 100;
    else if( thumbnail_group.x < flashmo_thumbnail_area.x - thumbnail_group.width + flashmo_thumbnail_area.width )
    thumbnail_group.x = flashmo_thumbnail_area.x - thumbnail_group.width + flashmo_thumbnail_area.width;
    if( mouseY > flashmo_thumbnail_area.y && mouseY < flashmo_thumbnail_area.y + flashmo_thumbnail_area.height )
    for( j = 0; j < thumbnail_group.numChildren; j++ )
    current_mc = MovieClip(thumbnail_group.getChildAt(j));
    tn_distance = Math.sqrt(
    Math.pow( Math.abs( mouseX - (current_mc.x + thumbnail_group.x) ) , 2)
    + Math.pow( Math.abs( mouseY - (current_mc.y + thumbnail_group.y) ) , 2)
    new_scale = 1.1 - ( tn_distance * 0.002 );
    current_mc.scaleX += (new_scale - current_mc.scaleX) * 0.2;
    current_mc.scaleY += (new_scale - current_mc.scaleY) * 0.2;
    if( current_mc.scaleX < default_tn_scale )
    current_mc.scaleX = current_mc.scaleY = default_tn_scale;
    else
    for( j = 0; j < thumbnail_group.numChildren; j++ )
    current_mc = MovieClip(thumbnail_group.getChildAt(j));
    current_mc.scaleX += (default_tn_scale - current_mc.scaleX) * 0.2;
    current_mc.scaleY += (default_tn_scale - current_mc.scaleY) * 0.2;
    Thank you! Thank you! Thankyou!

    I´m not quite understanding what you are trying to do here, but in my opinion it would be cleverer to let Flash handle the Link and not the XML.
    Look into the navigateToURL function, formerly (AS2) known as getURL.
    Include your server path as a variable like:
    var baseurl = 'http://www.mypictures.com/descriptions/';
    and in your MouseEventListeners build the path dynamically:
    var descriptionURL:String = aHref();//write a function to get the right Link here;
    var request:URLRequest = new URLRequest(baseurl + descriptionURL);
        try{
            navigateToURL(request,"_blank");
        catch(e:Error){
            trace("An error occurred");
    in your XML you will now only need sth. like  <description>description.txt</description>

  • XML and Flash 8, Windows XP

    I'm using XML to create a gallery in Flash. All is working
    well, however I wish to create a link in the XML file which opens
    and additional swf file in a new window which retains the exact
    dimensions of the swf file. Is this possible?
    Any tips and ticks would be greatly received.
    Thanks

    I have not tried with Flash8 but you used to be able to put
    javascript inside your call to getURL(). Look at the this page for
    code examples that use window.open javascript calls in the flash
    getURL function call:
    http://flashmx2004.com/forums/lofiversion/index.php/t7130.html
    Note that I have run into issues with browser compatibility
    doing this. So in case problems arise try using the Exteranl
    Interface API which will allow you to talk directly to javacript in
    your html.

  • XML and Flash Data Retrieval

    I am new to flash's dynamic data uses - I have a 100
    responses to 23 question form which I wish to display using flash
    in a presentation - I wish to sort the info only by either
    individuals forms or question/answers. Once created i do not need
    to amend the data - i will be delivering this on a cd.
    Could I add the 100 responses into an XML File for flash to
    read the data from? Is it easy to sort this information?
    I just used jen de hanns tutorial with the data wizards - is
    this appropriate - or is what I am wanting to do more complex?
    Many thanks for any advice

    Sorting of data can be done by a database which you are not
    using, a
    serverside script which you are not using, in your own AS
    code or possibly
    an Flash UI component.
    You might want to post this message in the Flash Actionscript
    forum and ask
    how you can sort data in As or UI components.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "stacyp" <[email protected]> wrote in
    message
    news:e2371n$n00$[email protected]..
    I am new to flash's dynamic data uses - I have a 100
    responses to 23
    question
    form which I wish to display using flash in a presentation -
    I wish to sort
    the
    info only by either individuals forms or question/answers.
    Once created i do
    not need to amend the data - i will be delivering this on a
    cd.
    Could I add the 100 responses into an XML File for flash to
    read the data
    from? Is it easy to sort this information?
    I just used jen de hanns tutorial with the data wizards - is
    this
    appropriate
    - or is what I am wanting to do more complex?
    Many thanks for any advice

  • Adding a Subreport to existing report and getting this error, "Unable to connect: incorrect log on parameters"

    I have taken on an existing vb.net project done in Visual Studio 2008 with crystal reports version Crystal Report XI.
    The reports on their own work very well. Problem is I need to add information to my report which is a 'many-to-one' situation where for each Project Id that I am displaying I need to display several attached documents and the report I am working on is for several Project Id's.
    I figured this would be a perfect situation for a SubReport. I created a separate report which calls a stored procedure to get all of the Attached Documents for a specific Project Id. I thought if I were to add this new SubReport to the Original Report and link the Project Id's, easy-peazy, I would be done.
    This is not the case. I have vb code that loads the Original Report with a stored procedure and when this code runs with the setup I described above it fails when it is creating the final report with the following error:
    Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\~\ProjectDescriptionReport {6BA19F79-2A12-4826-B1F6-456EF799963B}.rpt: Unable to connect: incorrect log on parameters.
    I have no specific connections in my vb code for the reports. If I do not add the subreport to the main report, it loads correctly, so I know the error is caused by the subreport.
    This is the code that creates the original report (sorry for dumping the code here, i just thought it would be easier to see all the code) :
    Public Function LoadReport(ByVal inProjectNum As Integer, ByVal strProjectName As String) As DataTable ', ByVal inFiscalYear As Integer, ByVal inCompany As String) As DataTable
            Dim cnn As SqlConnection = Nothing
            Dim cmd As Data.SqlClient.SqlCommand
            Dim obj As New clsDataClass
            Dim dataAdapter As SqlClient.SqlDataAdapter
            Try
                LoadReport = New DataTable("DescriptionReport")
                cmd = New SqlCommand()      
                cnn = obj.Create_Connection()
                With cmd
                    .CommandType = Data.CommandType.StoredProcedure
                    .Connection = cnn
                    .CommandTimeout = "60"
                    .CommandText = "usp_GetProjectGroupSpecsCR"              
                    .Parameters.AddWithValue("@ProjectNumber", inProjectNum)
                    .Parameters.AddWithValue("@ProjectName", strProjectName)
                End With
                dataAdapter = New System.Data.SqlClient.SqlDataAdapter
                dataAdapter.SelectCommand = cmd
                dataAdapter.Fill(LoadReport)
                Dim oRpt As New ReportDocument()
                oRpt.Load(Server.MapPath("ProjectDescriptionReport.rpt"))
                oRpt.Refresh()
                oRpt.SetDataSource(LoadReport)
                'oRpt.OpenSubreport("AttachmentsReport").SetDataSource(LAR)
                oRpt.SetParameterValue("inProjectNum", inProjectNum)
                oRpt.SetParameterValue("strProjectName", strProjectName)
                oRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "Projects_DescriptionReport") 'inCompany & "ProjectsReport_Description" & inFiscalYear) <-- Line where the error occures.
    What I need to know is what is the proper way to add a subreport to a vb.net application?
    From the ways I have tried it is clearly not working and I am out of ideas. I am fairly new to Crystal Reports and this way of coding it.
    Any help for this would be greatly appreciated, I've been stuck on this for a while and am finally reaching out to the Crystal Report Specialists.
    Thank you in advance,
    Bryan

    Hi Bryan,
    You may want to check the Connection properties also. I think the MS Data.SqlClient.SqlCommand is using the MDAC driver, or could be modified.
    If you are connecting to SQL Server 2008 or above you should be using the SQL Native 10 or 11 Client.
    As Dell suggests have a look at the samples and if you can use a DSN ( 32 bit or 64 bit ODBC Admin )
    Also search for "CRlogger", you'll find how to enable CR's database logging component and may help show you what part is failing.
    Don

  • Kirupa  Photo Gallery using XML and Flash

    I learn best by using tutes and figuring out how to make
    changes effectively. i finished the one at
    http://www.kirupa.com/developer/mx2004/thumbnails3.htm
    and managed to change sizes etc but i wanted to change it to a
    symbol to insert it in another flash file. i got that part done
    though the thumbs show up (number 3 to 5) and they do not scroll. i
    figure it has to do with the hit left and hit right and that the
    "path" not sure if i used the term in the right way changes when it
    turns from a scene all by itself to being inserted into a frame in
    a layer. i am not sure if i am explaining this right but i would
    really appreciate any help and I am sorry if this is a duplicate
    post, i have been searching for a long time and cannot find it or
    figure it out.
    jmontyman

    I learn best by using tutes and figuring out how to make
    changes effectively. i finished the one at
    http://www.kirupa.com/developer/mx2004/thumbnails3.htm
    and managed to change sizes etc but i wanted to change it to a
    symbol to insert it in another flash file. i got that part done
    though the thumbs show up (number 3 to 5) and they do not scroll. i
    figure it has to do with the hit left and hit right and that the
    "path" not sure if i used the term in the right way changes when it
    turns from a scene all by itself to being inserted into a frame in
    a layer. i am not sure if i am explaining this right but i would
    really appreciate any help and I am sorry if this is a duplicate
    post, i have been searching for a long time and cannot find it or
    figure it out.
    jmontyman

  • Director and Flash Paper

    Hi Adobe forums,
    I've just about putting the finishing touches together for an
    interactive CD at work using director 1.0.11. I've provided users
    with a print button that then in theory should open the
    corresponding flash paper file and then the user can just print out
    what ever he or she wants.
    Don't ask me why I used flash paper over pdf, it was
    something new and I wanted to try it out. It works fine on my
    machine but when I burn the projector and accompanying swf and xtra
    folder to cd it won't work on other machines.
    I'm guessing this is a Flash Xtra problem, but I've already
    selected Flash Assest and Flash Asset Options X32 via modify >
    movies > xtras but this doesn't seem to solve the problem. To
    handle the opening of this file I've also downloaded and installed
    BuddApi as well.
    Here's the code I use to open the swf file:
    property pFile
    global gDelimiter
    on getPropertyDescriptionList
    description = [:]
    addProp description,#pFile, \
    [#default:"test.swf", \
    #format:#string, \
    #comment:"Type the full filename to open: Example: test.swf"]
    return description
    end
    on mouseEnter me
    -- sets the cursor to the hand
    cursor 280
    end
    on mouseLeave me
    -- sets the cursor to default
    cursor -1
    end
    on mouseUp me
    --- setting the file path to go to, you need to put your
    folder name or file structure in.
    --- the moviepath is the path to the actual .exe file. So you
    just need to
    --- add the structure from that point on. In the below case
    there is a
    ---folder called "pdf_files" in the same directory as the
    .exe
    sPath = the moviePath & "swf_files" & gDelimiter
    & pFile
    --- & is simply appending each item, so it is appending
    pdf_files to the
    ---existing path, and then appending
    --- gDelimiter which is either a \ or : and then finally
    appending the name of
    ---your file
    baOpenFile(sPath, "Maximised")
    --- buddyAPI command you will have to download and install
    buddy API
    ---Xtra. It is free, do a google search for BuddyAPI and the
    site will come
    ---up, simply download the appropriate version and place in
    your Xtras
    ---folder.
    cursor -1
    end
    If anybody could point me in the right direction I would be
    very grateful.

    Thats the strange thing, at work all machines are set up the
    same way via an image ripped down to them when they are first
    configured. Part of the standard desktop image is the Flash Plugin.
    For some strange reason the .swf file isn't recognised on the
    CD. Drag the associated file to the users computer and the file is
    recognised.
    I'll give the error reporting alert a try and feedback the
    results. It might be that I just have to embed the Flash Paper
    within the Director Projector.
    If anybody else has any ideas I would be very grateful.
    yiendos

  • Is there any alternative for adding servlet name in Web.xml?

    Hi,
    I am new to Weblogic and I have an application(Ear file) which was developed
    in Websphere and I am trying to install in weblogic 8.1. I have installed my application
    in Websphere without adding servlet entries in Web.xml and it was working fine.
    I have installed the same Ear file in Tomcat and added the
    following to make all my all servlets work.
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    Is there any alternative of doing like that in WebLogic instead of adding each
    and every servlet entry in web.xml because my application has around 200 servlets
    Thanks&Regards,
    Gopi.

    Is Servlet servlet same as weblogic.servlet.ServletServlet?
    Deepak
    Rob Woollen <[email protected]> wrote:
    Yes, you could register weblogic.servlet.ServletServlet.
    -- Rob
    Gopi Krishna wrote:
    Hi,
    I am new to Weblogic and I have an application(Ear file) whichwas developed
    in Websphere and I am trying to install in weblogic 8.1. I have installedmy application
    in Websphere without adding servlet entries in Web.xml and it was workingfine.
    I have installed the same Ear file in Tomcat and added the
    following to make all my all servlets work.
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    Is there any alternative of doing like that in WebLogic instead ofadding each
    and every servlet entry in web.xml because my application has around200 servlets
    Thanks&Regards,
    Gopi.

  • How to edit bitmap which is imported in flash using xml and save the edited bitmap back to xml in flash.

    hi all
    It would be appreciated if any one let me know how to edit
    bitmap which is imported in flash using xml and save the edited
    bitmap back to xml in flash.
    Is it posible to save the bitmap data in flash?
    thanks in advance

    Yes you can... but like I said before you need to upload the
    data from the changes you make to a server.
    In terms of the solution... its unlikely that you'll find one
    specifically for your needs. You will have to learn whatever you
    don't know how already and maybe adapt some existing examples to
    your needs.
    To change the visual state of a movie clip... you just do all
    the regular things that you want to do to it using flash... scale,
    rotation, drawing API , textfields etc in actionscript. If you
    don't know how to how to do that stuff, then you need to learn that
    first. That's basic actionscript.
    You can capture the visual state of a movieclip using the
    BitmapData class. That includes a loaded jpeg. You can also
    manipulate bimatp data using the same class. You should read up on
    that if you don't know how to use it or check out the examples
    below for uploading info.
    For uploading to the server:
    Here's an as2 solution that took 15 secs to find using
    google:
    http://www.quasimondo.com/archives/000645.php
    If you're using as3, google search for "jpeg encoder as3" and
    look through that info. There are also historical answers in the
    forums here related to this type of thing that might help as
    well.

Maybe you are looking for

  • In Tools:Options:Languages, does the language on a page have preference?

    The Pop-Up Window is not clear about this, and assumes I already know the answer.

  • Can't publish to BC

    First time attempting to publish a site via Muse and assumed everything was all integrated with Creative Cloud, until I got the following message: The account '...' does not have enough privileges to create an Adobe Business Catalyst temporary site.

  • Airport express and new macbook pro

    my daughter has just purchased a new macbook pro and we have set up the airport express. her macbook tells her that she is connected to the airport express but she can not load safari.

  • FCE or FCP?

    Hello all, I'm a complete newbie when it comes to video editing so I wonder why I went and purchased a Canon HV-20 (it's still in the box in case I need/want to return it! LOL)... and an associate at Best Buy told me all I'd need is iMovie HD. Howeve

  • Applet to oracle server

    I m trying to connect to oracle through an applet My Browser is IE 5.0 it gives security exceptions. how can i over come this ? my code is as follows I want to make sure that this applet works on IE and Netscape , can i ? import java.sql.*; public cl