Lots of little hovering tips next to buttons

Instead of having people read a user manual I want to have lots of little hovering tips next to button and things people interact with, telling them what they do. when a user hovers over one of these tips i want it to expand with some text inside. I know how to make custom comonents to do this but I am not sure how to manage lots of these little tips on the screen, I think I will have to deal with the popup manger .

Please implement 1,2 5, 7,8.................Heck implement them all. I agree this phone was supposed to be uninhibited. And put out a fix to stop Bluetooth from intermittently disconnecting!

Similar Messages

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • My entire music library (purchased and my own) can't be put onto my itouch.  All these files have a little explanation point next to it.  When I click on it to play it it says file could not be found.  How do I get my music back?

    I've downloaded a normal software upgrade and now my computer doesn't recognize that my music files are mine....I guess.  Itunes library has tons of songs that I've either downloaded from disc or purchased from itunes.  Now, they all have this little explanation point next to the file name.  Can't put them on my itouch and can't play them on the computer.
    Tried to ask apple to help...they want $29.  I don't understand...I was simply upgrading my itouch with their software updates and now this.  Had the same problem with my apps.  Had to redownload all of them individually.  Didn't have to pay for them again.  They, too, had the little explanation mark next to them.
    Help me.
    I'm music-less.
    Kathy

    Ok, I had a glitch, forced to restart, and lost my train of thought.
    Reinstalling iTunes should fix the major issue that might have gone wrong, perhaps your explaination points will disappear and everything will be peachy again.
    But if they don't, you can open the XML file in iTunes Folder using a Text edit program to see what the common pathname is to the iTunes Music folder or where your content is located.
    If you moved the itunes folder, it needs to go back.
    I can't  download iTunes to my Vista virtual machine to test it out right now because iTunes is down, so I can't verify the pathname, perhaps your issue and the iTunes being down are related somehow?
    You don't want to import all your music again, but it's a option, but you lose all your playlists, that's what I'm trying to recover.
    If oyu don't have a whole lot of playlists, then simply select all the explaimation point music and delete, select File from the menu and import your itunes folder again.

  • How to implement a go to next node button for an ADF Tree backed by ADF Bin

    Dear all,
    I have been trying for quite some time now, and I do not get it. For my ADF Tree component, I want to implement a series of little iconic buttons that my users can press to Expand and Collapse the current node - those I have got to work, sort of - and Move to the Next or Previous node. My definition of Next Node is: the next node you can see on the screen; this can either be a child, a sibling or an ancestor's sibling.
    + A
    - B
    |- C
    |+ D
    + E
    So from A, next means B, from B next means C, from C it means D and from D it should go to E.
    My main question is: how can I programmatically set the currently selected node in the tree? And I mean not just set the focusRowKey...
    My tree is bound to a ADF Tree Iterator Binding.
    My tree nodes are 'clickable through an action link; this informs a managed bean of the currently selected node, a JUCtrlHierNodeBinding instance.
    <f:facet name="DeptView1Node" >
    <h:panelGroup>
    <af:commandLink text="#{node.Dname}"
    immediate="true"
    action="StartHrmTree"
    >
    <af:setActionListener from="#{HrmTreeTree.tree.rowKey}"
    to="#{HrmTreeTree.focusRowKey}"/>
    <af:setActionListener from="#{node}"
    to="#{HrmTreeTree.selectedNode}"/>
    <af:resetActionListener/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    At that point, in my setSelectedNode method, I can access the Node, its children etc. Methods calls to the tree are less successful; despite their description in the JavaDoc, calls like: getTreeModel().getRowKey() or getContainerRowKey() return null.
    From the Next Node button:
    <af:commandButton immediate="true" actionListener="#{HrmTreeTree.nextNode}" text="&gt;">
    </af:commandButton>
    I invoke the nextNode() method on my bean. When I access the selectedNode that I saved on this bean when the node was clicked on, I no longer can access the children of the node. Even the childIterator property returns null.
    Using the RowSetIterator I can access the current Row, go to the next row in the RSI, access children, so that seems a reasonable approach. However, I do not know how I can make the first child the currently selected node or even how to tell the tree that the child iterator is the current one.
    Using this code:
    // find out if the current Node has a child
    DCBindingContainer container =
    (DCBindingContainer)JsfUtils.getExpressionValue("#{bindings}");
    String iterName = "HrmTreeTreeIterator";
    JUIteratorBinding ib =
    (JUIteratorBinding)container.findIteratorBinding(iterName);
    List ibs =container.getIterBindingList();
    FacesCtrlHierBinding tree = (FacesCtrlHierBinding)container.findCtrlBinding("HrmTreeTree");
    RowSetIterator rsi2 = ib.getRowSetIterator();
    I never seem to be able to get beyond the RowSet iterator of the root level nodes. How can I make a child node's row set iterator the current one? How is it that my selected node object does not know how to access its child-nodes or even its childIterator binding? What refresh operation is required here?
    Any help will be very much appreciated (and credited in the blog article I will write when it all works out).
    Lucas

    Can you try setSelectedRowKeys(RowKeySet newSelectionState) API on the tree? That should change the selection.
    You can do some thing like this to populate the RowKeySet:
    RowKeySet oldSelectionState = null;
    RowKeySet newSelectionState = null;
    oldSelectionState = table.getSelectedRowKeys(); //table is the table component
    newSelectionState = oldSelectionState.clone();
    newSelectionState.clear();
    Object oldRowKey = table.getRowKey(); //Save the orginal rowKey in the variable
    String rowKey = "XXXX" // the key of the row you want to select
    table.setRowKey(rowKey); //set the currency of the table to the row you want to select
    newSelectionState.setContained(true); //add the current row to the selection key set
    table.setRowKey(oldRowKey); //Restore the currency to the old one.
    table.setSelectedRowKeys(newSelectionState); //update the table selection
    ///Now Do some partial update here to change display

  • Hovering mouse over a button and painting

    The following code is what I have to try to paint a rectangle when ever I hover over a button. This rectangle will show a brief description of what the button will do. I'm doing something similar when pressing the help button and hovering over something a description in a rectangle shows up. But I cannot get the paint method to work. Can anyone tell me what I need to do to fix this.
    public void mouseMoved(MouseEvent e) {
                        //System.out.println("asdf");
                        showMessage("Test");
                   private void showMessage(String string)
                        public void paint(Graphics g)
                             g.fillRect(25, 20, 20, 20);
                             g.drawString("Hello", 25, 20);
                        //System.out.println(string);
                   }

    jadescor wrote:
    The following code is what I have to try to paint a rectangle when ever I hover over a button. This rectangle will show a brief description of what the button will do. I'm doing something similar when pressing the help button and hovering over something a description in a rectangle shows up. But I cannot get the paint method to work. Can anyone tell me what I need to do to fix this. You really need to read the Sun Java Graphics tutorial as your assumptions on how painting works is not correct. For instance, you shouldn't be calling the paint method directly.
    Also, do you want to be doing this Graphics? Would it be easier to just add a tool tip to your button (i.e., use setToolTipText(...))?
    Good luck.
    Edited by: Encephalopathic on Apr 19, 2008 8:20 PM

  • Using next/back button along with thumbnails

    Please Help! I cannot figure out how to get the back/next buttons to work with the thumbnails. For instance if I click on the 4th thumbnail then hit next/back it skips and goes to the 2nd or 12th image. I know my scripting is wrong but I just can't figure it out. I also want the next/back buttons to loop.
    Can anyone please help me.
    Thank you for your time,
    stop();
    next_btn.addEventListener(MouseEvent.CLICK, nextimage);
    var imageNumber:Number = 1;
    function checkNumber():void{
    next_btn.visible = true;
    back_btn.visible = true;
    //If the imageNumber is = 12, then do something...
    if(imageNumber==12){
      trace(imageNumber);
    //if the imageNumber is = 1, then don't show the back button
    if(imageNumber==1){
      trace(imageNumber);
    checkNumber();
    function nextimage(evtObj:MouseEvent):void {
    //Adding number to the current value +1
    imageNumber++;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    back_btn.addEventListener(MouseEvent.CLICK, backimage);
    function backimage(evtObj:MouseEvent):void {
    //Subract 1 from the current value
    imageNumber--;
    UILoader_courand.source="portfolio/large/Courand/Courand_"+imageNumber+".jpg";
    checkNumber();
    aboutProject_btn.addEventListener(MouseEvent.CLICK, aboutclick);
    function aboutclick(evtObj:MouseEvent) {
    trace("Courand Desc was clicked");
    gotoAndStop("Courand Desc");
    var thumbLoader:Loader = new Loader();
    thumbLoader.load(new URLRequest("portfolio/thumbs/Courand/courandThumb1.jpg"));
    thumbLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded);
    function thumbLoaded(event:Event):void {
    allThumbnails.addChild(thumbLoader);
    thumbLoader.addEventListener(MouseEvent.CLICK, loadMainImage1);
    function loadMainImage1(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_1.jpg";
    var thumbLoader2:Loader = new Loader();
    thumbLoader2.load(new URLRequest("portfolio/thumbs/Courand/courandThumb2.jpg"));
    thumbLoader2.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded2);
    function thumbLoaded2(event:Event):void {
    allThumbnails.addChild(thumbLoader2);
    thumbLoader2.x=70;
    allThumbnails.buttonMode=true;
    thumbLoader2.addEventListener(MouseEvent.CLICK, loadMainImage2);
    function loadMainImage2(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_2.jpg";
    var thumbLoader3:Loader = new Loader();
    thumbLoader3.load(new URLRequest("portfolio/thumbs/Courand/courandThumb3.jpg"));
    thumbLoader3.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded3);
    function thumbLoaded3(event:Event):void {
    allThumbnails.addChild(thumbLoader3);
    thumbLoader3.x=140;
    allThumbnails.buttonMode=true;
    thumbLoader3.addEventListener(MouseEvent.CLICK, loadMainImage3);
    function loadMainImage3(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_3.jpg";
    var thumbLoader4:Loader = new Loader();
    thumbLoader4.load(new URLRequest("portfolio/thumbs/Courand/courandThumb4.jpg"));
    thumbLoader4.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded4);
    function thumbLoaded4(event:Event):void {
    allThumbnails.addChild(thumbLoader4);
    thumbLoader4.x=210;
    allThumbnails.buttonMode=true;
    thumbLoader4.addEventListener(MouseEvent.CLICK, loadMainImage4);
    function loadMainImage4(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_4.jpg";
    var thumbLoader5:Loader = new Loader();
    thumbLoader5.load(new URLRequest("portfolio/thumbs/Courand/courandThumb5.jpg"));
    thumbLoader5.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded5);
    function thumbLoaded5(event:Event):void {
    allThumbnails.addChild(thumbLoader5);
    thumbLoader5.x=280;
    allThumbnails.buttonMode=true;
    thumbLoader5.addEventListener(MouseEvent.CLICK, loadMainImage5);
    function loadMainImage5(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_5.jpg";
    var thumbLoader6:Loader = new Loader();
    thumbLoader6.load(new URLRequest("portfolio/thumbs/Courand/courandThumb6.jpg"));
    thumbLoader6.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded6);
    function thumbLoaded6(event:Event):void {
    allThumbnails.addChild(thumbLoader6);
    thumbLoader6.x=350;
    allThumbnails.buttonMode=true;
    thumbLoader6.addEventListener(MouseEvent.CLICK, loadMainImage6);
    function loadMainImage6(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_6.jpg";
    var thumbLoader7:Loader = new Loader();
    thumbLoader7.load(new URLRequest("portfolio/thumbs/Courand/courandThumb7.jpg"));
    thumbLoader7.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded7);
    function thumbLoaded7(event:Event):void {
    allThumbnails.addChild(thumbLoader7);
    thumbLoader7.x=420;
    allThumbnails.buttonMode=true;
    thumbLoader7.addEventListener(MouseEvent.CLICK, loadMainImage7);
    function loadMainImage7(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_7.jpg";
    var thumbLoader8:Loader = new Loader();
    thumbLoader8.load(new URLRequest("portfolio/thumbs/Courand/courandThumb8.jpg"));
    thumbLoader8.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded8);
    function thumbLoaded8(event:Event):void {
    allThumbnails.addChild(thumbLoader8);
    thumbLoader8.x=490;
    allThumbnails.buttonMode=true;
    thumbLoader8.addEventListener(MouseEvent.CLICK, loadMainImage8);
    function loadMainImage8(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_8.jpg";
    var thumbLoader9:Loader = new Loader();
    thumbLoader9.load(new URLRequest("portfolio/thumbs/Courand/courandThumb9.jpg"));
    thumbLoader9.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded9);
    function thumbLoaded9(event:Event):void {
    allThumbnails.addChild(thumbLoader9);
    thumbLoader9.x=560;
    allThumbnails.buttonMode=true;
    thumbLoader9.addEventListener(MouseEvent.CLICK, loadMainImage9);
    function loadMainImage9(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_9.jpg";
    var thumbLoader10:Loader = new Loader();
    thumbLoader10.load(new URLRequest("portfolio/thumbs/Courand/courandThumb10.jpg"));
    thumbLoader10.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded10);
    function thumbLoaded10(event:Event):void {
    allThumbnails.addChild(thumbLoader10);
    thumbLoader10.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader10.addEventListener(MouseEvent.CLICK, loadMainImage10);
    function loadMainImage10(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_10.jpg";
    var thumbLoader11:Loader = new Loader();
    thumbLoader11.load(new URLRequest("portfolio/thumbs/Courand/courandThumb11.jpg"));
    thumbLoader11.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded11);
    function thumbLoaded11(event:Event):void {
    allThumbnails.addChild(thumbLoader11);
    thumbLoader11.x=70;
    thumbLoader11.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader11.addEventListener(MouseEvent.CLICK, loadMainImage11);
    function loadMainImage11(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_11.jpg";
    var thumbLoader12:Loader = new Loader();
    thumbLoader12.load(new URLRequest("portfolio/thumbs/Courand/courandThumb12.jpg"));
    thumbLoader12.contentLoaderInfo.addEventListener(Event.COMPLETE, thumbLoaded12);
    function thumbLoaded12(event:Event):void {
    allThumbnails.addChild(thumbLoader12);
    thumbLoader12.x=140;
    thumbLoader12.y=70;
    allThumbnails.buttonMode=true;
    thumbLoader12.addEventListener(MouseEvent.CLICK, loadMainImage12);
    function loadMainImage12(event:MouseEvent):void {
      UILoader_courand.source="portfolio/large/Courand/Courand_12.jpg";

    Hi Tapash,
    You are probably right. However - I have been reading the User Guide back button chapter twice now - and still not sure what the problem is.
    I think, that for this purpose, you can consider my page as a very simple application - a search page with a search result table. Admit that I am not an OAF back button expert yet, but I wonder - this must be a very common problem to all OAF pages with a search / result table, not a problem specific to my application.
    My page is almost built out-of-the-box, except that I have a SingleSelection added to the result table. I have very little custom code in my processRequest, it looks like this:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OATableBean table = (OATableBean)webBean.findIndexedChildRecursive("ResultsRN");
    table.setTableSelectionText("Set Item number, then Select Equipment and...");
    table.setSelectionDisabledBindingAttr("DisableApproval");
    The page works fine after navigating back from the home page - except for the standard Next/Previous links in the results table. If I click the search button - for instance - a new search is being done ok.
    Appreciate if you can share an example what is needed to support back button in such a simple page.
    Thanks,
    Søren Moss

  • PLEASE HELP: Need some help with coding a next page button.

    so ok, in details, I'm trying to code a next page button and can't really figure out how and tried to look for them over the net but can't find the kind I am looking for. So ok, the kind of next page button I'm looking for is the kind where you have like << 1 2 3 4 5 ... (Next page button) >> not just a button where I need to hyperlink it to the next page url cuz I have like 35 pages to put... so I'm trying to figure it out yet no cigar so can someone please help me with this? Thanks!

    What I've seen done a lot (on forums with upwards of 1000 pages on some threads) is to add a "pagination" block of code that has:
    two or three pages before the current page
    two or three pages after the current page
    a drop down with ALL pages listed
    The "next" link or button is then just a copy  of the final link in the inline list.
    Something like this:
    <table>
    <tr>
    <td align="right" valign="bottom" nowrap="nowrap"><span class="gensmall"><b>Goto page <select name="generate_pagination" onchange="if(this.options[this.selectedIndex].value != -1){ window.location = this.options[this.selectedIndex].value; }"><option value="forum-page-26.html" selected="selected">1</option><option value="forum-page-26-45.html">2</option><option value="forum-page-26-90.html">3</option><option value="forum-page-26-135.html">4</option><option value="forum-page-26-180.html">5</option><option value="forum-page-26-225.html">6</option><option value="forum-page-26-270.html">7</option><option value="forum-page-26-315.html">8</option><option value="forum-page-26-360.html">9</option><option value="forum-page-26-405.html">10</option><option value="forum-page-26-450.html">11</option><option value="forum-page-26-495.html">12</option><option value="forum-page-26-540.html">13</option><option value="forum-page-26-585.html">14</option><option value="forum-page-26-630.html">15</option><option value="forum-page-26-675.html">16</option><option value="forum-page-26-720.html">17</option><option value="forum-page-26-765.html">18</option><option value="forum-page-26-810.html">19</option><option value="forum-page-26-855.html">20</option><option value="forum-page-26-900.html">21</option><option value="forum-page-26-945.html">22</option><option value="forum-page-26-990.html">23</option><option value="forum-page-26-1035.html">24</option><option value="forum-page-26-1080.html">25</option><option value="forum-page-26-1125.html">26</option><option value="forum-page-26-1170.html">27</option><option value="forum-page-26-1215.html">28</option><option value="forum-page-26-1260.html">29</option><option value="forum-page-26-1305.html">30</option><option value="forum-page-26-1350.html">31</option><option value="forum-page-26-1395.html">32</option><option value="forum-page-26-1440.html">33</option><option value="forum-page-26-1485.html">34</option><option value="forum-page-26-1530.html">35</option><option value="forum-page-26-1575.html">36</option><option value="forum-page-26-1620.html">37</option><option value="forum-page-26-1665.html">38</option><option value="forum-page-26-1710.html">39</option><option value="forum-page-26-1755.html">40</option><option value="forum-page-26-1800.html">41</option><option value="forum-page-26-1845.html">42</option><option value="forum-page-26-1890.html">43</option><option value="forum-page-26-1935.html">44</option><option value="forum-page-26-1980.html">45</option><option value="forum-page-26-2025.html">46</option><option value="forum-page-26-2070.html">47</option><option value="forum-page-26-2115.html">48</option><option value="forum-page-26-2160.html">49</option><option value="forum-page-26-2205.html">50</option></select>  <b>1</b>, <a href="forum-page-26-45.html">2</a>, <a href="forum-page-26-90.html">3</a> ... <a href="forum-page-26-2250.html">51</a>, <a href="forum-page-26-2295.html">52</a>, <a href="forum-page-26-2340.html">53</a>  <a href="forum-page-26-45.html">Next</a></b></span></td>
    </tr>
    </table>

  • How can i create an album with chose category list and next/previous button

    hello guys im working on a project for my uni i finished the whole website but one thing is missing
    i need to create a photo album with next and previous button, with choosing a category and inside each category i have like 5 pictures and i can change with the next/previous buttons to see another picture of the  same category.
    Please see the picture below to see what i mean.
    some told me it needs flash but i dont know how to work on it :S so plz if anyone can help me
    thank you

    Dear Mr. Murphy,
    thank you for your help.
    Actually i have tried to search for a tutorial and i found that one that was very helpful and gave me the half solution. the part i found and it worked with me is the part of the next and previous buttons and moving from an image to another.
    SO the part i still need is the list so when i click on a category i get the pictures of the chosen category, I had the idea of create a flash for each category alone and maybe i will be able to add them all together.
    But i guess it's too much work and there must be a way where i can make it all in one flash file.
    If you have any idea let me know please, thank you again for your help and i'm trying to search for the AS3 image gallery as you told me.
    Regards

  • I use QVC online a lot. When hovering over a catagory headings at the top of the page, a drop down menu shows a list of subcategories. Is this feature available in Firefox 4 & 5? If so, how do I turn it on?

    I use QVC online a lot. When hovering over a category heading in IE9 a drop down menu appears with detailed subheadings for that category. Is this feature available in Firefox versions 4 and 5? Is this something that can be turned on in Firefox 4 & 5? If so, how do I turn this feature on?

    Hey Dave,
    How did you get on with this?
    Have you tried CSS position:fixed?  I have been playign around with it on my own project  (and in fact are just about to post a related question)  and can confirm that it works with a plain old DIV.
    SVG I can't be sure though..
    Certainly give it a try.
    Cheers

  • Unable to process your request when clicking next page button in web app

    Hi,
    1) I'm using CR for VS v13 (13.0.2000.0)
    2) .Net 2.0 in IIS6 compiled with TFSBuild on TFS2008
    3) Issue ocurs when deployed on QA server
    4) Database is SQL server 2005
    5) Ado.Net passing data definition thru an xsd with a multiple tables dataset
    6) Reports using en embeded query are ok.  This happens only when we use data definition thru an xsd with a multiple tables dataset
    7) Don't know yet (I will have a hard time convincing my boss to stay with CR if I have to redo my reports anyway...)
    8) When using Fiddler, only "200" responses are returned.  Thats when producing the page and also when clicking on the next page button
    The detailed message also says: "The target '...' for the callback could not be found or did not implement ICallbackEventHandler. "
    Thanks
    - Stephane
    Edited by: jjslagace on Apr 1, 2011 12:25 AM

    Hi again Ludek,
    Sorry for this late reply.
    I followed you advice and installed the SP1 (CRforVS_13_0_1).  It did not solved the problem with the next page button but It did fixed some printing problem we also had.
    The page where the problem occured was loading the Crystal Reports Viewer dynamically after or durring the page load.
    After reading other posts loosely related to my problem, I changed my page to load the Crystal Reports Viewer statically in the .ascx.  It solved the problem and we can now navigate in the report normally like before the update.
    Thanks for you help.
    - Stephane

  • Next Song Button - Stops the song and does not advance to the next song

    I just loaded 8.0.2.20. Now I cannot use the ">>" next song button. I've tried many playlists and rebooted the system - no luck.
    If song 1 in my playlist is playing and I click on the next song button, song 1 stops, song 1 remains highlighted in the main display area (list view).

    I just figured this out. All of my songs were "unchecked" after I was working on setting up iTunes for multiple ipods. Now that they are all check, the "forward" or "Next" button works fine.

  • Next / Previous button throwing an error. Please help

    I wrote this next previous button code and it is throwing an
    error. I don't understand why or what I am missing.
    I want it to show 4 records for a page. Here is my code and
    the error.
    Code:
    <cfset CurrentPage=GetFileFromPath(GetTemplatePath())>
    <cfquery name="feat" datasource="#sitedatasource#"
    username="#siteUserID#" password="#sitePassword#" maxRows=4>
    SELECT feature.title AS ViewField1, feature.MYFile AS
    ViewField2, feature.ID AS ID
    FROM feature
    </cfquery>
    <cflock timeout="2" scope="application"
    type="READONLY">
    <cfset application.feat=feat>
    </cflock>
    <cfset MaxRows_feat=4>
    <cfset
    StartRow_feat=Min((PageNum_feat-1)*MaxRows_feat+1,Max(feat.RecordCount,1))>
    <cfset
    EndRow_feat=Min(StartRow_feat+MaxRows_feat-1,feat.RecordCount)>
    <cfset
    TotalPages_feat=Ceiling(feat.RecordCount/MaxRows_feat)>
    <cfset QueryString_feat=Iif(CGI.QUERY_STRING NEQ
    "",DE("&"&CGI.QUERY_STRING),DE(""))>
    <cfset
    tempPos=ListContainsNoCase(QueryString_feat,"PageNum_feat=","&")>
    <cfif tempPos NEQ 0>
    <cfset
    QueryString_feat=ListDeleteAt(QueryString_feat,tempPos,"&")>
    </cfif>
    <cflock timeout="2" scope="application"
    type="READONLY"><cfoutput query="feat"
    maxrows="4">#ViewField1#</cfoutput></cflock>
    <cfif PageNum_feat GT 1>
    <a
    href="#CurrentPage#?PageNum_feat=#Max(DecrementValue(PageNum_feat),1)##QueryString_feat#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('Previous','','../img/previous-over.gif',1)"><img
    src="../img/previous.gif" alt="Previous Records" name="Previous"
    width="96" height="27" border="0" id="Previous" /></a>
    <cfif PageNum_feat LT TotalPages_feat>
    <a
    href="#CurrentPage#?PageNum_feat=#Min(IncrementValue(PageNum_feat),TotalPages_feat)##Quer yString_feat#"
    onmouseout="MM_swapImgRestore()"
    onmouseover="MM_swapImage('next','','../img/next-over.gif',1)"><img
    src="../img/next.gif" alt="Next Record" name="next" width="96"
    height="27" border="0" id="next" /></a>
    The Error:
    Variable PAGENUM_FEAT is undefined.
    The error occurred in
    C:\Websites\x9vdzd\feature\featured.cfm: line 8
    6 : </cfquery>
    7 : <cfset MaxRows_feat=4>
    8 : <cfset
    StartRow_feat=Min((PageNum_feat-1)*MaxRows_feat+1,Max(feat.RecordCount,1))>
    9 : <cfset
    EndRow_feat=Min(StartRow_feat+MaxRows_feat-1,feat.RecordCount)>
    10 : <cfset
    TotalPages_feat=Ceiling(feat.RecordCount/MaxRows_feat)>
    I thought I had it defined! What am I missing?
    Thanks
    Phoenix

    that is strange... it should work fine - it does in my tests.
    here is somewhat updated & modified code to try. i have
    included
    comments to try and explain what is being done.
    basic logic is as follows:
    -form is submitted
    -check if file has been selected
    -try uploading new file
    -if new file upload succeeds, delete old file if it exists
    (as part of
    updating existing record, as new records obviously would not
    have any
    old image)
    -update/insert record data as necessary
    here's the code:
    <cfif isdefined("form.feat_OK")><!--- form submitted
    --->
    <!--- set file uploading vars --->
    <cfparam name="fileuploaded" type="boolean"
    default="false">
    <cfparam name="uploadedfile" default="">
    <cfset pathToFile = "c:\websites\x9vdzd\img\feature\">
    <!--- --->
    <cfif len(trim(form.MYFile))><!--- if a file has
    been selected --->
    <!--- try uploading new file --->
    <cftry>
    <cffile Action="upload" filefield="MYFile"
    accept="image/gif,
    image/jpg, image/jpeg, image/pjpeg"
    destination="#pathToFile" nameconflict="MAKEUNIQUE">
    <cfset fileuploaded = true>
    <cfset uploadedfile = cffile.serverfile>
    <cfcatch type="any">
    <!--- if upload did not suceed, reset file uploading vars
    --->
    <cfset fileuploaded = false>
    <cfset uploadedfile = "">
    <!--- this can be further enhanced by setting some var to
    hold error
    message and return it to user --->
    </cfcatch>
    </cftry>
    </cfif>
    <cfif form.id gt 0><!--- we are updating an
    existing record --->
    <!--- if new file upload was successful and the feature
    has an image
    associated with it - delete old image --->
    <cfif fileuploaded is true AND
    len(trim(form.oldimage))>
    <cfif FileExists(pathToFile & form.oldimage)>
    <cffile action="delete" file="#pathToFile &
    form.oldimage#">
    </cfif>
    </cfif>
    <cfquery datasource="#sitedatasource#"
    username="#siteUserID#"
    password="#sitePassword#">
    UPDATE feature
    SET
    feature.title=<cfqueryparam cfsqltype="cf_sql_varchar"
    value="#form.title#">,
    feature.Body=<cfqueryparam cfsqltype="cf_sql_longvarchar"
    value="#form.PDSeditor#">,
    feature.MYFile=<cfqueryparam cfsqltype="cf_sql_varchar"
    value="#uploadedfile#" null="#NOT fileuploaded#">
    WHERE ID = <cfqueryparam value="#form.ID#"
    cfsqlType="CF_SQL_INTEGER">
    </cfquery>
    <cfelse><!--- we are inserting a new record --->
    <cfquery datasource="#sitedatasource#"
    username="#siteUserID#"
    password="#sitePassword#">
    INSERT INTO feature
    (title, body, MYFile)
    VALUES
    (<cfqueryparam cfsqltype="cf_sql_varchar"
    value="#form.title#">,
    <cfqueryparam cfsqltype="cf_sql_longvarchar"
    value="#form.PDSeditor#">,
    <cfqueryparam cfsqltype="cf_sql_varchar"
    value="#uploadedfile#"
    null="#NOT fileuploaded#">)
    </cfquery>
    </cfif>
    <!--- relocate user to previous page after insert/update
    --->
    <cflocation url="feature-manager.cfm">
    </cfif>
    hth
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • Next previous button in gallery

    Hi guys, been a while, hope everyone is well.  I am having a problem implementing a next/previous button on an image once it has been enlarged in my gallery.  I have done it in pure as3 but all tutorials seem to use the timeline.  I will post my code underneath so you can see what I am up too.  The next/previous button should I think be added to the modelClicked function.
    From what I understand, I will get a next/previous button and turn them into a button object.  I will then delete them from my stage and instantiate them within the class below.  I would then add them to the modelClicked function with events tied to them.  What should I then do in these events to make it fit in with the code below?
    Any advise appreciated,
    Cheers
    Nick
    package classes.models
        import flash.display.Bitmap;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Sprite;
        import flash.geom.Rectangle;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.net.URLRequest;
        import eu.flashlabs.ui.BasicButton;
        import classes.ui.StateClip;
        import classes.ui.Placeholder;
        import classes.utils.URLUtil;
        import classes.vo.ModelsStates;
        import fl.containers.ScrollPane;
        import fl.controls.ProgressBar;
        import com.greensock.TweenLite;
        public class IndividualModel extends StateClip
            // CONSTANTS
            private static const PADDING_TOP:Number= 28;
            private static const PADDING_LEFT:Number= 50;
            private static const COLS:int= 4;
            private static const ROWS:int= 8;
            private static const GAP_HORIZONTAL:Number= 5;
            private static const GAP_VERTICAL:Number= 5;
            // MEMBER VARIABLES
            private var _data:XML;
            public function get data():XML
                return _data;
            public function set data(value:XML):void
                setData(value);
            private var items:Array;
            private var backBtn:BasicButton;
            private var itemsHolder:MovieClip;
            private var loadIndex:int;
            private var sp:ScrollPane;
            private var clonedBitmap:Bitmap;
            private var originalBitmap:Bitmap;
            private var rect:Rectangle;
            private var screen:Sprite = new Sprite();
            public function IndividualModel()
                super();
                items = [];
                addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
            private function addedToStageHandler(event:Event):void
                initChildren();
            private function initChildren():void
                itemsHolder = new MovieClip();
                addChild(itemsHolder);
                sp = getChildByName("mc_pane") as ScrollPane;
                backBtn = getChildByName("btn_back") as BasicButton;
                backBtn.addEventListener(MouseEvent.CLICK, backBtn_clickHandler);
                screen.graphics.beginFill(0x111111, .75);
                screen.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
                screen.graphics.endFill();
            public function destroy():void
                clearItems();
            // PUBLIC INTERFACE
            // LAYOUT
            private function clearItems():void
                while (items.length > 0)
                    var item:ModelsItem = items.pop() as ModelsItem;
                    itemsHolder.removeChild(item);
                    item.destroy();
            private function populateItems():void
                for (var i:int = 0; i < Math.min(COLS * ROWS, data.picture.length()); i++)
                    var item:ModelsItem = new ModelsItem();
                    item.data = data.picture[i];
                    item.x = PADDING_LEFT + (i % COLS) * (ModelsItem.ITEM_WIDTH + GAP_HORIZONTAL);
                    item.y = PADDING_TOP + Math.floor(i / COLS) * (ModelsItem.ITEM_HEIGHT + GAP_VERTICAL);
                    /*item.addEventListener(MouseEvent.CLICK, modelClicked);*/
                    itemsHolder.addChild(item);
                    /*item.mouseEnabled = false;*/
                    sp.source = itemsHolder;
                    items.push(item);
                sp.verticalScrollPolicy = "on";
                sp.horizontalScrollPolicy = "off";
                sp.update();
            // PICTURE LOADING
            private function loadNextPicture():void
                if (loadIndex < items.length)
                    var loader:Loader = new Loader();
                    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadNextPicture_completeHandler);
                    var item:ModelsItem = items[loadIndex] as ModelsItem;
                    loader.load(new URLRequest(URLUtil.getURL([email protected]())));
                    /*item.mouseEnabled = true;*/
            private function loadNextPicture_completeHandler(event:Event):void
                event.target.removeEventListener(Event.COMPLETE, loadNextPicture_completeHandler);
                ModelsItem(items[loadIndex]).bitmap = event.target.content as Bitmap;
                ModelsItem(items[loadIndex]).addEventListener(MouseEvent.CLICK, modelClicked);
                loadIndex++;
                loadNextPicture();
            // EVENT HANDLERS
            private function backBtn_clickHandler(event:MouseEvent):void
                state = ModelsStates.HIDDEN;
            private function modelClicked(e:MouseEvent):void
                stage.addChild(screen);
                var item:ModelsItem = e.currentTarget as ModelsItem;
                originalBitmap = item.bitmap;
                clonedBitmap = new Bitmap(originalBitmap.bitmapData.clone());
                stage.addChild(clonedBitmap);
                rect = originalBitmap.getBounds(stage);
                clonedBitmap.x = rect.x;
                clonedBitmap.y = rect.y;
                clonedBitmap.width = rect.width;
                clonedBitmap.height = rect.height;
                clonedBitmap.smoothing = true;
                TweenLite.to(clonedBitmap, 1, { x: (stage.stageWidth - originalBitmap.width) / 4, y: (stage.stageHeight - originalBitmap.height) / 6, onComplete:zoomInFinished, scaleX: 1, scaleY: 1 });
            private function zoomInFinished():void
                trace("Zoom In Finished");
                stage.addEventListener(MouseEvent.CLICK, mouseClicked);
            private function mouseClicked(e:MouseEvent):void
                TweenLite.to(clonedBitmap, 1, { x: rect.x, y: rect.y, onComplete:zoomOutFinished, width: rect.width, height: rect.height});
                stage.removeEventListener(MouseEvent.CLICK, mouseClicked);
            private function zoomOutFinished():void
                trace("Mouse Clicked");
                stage.removeChild(screen);
                stage.removeChild(clonedBitmap);
            // GETTERS & SETTERS
            private function setData(value:XML):void
                _data = value;
                clearItems();
                populateItems();
                loadIndex = 0;
                loadNextPicture();
                state = ModelsStates.SHOWN;
            // UTILS
            override protected function animateInComplete():void
                super.animateInComplete();
                switch (state)
                    case ModelsStates.SHOWN :
                        break;
                    case ModelsStates.HIDDEN :
                        break;

    I don't actually know how you're loading your data.  It's also very difficult to figure out what's happening in your code, since you're extending Classes you don't show. What I can tell you is that you need to store the data about iterating each collection at the level where it's needed. You may want to look at the composite pattern http://www.as3dp.com/2007/05/composite-pattern-book-part-1/ .
    In my opinion, the biggest problem you have is poor separation of concerns--you call things Models that are clearly Views, and because you are storing relevant data in Views rather than simply using your Views to represent data, you're making the task of representing and iterating through your data much harder than it needs to be.
    The ideal structure would be a data structure that has data for each thumbnail in some sort of collection, like an Array or Vector. This data structure would only be responsible for storing the data and maintaining a pointer to the currently selected thumbnail.  When the pointer changes, the data object dispatches a change event, so Views that care about this pointer can update. Each piece of data could then have a member variable that is one of these collections that manages the correct pointer.  That's where the composite pattern comes in.
    Now, the task of building your Views becomes much easier. You have one View that gets a collection and shows all the thumbnails and one View that gets a specific thumbnail, mix and match as needed. The Views, again watch the change event and do whatever they need to do when the pointer changes.
    At this point, who sets the pointer ceases to matter. It can be inside one of your Views or outside any of your Views--when the pointer changes, the View that is watching that particular collection will update, and if the result of that update is that a nested View then watches a different collection, that's ok--it still follows the same principles.

  • Creating next/previous buttons problem

    I am creating next & previous buttons on my main scene. I have created a scrolling photo gallery as well as a random button to randomly select images. I have a photos layer that has 15 images tagged in the AS "img1" "img2"....hopefully this all makes sense so far.
    What script can I use to easily create a next_btn. This is what I currently have
    next_btn.onRelease = function() {
        photos.gotoAndStop("img"+1);
        photos.fader.gotoAndPlay(2);
    "img"+1 goes to the "img1" however I would like it to go to the next img instead of always go to img1. I've tried _currentframe+10 (images are 10 frames apart) and some others but cannot seem to get it to work.
    I would like this to work along with the random button so that when a random image is clicked, the person can click the next button and get to the next image.
    Current script in...
    random_btn.onRelease = function(){
        var picNum:Number
        picNum = Math.ceil(Math.random()*15);
        photos.gotoAndStop("img"+picNum);
        photos.fader.gotoAndPlay(2);
    next_btn.onRelease = function() {
        photos.gotoAndStop("img"+1);
        photos.fader.gotoAndPlay(2);
    if you need any clarification let me know! thanks!

    i'll try to explain this simplier.
    scene 1 (layers)
    inside layers
    AS
    next back btn
    random btn
    photos
    displays images when clicked on from photo gallery
    scrolling photo gallery
    photo gallery + buttons for gallery
    i'm looking to create a simple < > prev and next image buttons.
    My current script from above (original post) hasn't worked out.
    random_btn.onRelease = function(){
        var picNum:Number
        picNum = Math.ceil(Math.random()*15);
        photos.gotoAndStop("img"+picNum);
        photos.fader.gotoAndPlay(2);
    next_btn.onRelease = function() {
        photos.gotoAndStop(picNum+1);
        photos.fader.gotoAndPlay(2);
    I'll take out the random_btn if need be to create just a regular next button and previous button. (i'll worry about tracking the scrolling image gallery later...one issue at a time)
    Thanks again.

  • My phone as working fine until suddenly 90% of my music, most purchased, skipped over in shuffle. i then looked again and it had a little red circle next to the song and it wont play. It works fine on my iTunes on my laptop but not on my iPhone 4

    My phone as working fine until suddenly 90% of my music, most purchased, skipped over in shuffle. i then looked again and it had a little red circle next to the song and it wont play. It works fine on my iTunes on my laptop but not on my iPhone 4

    Reset the PRAM
    Reinstall the operating system from the dvd (you will not loose your data)

Maybe you are looking for

  • No data found for Report

    Hi, I am new to Apex so please be clear with your answers.  We use a report based on a view when I access the report in the application I receive "no  data found" error.  If test the query in SQL commands it works fine.  If I check the view in object

  • Power Point Custom Animations

    I have used Power Point for the PC quite a bit, but am having trouble doing some of the same things on my Mac. I am trying to animate some bulleted text, but want to animate each bullet separately. Everytime I try, it makes the whole text box have th

  • Putting Powerbook to rest-Refurbished Macbook Pro ?

    I have a G4 Powerbook, that I love but its getting old. Im running Final Cut Pro HD on it and its very slow. I want the new 17" Macbook Pro but I cant see myself paying almost $3000. I have seen a few 15" Macbook Pros thats in my price range but ther

  • Difference in reporting free space on my drive

    Hi all, I have a macbook pro 2011 running Lion on a 500GB HDD. I am having a small issue in reading how much free space do I have on my hard drive. The status bar in the Finder window reports: DiskUtility.app reports: I don't have any partitions on t

  • Automating Manual coorelation

    Hi All, My requirement is that when I reconcile a target system, I get around 2k accounts, "UNMATCHED" and "UNKNOWN" in the Account Index. We have users in the IDM. The problem is that we need to link the two accounts (Case of manual correlation). Bu