How to use a CF Query in Flash

I have a new project where I need to populate a scrolling
Flash banner with titles from a ColdFusion query. Have experience
in ColdFusion but somewhat limited in Flash. If I have a CF query
on the page that contains the Flash, how can the results of the
query of some 15 titles be passed into Flash and then looped
through and displayed in Flash? Code examples of passing to Flash
and looping through in Flash would be much appreciated. Using CF 8
and Flash CS3.

Here is a nice tutorial:
Moving data from ColdFusion CFCs to Flex 2 applications
http://www.adobe.com/devnet/flex/articles/helloworld.html

Similar Messages

  • How to use WMI to query to distinguish legacy and UEFI mode Windows?

    How to use WMI to query to distinguish legacy and UEFI mode Windows?

    This document covers requirements for UEFI support.
    http://msdn.microsoft.com/en-us/windows/hardware/gg463144.aspx
    One of the requirements seems to be ACPI. The Win32_BIOS class of WMI has a BIOSCharacteristics property that indicates if ACPI is supported. See this link for properties exposed by Win32_BIOS:
    http://msdn.microsoft.com/en-us/library/aa394077(v=VS.85).aspx
    There is a PowerShell example showing how to get this information at the bottom. You will need to study the document in the first link to see what else is required.
    Richard Mueller - MVP Directory Services

  • How to use one af:query for multiple VOs

    Hi all,
    How can we use an af:query component to query on multiple VOs?
    Think of a page with search area and a tabbed pannel with two tables based on different view objects.
    Any ideas?
    Thanks
    Version
    ADF Business Components 11.1.1.56.60
    Java(TM) Platform 1.6.0_18
    Oracle IDE 11.1.1.3.37.56.60
    Edited by: Barbara Gelabert on 28-dic-2010 6:55

    Hi Santosh,
    Not yet implemented, but I was thinking on overriding the query listener and creating a view critera on the second view object as a copy of the first one. That involves capturing operands, operators and values set and then applying the criteria and executing the query.
    Anyway, in case you don't need complex operators in the search area but can add them as where clauses to the query statement, you can use search forms instead of query components as Shay Shmeltzer suggests in [url http://blogs.oracle.com/shay/2010/12/combining_multiple_queries_and.html?goback=.gde_1002457_news_308820955]his post.
    Regards,
    Barbara

  • How to use this sql query in oracle?

    Hi all,
    i am using one sql query that is
    SELECT @ToDate = '2012-10-03 00:00:00.000'
    select @BetweenDate = DATEADD(MM,-1,@ToDate)
    select @FromDate = DATEADD(m,DATEDIFF(m,0,@BetweenDate),0)
    SELECT @ToDate = DATEADD(month, ((YEAR(@BetweenDate) - 1900) * 12) + MONTH(@BetweenDate), -1)
    so @todate value is = '2012-10-03 00:00:00.000'
    so in @betweendate value will come 1 month before like '2012-09-03 00:00:00.000'
    again in @fromdate value will come like that '2012-09-01 00:00:00.000' means first date of @betweendate
    and again @todate value will come like that '2012-09-30 00:00:00.000' means last date of @betweendate
    it's happening in sql and i have to use same logic in oracle also.
    how to use it??
    thanks

    declare
    todate date:= to_date('2012-10-03 00:00:00','yyyy-mm-dd hh:mi:ss');
    betwendate date := add_months(todate,-1);
    for datediff / additions you can direct subtract/add two different date variables
    like
    datediff = betweendate -todate
    dateadd := todate+1;

  • How to use MS Access database in Flash CS4 using AS3

    Hello everyone,
         I need help for how use the MS Access database in FlashCS4 and I want to save and retrive the data from the database and display in the Flash window.
    Thanks with,
    Viswa.

    http://www.northcode.com/blog.php/2011/05/06/Using-ADO-Data-Sources-in-Flash-Projectors

  • How to use dynamic select query which queries from 3 different table.

    Hi All,
    I am new to Toplink, i would like to use a named query to select some of the columns from 3 different tables with dynamic where clause.
    I have used the following lines. Please tell me how to get code for the dynamic where clause.
    First try :
    Vector objPersons = (Vector)session.executeQuery("findPersonByGlobalID",Person.class,vQueryArguments);
    The above method is not returning the vector or collection.
    Second Try:
    ReadAllQuery query = new ReadAllQuery(Person.class);
    query.useCollectionClass(LinkedList.class);
    LinkedList person = (LinkedList) session.executeQuery(query);
    The second try is returning the collection but, this fetches all the record from the table.
    1. How to query for range of records?
    2. How to query from multiple tables for some range. How to use dynamic range values ?
    Please reply with your answers or some pointers would help.
    Thanks and Regards,
    Vijay.B

    Hi,
    Did you try using a SQLCall ? It might be able to satisfy you requirements .. :-
    Employee employee = (Employee) session.executeSelectingCall(
        new SQLCall("SELECT * FROM EMPLOYEE WHERE EMP_ID = 44")
    );You can get more information here :-
    http://www.oracle.com/technology/products/ias/toplink/doc/1013/MAIN/_html/qrybas004.htm
    Regards,
    Sandeep

  • How to use "%CT" in Query Designer

    Hello everyone,
    i read that to calculate "Percentage Share of Result" in Query Designer we can use "%CT operator".
    But in my Query Designer (Version 7.10, SP10, Patch1) only "%" and "%A" are available to use. There ist no operator named "%CT".
    Can someone tell me how to use this operator?
    Thanks a lot and best regards,
    Susanne

    Hi,
    In the % Functions in a Formula you can find %, %A, %CT, %GT, %RT all 5 of them .
    My BW system is at Following Upgrade level:
    Software Component    Release    Level    Highest Support
    SAP_BW                701       0007            SAPKW70107
    If at a lower upgrade level, you need to upgrade till Specified BW Release to view these Fxn.
    You can check yours at System (Top of the window) --> Status . Click the Icon of magnifying glass named Componenet Info to view yours.
    Regards
    Raj Rai

  • How to use variant in Query broadcasting?

    Hi,gurus here,we need to distribute report based on query daily to users.
    We hope the required-entry variable of query can be filled according logic such as curren day,curren month,etc. automatically.
    In General Precaculation tab of Setting new setting we can see 2 methods of Variable Assignment:
    Determine here
    Determine from variants
    Apparently Determine here can just distribute query report based on fix value, it does not serve our purpose.
    But in Determine from Variants,we can see nothing from Variant list(Just the first select value which is No Selection Possible). We also tried to define a variants in analyzer,but we can not see the variant here.
    So how to use it to serve our purpose of distribute query report to users daily with automatic required-entry value filled?

    Hi,
    Please refer the article from the below link, it contains all the steps and will erase all your doubts -
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9075b11a-6e43-2c10-b7be-cfa0e97ec0cc?QuickLink=index&overridelayout=true]
    Hope this helps.
    Regards,
    RahulM

  • How to use PSD files as a flash page

    I have read that I can use a psd file in Flash as a "page".
    At what version does this become possible. Can I take a multi-layer
    PSD file that was exported from a Flash program and make changes to
    it in Illustrator and then import it back in as a page? Where can I
    find information on what product versions I need for both me
    (developer) and my designer to use to facilitate this and how to do
    it, any limitations, etc.

    Here is a sample code to set a jpg image in a frame:
    import java.awt.*;
    import java.awt.event.*;
    public class ImageFrame extends Frame{   
    private ImageCanvas c;
    private Image i;
    ImageFrame()
         Toolkit tk = Toolkit.getDefaultToolkit();
         // This assumes you have an image named
         // "somePic.jpg" in the current directory.
         i = tk.getImage( "somePic.jpg" );
         c = new ImageCanvas( i );
         add( c );
         public static void main( String[] args ) {       
         ImageFrame f = new ImageFrame();
         f.addWindowListener( new WindowAdapter()
    public void windowClosing( WindowEvent e ) {                
         System.exit( 0 );
         f.setSize( 400, 400 );
         f.show();
    private class ImageCanvas extends Canvas {       
         Image i;
         public ImageCanvas( Image i ) {           
         this.i = i;
    public void paint( Graphics g ) {           
         g.drawImage( i, 0, 0, 400, 400, this );
    I hope I can have my dukes now :-)

  • 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

  • How to use ROWNUM in query

    There are 1000 records in the employee table.I need to display 50 records each time by the order of the employees' names. In order to get the employee records from the 51st to the 100nd in the table, I tried to use ROWNUM.
    However, the following query doesn't do the job:
    select first_name, last_name from employee where rownum < 101 and rownum >49 order by last_name, first_name
    I currently use the following query:
    select * from (
    (select first_name, last_name from employee where rownum < 101 order by last_name, first_name)
    Minus
    (select first_name, last_name from employee where rownum < 50 order by last_name, first_name )
    ) order by 2,1
    The query works but is quite complictated. I would like to know if there a simpler way to do so.
    Thanks in advance.
    Helena

    The generally preferred query is something along the lines of
    SELECT *
      FROM ( SELECT a.*, rownum rn
               FROM (<<your query>>) a
              WHERE rownum <= <<MAX VALUE>>)
    WHERE rn >= <<MIN VALUE>><<your query>> here would be
    SELECT first_name, last_name
      FROM employee
    ORDER BY first_name, last_nameNote that if you wanted to use the MINUS construct, you would generally need to move the rownum clause outside the query that is doing the ORDER BY. The query
    SELECT first_name, last_name
      FROM employee
    WHERE rownum < 101
    ORDER BY first_name, last_namefetches the first 100 rows and then orders them, which is not generally what you want.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How to use this example code in Flash AS3?

    Hi,
    How can I use this AS3 code in my Flash CS4 document? The following code is in the below link:
    http://pv3d.org/2009/12/18/tweenmax-tweening-a-timeline-advanced-tweening/#
    Please help.
    Thanks.

    Hi,
    It is working quite nice. I want to use the same code but instead of as "Document Class" I want to put that code in a first key frame of my project. I tried the following but gets an error:
    The error is : 1131: Classes must not be nested.
    And the following code  I tried is:
        import com.greensock.TimelineMax;
        import com.greensock.TweenMax;
        import com.greensock.easing.Linear;
        import com.greensock.easing.Quart;
        import flash.display.Sprite;
         * @author John Lindquist
        [SWF(width="900", height="480", frameRate="31")]
        class EasingATimeline extends Sprite
            private var square:Sprite;
            private static const STEP_DURATION:Number = 1;
            public function EasingATimeline()
                square = new Sprite();
                square.graphics.beginFill(0xcc0000);
                square.graphics.drawRect(0, 0, 50, 50);
                square.graphics.endFill();
                square.x = 100;
                square.y = 50;
                addChild(square);
                //set all the eases of your steps to Linear.easeNone
                var step1:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 50, ease: Linear.easeNone});
                var step2:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 700, y: 350, ease: Linear.easeNone});
                var step3:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 350, ease: Linear.easeNone});
                var step4:TweenMax = TweenMax.to(square, STEP_DURATION, {x: 100, y: 50, ease: Linear.easeNone});
                var timeline:TimelineMax = new TimelineMax();
                timeline.append(step1);
                timeline.append(step2);
                timeline.append(step3);
                timeline.append(step4);
                //pause your timeline
                timeline.pause();
                //tween your timeline with whatever ease you want
                TweenMax.to(timeline, timeline.totalDuration, {currentTime: timeline.totalDuration, ease: Quart.easeInOut, repeat: -1});
    Please help me to solve this problem.
    Thanks.

  • How to use Text Layout Framework in Flash CS3?

    Hi,
    I perferctly now how to get TLF to work in CS4.
    As far as I know, the the base code is in AS3 so I should be able to locate the classes in CS3 and use it in Flash CS3.
    I appreciate if there is anyone who can help me with this?

    I'm not that knowledgeable about Flash Pro, however, I'd be quite surprised if you could make this work.  CS4 added Flash Player 10 support.  That includes a compiler update for Vector - a new AS3 feature.  Minimally you'll have to get Flash CS3 to generate FP10 level content and compile with the playerglobals.swc from FP10.  If you can get that far than adding textLayout.swc to your project should be straightforward.
    Maybe someone else has an idea.
    Hope that helps,
    Richard

  • How to use Group in Query Print Layout

    Hi All,
    I have prepared a query for fetching all purchase details along with tax code, now I have ordered it on tax code and prepared a query Print Layout,
    Now within this Query Print Lay Out I want to group the tax code and want to add total of some columns at end of every tax code.
    Request to guide how to achieve this.
    Thanking you in advance,
    Samir Gandhi

    We need to use Sort and Group in combination.
    Select the repeatative area and in PLD menu select Sort, then select the column to be sort.
    then in Header / Footer of that respective repeatative area select the fields and put in the group no. in the General.

  • How to use RIDC to query WebCenter Content Tables

    Hi all
    Can we use RIDC API to query WebCenter Content 11g Tables.if yes then How can I achieve this?
    i am newbie

    always find in oracle doc
    http://docs.oracle.com/cd/E21764_01/doc.1111/e11011/c05_core.htm#BABBABBF
    and this too
    http://jonathanhult.com/blog/2012/07/ridc-versus-cis/

Maybe you are looking for

  • Simple Button Code

    I have a .fla movie with 4 frames containing a different movie clip each - In my "Actions" pane I have a script written as such: home.services.enabled=false; about.services.enabled=false; contacts.services.enabled=false; the "home" movie clip is loca

  • Need "dummies for Apple TV" help - brand new consumer

    Hello! I'm NOT tech-savvy, but have been using Mac computers for many years! I just purchased a 2nd gen Apple TV and am trying to figure out if I have the necessary cables, ports, etc. to hook it up. I have one HDMI cable and one audio cable to use w

  • Hierarchy variable description not displaying correctly

    Hi all, I'm using 0ORGUNIT hierarchy variable in several queries either based on the characteristic 0ORGUNIT, or based on the navigational attribute 0EMPLOYEE_0ORGUNIT. When I execute the query with 0EMPLOYEE_0ORGUNIT hierarchy variable the selection

  • Early (Jan.04) Cinema 20" display with ADC:

    Need to replace video card in G5 (Jan 04). Need video card with ADC. Any suggestions as to where to purchase this. Tried DV Warehouse already. To expensive for refurbished card. Can I get around the ADC on new video card.

  • Iphone 4 rattling sound near camera

    whenever I put the phone on a surface (when the unit is in horizontal position and not on hand), I hear a rattling sound. Also when I shake it, I hear a rattling sound near the camera. What could it be? Should I take it on the store? Or is it just no