Using Coldfusion with XML for Flash photogallery

Hello community. I have created a site for my son's
kindergarten for free because I wanted to say thanks, since my son
was very happy.
The site has been created using coldfusion because I gave
them some control on news, new children, waiting list, etc.
They just asked me they want to be able to modify all the
content of the site, so I started working on a CMS for it.
There are two section on the site, video gallery and photo
gallery that are flash - XML based galleries.
I know that if I explain to them how to modify the XML files
in order to change photos and videos, they'll screw the gallery.
Is there any way I can access the content of my XML file from
coldfusion and allow modification, like adding new photos to the
existing ones, or modifying the caption on the existing ones?
So basically I need to them to be able to click on "Modify
photo gallery", then see all the childs (photos) and be able to
modify/add.
Thank you so much for any info or help.

quote:
Originally posted by:
DaniFusionWeb
Hello community. I have created a site for my son's
kindergarten for free because I wanted to say thanks, since my son
was very happy.
The site has been created using coldfusion because I gave
them some control on news, new children, waiting list, etc.
They just asked me they want to be able to modify all the
content of the site, so I started working on a CMS for it.
There are two section on the site, video gallery and photo
gallery that are flash - XML based galleries.
I know that if I explain to them how to modify the XML files
in order to change photos and videos, they'll screw the gallery.
Is there any way I can access the content of my XML file from
coldfusion and allow modification, like adding new photos to the
existing ones, or modifying the caption on the existing ones?
So basically I need to them to be able to click on "Modify
photo gallery", then see all the childs (photos) and be able to
modify/add.
Thank you so much for any info or help.
If you are using ColdFusion 7/8 this should be quite easy.
You'd basically:
1) Read the XML file into ColdFusion memory
2) Loop through the nodes you need etc outputting them to a
page or dynamically built form fields
3) Allow the user to edit these fields then on submit have
ColdFusion tale the variable holding the form data and write it to
an XML file again via a loop, overwriting the previous file.
Clearly you'll need to be careful on validating the input but
it should be pretty straightforward.
I didn't have time to write any code but look at the
following functions and tags to find out more:
<cffile />
<cfxml />
Here's some more info:
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_u-z_4.html
Cheers,
Mikey.

Similar Messages

  • 'Using ColdFusion with Flex – sample does not work

    Hi, I am having problems with Tom Jordahl's article on 'Using
    ColdFusion with Flex – Part 1: Creating and running a contact
    manager application' found on link '
    http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1_02.html'
    I do not understand his instruction. In step 4, it states:
    "Copy the channel definition from the example Flex
    configuration files found in resources/config (default location:
    C:\fds2\resources\config\). "
    In that folder, I have the following files:
    data-management-config.xml, messaging-config.xml, proxy-config.xml,
    remoting-config.xml. So which file in this folder am I supposed to
    copy from. And where am I supposed to paste it to? Is it into
    WEB-INF/services-config.xml file ?
    When I ran the test,
    http://localhost:8700/samples/dataservice/cfcontact/contactmgr.mxml,
    I get the following errors:
    4 Errors found.
    Error /dataservice/cfcontact/contactmgr.mxml:31
    Definition samples.contact could not be found.
    30: import mx.rpc.events.*;
    31: import samples.contact.*;
    32:
    I am very new at Flex and trying hard to understand this sw.
    Can someone pse help. Thanks a million.

    What he means is to copy the channel section from the
    C:\fds2\resources\config\services-config.xml file:
    <!-- ColdFusion specific RTMP channel -->
    <channel-definition id="cf-dataservice-rtmp"
    class="mx.messaging.channels.RTMPChannel">
    <endpoint uri="rtmp://{server.name}:2048"
    class="flex.messaging.endpoints.RTMPEndpoint"/>
    <properties>
    <idle-timeout-minutes>20</idle-timeout-minutes>
    <serialization>
    <!-- This must be turned off for any CF channel -->
    <instantiate-types>false</instantiate-types>
    </serialization>
    </properties>
    </channel-definition>
    <!-- ColdFusion specific HTTP channel -->
    <channel-definition id="cf-polling-amf"
    class="mx.messaging.channels.AMFChannel">
    <endpoint
    uri="
    http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling"
    class="flex.messaging.endpoints.AMFEndpoint"/>
    <properties>
    <serialization>
    <!-- This must be turned off for any CF channel -->
    <instantiate-types>false</instantiate-types>
    </serialization>
    <polling-enabled>true</polling-enabled>
    <polling-interval-seconds>8</polling-interval-seconds>
    </properties>
    </channel-definition>
    To the file
    C:\fds2\jrun4\servers\default\samples\WEB-INF\flex\services-config.xml.
    The resources directory contains just templates for
    development, the samples
    directory is a fully-deployed flex app.
    Jorge Hernandez
    "watsonValu" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hi, I am having problems with Tom Jordahl's article on
    'Using ColdFusion
    > with
    > Flex ? Part 1: Creating and running a contact manager
    application' found
    > on
    > link
    > '
    http://www.adobe.com/devnet/flex/articles/coldfusionflex_part1_02.html'
    > I do not understand his instruction. In step 4, it
    states:
    > "Copy the channel definition from the example Flex
    configuration files
    > found
    > in resources/config (default location:
    C:\fds2\resources\config\). "
    > In that folder, I have the following files:
    data-management-config.xml,
    > messaging-config.xml, proxy-config.xml,
    remoting-config.xml. So which file
    > in
    > this folder am I supposed to copy from. And where am I
    supposed to paste
    > it to?
    > Is it into WEB-INF/services-config.xml file ?
    > When I ran the test,
    >
    http://localhost:8700/samples/dataservice/cfcontact/contactmgr.mxml,
    I get
    > the
    > following errors:
    > 4 Errors found.
    > Error /dataservice/cfcontact/contactmgr.mxml:31
    > Definition samples.contact could not be found.
    > 30: import mx.rpc.events.*;
    > 31: import samples.contact.*;
    > 32:
    >
    > I am very new at Flex and trying hard to understand this
    sw. Can someone
    > pse
    > help. Thanks a million.
    >
    >

  • XSLT and generated text using InDesign with xml

    I have recently switched from Framemaker to InDesign and am still getting to grips with the differences so apologies if this is a very basic query.
    Framemaker was used to format sgml tagged text. You could specify that a particular tag generated a prefix or suffix. You could also specify that the tag should generate the prefix or suffix only under certain circumstances (context rules). The prefixes and suffixes I need to apply are things like open and closing brackets, commas, full stops, and sometimes a bit of text.
    I am told that this can be done with XSLT. There are whole libraries of books on XSLT out there and not knowing anything about the subject I really don't know where to start. Does anyone out there who uses InDesign with xml and XSLT have any tips about where to find useful information on the subject?
    Thanks in advance for any help on the subject.
    Steven

    Yeah, we use to have such feature wayback then. Indesign package into GoLive.  Kindly look through the idea section and vote massively for this idea.

  • Is Using the Automatic Update for Flash Player Safe? It is Installed In System Preferences On My Mac

    Hello-
    One day I noticed that there was an icon on my MacBook Pro of Adobe Flash on the last row of system Preferences.  I had never seen it before, and I had ben using Flash for a long time and updating it regularly.
    It recently told me there is a newer version.  I did not let it install it because I am having so many problems with viewing Flash Videos on websites.  I have a MacBook Pro, Mac OS X 10.6.8.  I use Safari 5.1.5, the latest as far as I know.
    In using this automatic updater for Flash (there are actually several tabs when I click the Adobe icon not just the updater) in the Advanced tab of the Flash Player icon are there any special things I should do if I click yes update?  should I close all the windows, apps, Safari?  do a restart?  I am debating if I should do a Clean Install, wipe all Flash Player off the Mac and just install the latest version rather then letting the updater install the latest version, which I think is 11.2.202.228.  I currently have 11.1.102.64 with a bunch of video issues.
    Thanks for any assistance.

    Replied via PM

  • How to delete double contact using icloud with pc for iphone4

    hoe to delete double contact using icloud with pc for iphone4

    Delete Contacts from iPhone the Fast Way, All or Individually

  • TS1702 how do i use microsoft word on my ipad? i cannot use flash on it as well neither do i use it with projector for presentation.

    how can i use microsoft office on my ipad? i can't also use flash to copy and transfer documents into it and neither could i use it with a projector for presentation.

    You can't use MS Office on the iPad as Microsoft haven't made app versions of their programs (you can only use apps that are in the iTunes app store on your computer and the App Store app on the iPad), but there are apps that support word, excel and powerpoint documents. The options include Apple's Pages app for Word documents, Numbers for Excel spreadsheets and Keynote for Powerpoint. And from third-parties apps such as Documents To Go ('premium' version) and QuickOffice Pro HD.
    As to how you then get the file to your chosen app will depend upon what the app supports - different apps will have different ways of copying their content to/from a computer e.g. via the file sharing section at the bottom of the device's apps tab when connected to your computer's iTunes, via wifi, email, dropbox etc

  • Using LoadVars with XML data

    All the examples in the text books, etc. show the LoadVars
    object being used with a .txt file. Can I use it with a .xml file
    or not? I have tried but the output panel just shows rubbish
    data!

    LoadVars is not XML. You need to get a textbook that
    discusses XML and
    Flash.
    The Flash documentation has excellent example for both
    LoadVars and XML.
    LoadVars:
    http://livedocs.macromedia.com/flash/8/main/00002336.html
    XML:
    http://livedocs.macromedia.com/flash/8/main/00002879.html
    With XML you have the additional task of parsing out the
    data.
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "Goo101" <[email protected]> wrote in
    message
    news:ec1iu6$m6j$[email protected]..
    > All the examples in the text books, etc. show the
    LoadVars object being
    > used with a .txt file. Can I use it with a .xml file or
    not? I have tried
    > but the output panel just shows rubbish data!

  • Using variable in function for FLASH video

    I have a webpage that uses PHP to pull a variable from a
    MySQL database.
    I would like to use that variable to tell my flash component
    what flash video to play. I cant seem to figure out how to place
    the variable in the function call to make it work.
    Also...The main page is in the root directory of my site with
    all my flash videos in a subfolder. I can't seem to get the videos
    to play on my main page unless they are in the same directory. I
    even tried to simply 'include' the movie into my existing page and
    it doesn't work.
    Any idea on either of these issues?
    (Is this even the correct forum area for this? I am new to
    using FLASH for this stuff)

    Thanks for the advice!
    Turns out I believe my answer lies in PHP, but I will check
    out the LoadVars help in FLASH too!
    Andrew

  • How to use embedded font (CFF) for Flash CS4?

    Hi,
    I am trying to embed "Arial Unicode MS" for use by TLF in my Flash CS4 project. As I googled around, I am using the "Flex SWC" approach, only not having any luck. Here is what I got:
    //Code in Flex ActionScript project:
    package
        public class FontEmbeds
            [Embed(source='C:/Windows/Fonts/ARIALUNI.TTF',
                    fontFamily='ArialUnicodeMS',
                    embedAsCFF='true'
            public const Font1:Class;
    When I am trying to instantiate this class, I have AS code in my Flash main timeline:
    var font:Font = new FontEmbeds_Font1();
    Flash compiler says: "1067: Implicit coercion of a value of type FontEmbeds_Font1 to an unrelated type flash.text:Font."
    Ok. Now after I changed it to:
    var font:FontEmbeds_Font1 = new FontEmbeds_Font1();
    Flash gives 3 errors:
    "VerifyError: Error #1014: Class mx.core::FontAsset could not be found.
    ReferenceError: Error #1065: Variable TextLayout is not defined.
    ReferenceError: Error #1065: Variable MainTimeline is not defined."
    I am assuming I have to create a Font1 object in order to use the embedded font. Is this assumption correct? As I've tried to use the "fontFamily" directly but Flash didn't seem to find the font at all:
    charFormat.fontFamily = "ArialUnicodeMS";
    Thanks.

    Hi Eric,
    Thanks for the info.
    I've tried to use the "fontFamily" directly but Flash didn't seem to  find the font at all:
    charFormat.fontFamily = "ArialUnicodeMS";
    In one fla where I used pure TFL, nothing gets rendered at all in the container Sprite. Flash doesn't throw any errors either. In another fla where I used a ComboBox, etc. along with TFL, it throws an error says it can't compile since "there is no ActionScript found" and I got a screen where all the Flash components were  flickering. After several attempts, Flash crashed.
    Also as a side note, the swc gets generated by Flash Builder Beta 2, at first it was 18mb and the second time I complied it become 9mb and stayed 9mb afterwards. Not sure if that's a concern.
    Geng

  • 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>

  • Documaker- Using Lookup with xml

    I am not able to use the lookup Rule to read the data from xml/table file.
    Requirement - I want to read xml for company number, after that I want to go to table file and append the company number to the field name and fetch the data from table and display on the section.
    I have done following setup -
    1. In fsisys.ini, I have following entry -
    TblFile = DEFLIB\tblfile.dat
    2. In DEFLIB\tblfile.dat, , I have following entry -
    TABLE\ADDRESS.DAT
    3. In afgjob_batch.jdt, I have following -
    ;CreateGlbVar;1;TblLstH,PVOID;
    ;LoadTblFiles;1;;
    I am getting blank and data is not fetched from the table, though not getting any errors.
    Please advice the properties that should be set for the variable so that it fetches the data correctly.

    This describes part of the setup for the table file(s) you are trying to use, but does not include enough information to glimmer why it might not be working for you.
    My first guess is that you have forgotten to define the Table Index value on the field in the rule definition area. Depending upon whether you using the XDD, this is either done in the section (FAP) in the Rule section of the field properties or in the XDD source field definition in the Rule section.
    The Table Index value determines which row of your Table file defines that actual table to search. So, if you only have one table, I suggest you set that value = 1.
    Next, it is important to realize that the field's Rule "data" property defines not only the search mask to look up the table "key" from the main extract, this also defines the search mask to use in the associated look up table. This definition requires spaces to separate the search mask from the data offset, from the table key search mask and finally the table data offset and length.
    Offset,SearchMask offset,data offsetTable offsetTable,tableData
    So, if your xPath search mask for the XML contains a space, and you are not using an XDD token with a question (?MyXDDFieldName), this space in your xPath is probably throwing off the rest of the interpretation.

  • Design skin with catalyst for flash encore export ?

    Hello,
    How is it possible to redesign and animate default encore export flash skin (flashDVD.swf during video playback) with Catalyst ?
    What are  files we have to change in encore roots folder (xlm,html,swf) to insert new design and interactiv skin during video playback?
    My project is to design my own animated skin for flash export in encore cs4.
    For the moment in encore we only have this skin: flashdvd.swf (see attached file) when we export our project for flash.
    This skin looks like dvd interactive panel, but i would like to add new interactiv button, a way to change loading video position.
    I didn't find any informations about that in encore's documentations and it seems to me an very important creativ part.
    Thanks a lot and sorry for my english,
    Rudo_fr

    Hi Rudo_fr,
    I think this might be a question for the Encore forums. I'm not familiar with Encore. Here's what I can tell you: at the end of the day, Catalyst creates a SWF file (just like Flash Professonal and Flash Builder). If you can then get Encore to use that SWF file as the video player skin, you should be golden. So I would recommend going to the Encore forums and asking: how do I use an arbitrary SWF as my video player skin?
    -Adam

  • Error while creating AW using DBMS_LOB with XML..

    Hi All,
    I am trying to create AW using DBMS_LOB package with XML,
    while creating AW,i am facing the following error.find the code also below :
    declare
    xml_awcreate_clob clob;
    xml_awcreate_st varchar2(4000);
    begin
    DBMS_LOB.CREATETEMPORARY(xml_awcreate_clob,TRUE);
    dbms_lob.open(xml_awcreate_clob, DBMS_LOB.LOB_READWRITE);
    dbms_lob.writeappend(xml_awcreate_clob, 48, '<?xml version = ''1.0'' encoding = ''UTF-8'' ?>');
    dbms_lob.writeappend(xml_awcreate_clob, 43, '');
    dbms_lob.writeappend(xml_awcreate_clob, 63, '<AWXML version = ''1.0'' timestamp = ''Mon Feb 11 13:29:11 2002'' >');
    dbms_lob.writeappend(xml_awcreate_clob, 15, '<AWXML.content>');
    dbms_lob.writeappend(xml_awcreate_clob, 25, ' <Create Id="Action41">');
    dbms_lob.writeappend(xml_awcreate_clob, 19, ' <ActiveObject >');
    dbms_lob.writeappend(xml_awcreate_clob, 163, ' <AW Name="NEW_XML_AW" LongName="NEW_XML_AW" ShortName="NEW_XML_AW" PluralName="NEW_XML_AW" Id="NEW_XML.AW"/>');
    dbms_lob.writeappend(xml_awcreate_clob, 19, ' </ActiveObject>');
    dbms_lob.writeappend(xml_awcreate_clob, 11, ' </Create>');
    dbms_lob.writeappend(xml_awcreate_clob, 16, '</AWXML.content>');
    dbms_lob.writeappend(xml_awcreate_clob, 8, '</AWXML>');
    dbms_lob.close(xml_awcreate_clob);
    xml_awcreate_st := sys.interactionExecute(xml_awcreate_clob);
    end;
    ORA-21560: argument 2 is null, invalid, or out of range
    ORA-06512: at "SYS.DBMS_LOB", line 833
    ORA-06512: at line 12
    Any idea or thought on this would be appreciable.
    Thanks in advance.
    Anwar

    Did you change any of the text in the lob write statements ?
    I believe you get this error if you increase the number of characters without increasing the 1st argument which looks as though it represents the number of characters

  • Using ALSA with MPD for the NCMPCPP VIsualizer?

    I've just finished setting up ncmpcpp with MPD, and it works great for playing my music and displaying it in the program. I really like the visualizer feature that comes with ncmpcpp, so I looked at the Wiki guide on activating it. On the wiki page, it uses 'mpd.fifo' to send data about the song file (I presume) to enable the visualization. By following the wiki page, I got the visualization working fine, but my audio was no longer working. According to XFCE's Audio Mixer program, I'm using ALSA. I don't really know what this means or why I can't get the visualization working, or if there's another package I could install to bridge the non-working ALSA with the working FIFO (in terms of ncmpcpp's visualizer). How can I enable the visualizations with ALSA?
    Thanks!
    Last edited by Zulfe (2015-01-27 08:44:26)

    th3voic3 wrote:Could you post your mpd.conf? Remember to put it in code tags.
    MPD
    music_directory "/home/damon/Music/"
    playlist_directory "/home/damon/.mpd/playlists"
    db_file "/home/damon/.mpd/mpd.db"
    log_file "/home/damon/.mpd/mpd.log"
    pid_file "/home/damon/.mpd/mpd.pid"
    state_file "/home/damon/.mpd/mpdstate"
    audio_output {
    type "alsa"
    name "My Audio"
    path "/tmp/mpd.alsa" #I just assumed that you could replace mpd.fifo with mpd.alsa to use ALSA with the visualizer
    format "44100:16:2"
    ncmpcpp
    mpd_music_dir = "/home/damon/Music/"
    mpd_connection_timeout = "5"
    mpd_crossfade_time = "5"
    playlist_disable_highlight_delay = "0"
    playlist_display_mode = "columns"
    browser_display_mode = "columns"
    incremental_seeking = "yes"
    autocenter_mode = "yes"
    header_visibility = "yes"
    statusbar_visibility = "yes"
    fancy_scrolling = "yes"
    follow_now_playing_lyrics = "yes"
    display_screens_numbers_on_start = "yes"
    ignore_leading_the = "yes"
    lyrics_database = "1"
    song_columns_list_format = "(10)[blue]{l} (30)[green]{a} (30)[magenta]{b} (50)[yellow]{t}"
    colors_enabled = "yes"
    main_window_color = "white"
    header_window_color = "cyan"
    volume_color = "red"
    progressbar_color = "cyan"
    statusbar_color = "white"
    color1 = "cyan"
    color2 = "cyan"
    active_column_color = "cyan"
    active_window_border = "blue"
    #visualizer stuff
    visualizer_fifo_path = "/tmp/mpd.alsa" #matching the directory configured in ~/.mpd/mpd.conf, visualizer_alsa_path is not a field
    visualizer_output_name = "My Audio"
    visualizer_sync_interval = "30"
    visualizer_in_stereo = "yes"
    #visualizer_type = "wave" (spectrum/wave)
    visualizer_type = "spectrum"
    frank604 wrote:I'm confused. First of all, how do you not know what you installed? Did you run an install script? Next is, did you get the visualization working? Post your ncmpcpp config.
    I know that I installed ncmpcpp and configured it to work with MPD. MPC is also active and managing my local database. I'm only unsure of what I've installed in terms of the ALSA audio driver. When I went through setting up my system, I downloaded all of the dependencies to get Arch up and running, and I therefore may have installed ALSA in the process when it was instead FIFO that I needed to make this work. The visualization worked fine when I set it up with mpd.fifo, but that cancelled out my audio. I could no longer hear my music. Config above.
    Last edited by Zulfe (2015-01-27 18:09:28)

  • Is it possible to use iSight with Messenger for Mac?

    I have been racking my brain on how to get iSight to work with my friends on Window messenger. The video option is not available. I've had my macbook for 2 months now and, after working/giving up and going back again cannot seem to get it to jive. Any ideas would be appreciated!

    Welcome to Apple Discussions, flowerlove
    The answer here will depend on the specifics of what you want to do.
    Both Microsoft Messenger for Mac and the older MSN Messenger for Mac are text only apps. You can not use iSight with either. Please let us know if you mean some different "Messenger" software.
    This Windows Messenger does not appear to offer video, even for PCs. If this is the application your friends are using, no video work with it.
    For a built-in iSight video connection with PC contacts who only connect via Windows Live Messenger or other clients of the MSN Messenger server, you can select from these alternatives:
    (1) Because your MacBook can use Boot Camp or Parallels to run Windows XP software on your MacBook, you can choose which method you want to use, add the required software (if you have not already done so), and then install and use the same Windows instant messenger application that your contacts are using to do video.
    (2) and (3) In addition to Niel's good "aMSN" suggestion, you can also try Mercury Messenger for Mac. Either can work with OS X for video and text chat. They offer the same features, but neither offers audio connections.  Use whichever one of these two you find more reliable or easiest to use if you do not want to add Windows XP to your iNtel Mac,.
    EZ Jim
    PowerBook 1.67 GHz   Mac OS X (10.4.10)    G5 DP 1.8  External iSight

Maybe you are looking for

  • Error on WWI report generation

    Dear all, for our new ECC 6.00 EhP5 system we set up a new WWI server on Windows Server 2008 R2, everything has been set up accordingly and the RFC calls are working fine. When we tried to generate the first report with a dummy template (only ph valu

  • ITunes 7.1 broke iPod mini syncing

    All worked fine until the 7.1 update. Now every time I connect my iPod mini (6G, through firewire), about a third of songs and audiobooks is re-downloaded onto the iPod. This is absolutely uncalled for, as those files were not changed. Worse yet, now

  • How to design group above report manualy

    I want to design group above report manually. How can i define main repeating frame and then internal repeating frame like report builder.

  • How can I watch the process is running in program?

    In my program, I fork some processes, and I must watch them timing, how can I know that these processes is running?

  • Payment stuck on Pending/Try Later

    So an auction ended on July 10th. The buyer paid on July 10th and I shipped it out on July 11. The item arrived and was delivered on July 13. The estimated fund availability date at that time was July 15th. It is now July 19th and whenever I check th