Ruben's Flex Book / Pricope's Large Book

Anybody here have experience with modifying Ruben Swieringa's Flex Book or Miti Pricope's updated version, Large Book (a dynamic version to allow large numbers of pages/content without bogging down performance)?
I need to figure out how to lock/unlock page turns, and to determine the function or event that is triggered when the page is turned... I will search through the classes to find out, but figured I'd post here in case anybody is experienced with it and can save me some time by guiding me where to find this in the package(s).
(I'd like to dynamically enable/disable page turns, and to listen for the page turn so that additional events can occur when the page is turned)
-- Matt

Okay, I might be able to figure this one out... I found the book events that are triggered and hopefully I can use something like a combination of pageflipEnding and getLastFlippedCorner to be able to figure out whether it was turned forward or back a page... 
if that works, I just need to find a way to lock/prevent and unlock page flips (I imagine this will involve setting a flag to allow/disallow mouse over or click events on those areas)...

Similar Messages

  • Need Information about Flex Books

    I want to learn flex perfectly. please give me book names
    with author name and URLS

    I think lynda.com flex materials are wayy too shallow just
    barely scratching a surface,
    I personally recommend following :
    http://www.theriabook.com/
    plus it comes with a free dvd,
    at first I was little skeptical about that book, but IMHO,
    this is the most advanced book I have ever found, and I have
    safari subscription so I have looked at several of flex books so
    far,
    training from the source is also a good book.

  • Flex deployed on a large scale?

    We plan on developing a new product and Flex popped in my
    mind as a development platform. I know a good deal of Flex 1.5, but
    only used it for personal sites.
    My question is how well Flex behaves in a large scale
    environment to those who have deployed it in such. Server load will
    be at least thousand / day.
    Thanks!

    Hmm... I made one medium sized application in 1.5 (approx 10
    screens, user access <1000 times per day) and it seems to be
    working alright for the client.
    Now I am working on a major application (over 20 main
    screens, and definately access>1000 times per day) and it is not
    going well. I am really worried about the bugs and memory issues of
    Flex 2.0. I have also not found a sure-fire way to address these
    potential issues. I can say this: for the size of application we
    are making, Flex and Flash Player just aren't up to the job.
    Compiled and executed as a single .swf application results in 755MB
    ram usage and for some reason a constant CPU access of 60% (Pentium
    4 proc.) after accessing every screen. And this is just FlashPlayer
    doing what it is supposed to. Me, not being a computer engineer,
    can't really address these problems. Flex and AS aren't C. I can't
    control memory usage with my code. By breaking up the huge
    application into smaller ones and then loading those via an
    SWFLoader I may be able to avoid this rampant resource hogging but
    it's sort of illogical from an application architecture standpoint
    because this is ONE application.
    As a developer, I can see plenty of places to streamline the
    application but this simply isn't possible when dealing with the
    client. They want this screen to look and act this way and that
    screen to look and act the other way. I can talk about how if both
    screens use the same layout and logic they can both use the same
    template class, share static resources, blah blah until I am blue
    in the face but it won't matter because they are the client and
    they decide how the application is going to look--at the expense of
    streamlining. That's just the real world. Then I have to somehow
    make it work.
    By the way... before you think "just use view states!", I do
    use those--and bitwise logic flags for more complicated
    configurations--it's still not enough, although it did cut approx
    160 screens in documentation form down to just 20 in
    implementation.
    In worst case scenarios, I have to deny the client what they
    want and if they ask me why, I have to reply "it can't be done with
    Flex". Then their satisfaction in the product drops. Flex suddenly
    isn't as incredible as it seemed at first. Doesn't matter how
    pretty and animated the screens are when if you run them over an
    hour your computer slows to a halt or .ttc fonts stop loading (HUGE
    issue here in Japan).
    I have yet to see a sample application that comes close to
    the scale of our current project: A library book browser? neat but
    that's just square one; A Commodore 64 emulator? cute. no place in
    business; A real-estate browswer? in our project that would be the
    equivalent of ONE SCREEN out of the entire application.
    I like Flex. It's fun--on a small scale. But I never want to
    develop a real world business application using it again. There are
    way more (and way more skilled) Java, JSP, PHP, etc. etc.
    developers out there than Flex developers who can make much more
    robust applications. It's a shame the client got caught up in the
    hype of Flex RIA before the technology was ready for the task.
    Very long story short: Beware using Flex for an involved
    application.
    It's going to require exponentially more time than a smaller,
    less ambitious project--especially if you don't purchase FDS. And
    oh my god implementing a Flex application on a legacy Struts
    framework... kill me now! As much as I hate "page-refresh"
    applications, Flex (both 1.5 and 2.0) has not proven to be the
    god-send that I had hoped and dreamed it would be as a developer.
    What can you expect, though? It's only been out a few years.... And
    as far as clients' perspectives go, the price for FDS also
    certainly doesn't help make it appealing. That is why it is so
    embarrassing to tell them their dream application is quickly
    becoming an egregious memory hog.
    Anyway, good luck if you take on your project with flex. Just
    be careful!

  • Lost my flex book; should I wait for FlashBuilder 4 books?

    I don't know if things changed very much between Flex 3 and Flash Builder 4.
    Anyway, can any of you shed light on what is coming in the form of FlashBuilder books, training or education?
    Also, since I am a Flex/FlashBuilder 4 novice, I haven't found userful resources in Flex frameworks; similar to fusebox if you know ColdFusion.
    Greatly appreciate any information or future information if you know it.
    Thanks

    I'm not too well informed about Audible support so I won't commment. Creative is generally pretty tight lipped about further developments too so I wouldn't expect anyone to make an official promise.
    I DO know that bookmarking is enabled. You can store up to 0 bookmarks and I use it extensivly for the audio books and comedy albums I have in mp3 format.
    There was a big discussion about the jogging with the Mini and Micro. I think Creative is being a little more on the cautious side to prevent the player from sustaining repeated shocks. There were users who posted here saying that there is no problem when they go jogging or work out with their Micro. The Micro and Mini are pretty much the same arcitechture inside so being a little rough probably won't hurt too much. It's a matter of Creative being maybe a little too conservati've.
    I'd like to add that, since I've owned both, the Micro is an amazingly good player and it kinda blows the Mini outta the water in every way.Message Edited by fdreinthea on 0-8-2005 2:30 AM

  • AS3 Books for development of Audio Applications

    Hello All,
    I want to make some audio mixers similar to sound editing
    program with a timeline etc.
    Please recommend me some books that talk about all this
    stuff.
    Thanks

    I can't think of any specific books, but I tend to buy
    everything from friendsOfEd line of flash and flex books by APress.
    The downloadable code examples almost always work and the books
    keep my attention.
    They also touch on more advanced topics with enough detail to
    get you ready for some deep programming if that is what you are
    interested in.

  • Page Book Component Error

    I keep getting the following error:
    1046: Type was not found or was not a complie-time constant:
    BookEvent
    for the code below
    private function onPageTorn (event:BookEvent):void {
    if (myBook.pages.getItemIndex(tearablePage1) == -1){
    tearBtnVisible = true;
    Can anyone help me with this error.

    Okay, based upon a sample method found (
    http://www.rubenswieringa.com/code/as3/flex/Book/docs/)
    Here is the BookEvent class, which did fix those previous
    errors, but I do not know what or how to make this funciton
    correct.
    Sample function:
    public function BookEvent():void{
    if (type:String, book:PageManager, page:Page = null,
    bubbles:Boolean = false,
    cancelable:Boolean = false);
    }

  • Flex With WAD

    Hi,
    What is the use of FLEX?
    Can flex be used with WAD 3.x?
    Is there any guide for using Flex?
    Any pointings/help will definitely be rewarded.
    Please help.
    --Ragu

    Hi,
    SAP is moving away from SAP proprietary technology to support common frameworks and standards which are already popular outside the SAP universe. The eSOA initiative is clearly a big step into that direction.
    Every technology (including user interface frameworks) has pros and cons. Instead of trying to push one technology to fit all possible use cases SAP is now allowing customers to use the best UI technology for their specific needs. This includes Web Dynpro, Interactive Forms, Duet, Mobile and Flex.
    Certainly Adobe Flex has established itself as the major Rich Internet Application (RIA) framework around. The Adobe Flex Book is one of fastest selling books from O'Reilly right now. There is a growing eco-system of Flex developers. By enabling integration between SAP and Flex, SAP customers can benefit from that eco-system and the engaging UI of Rich Internet Applications. I see a growing number of SAP customers who require rich and compelling user interfaces and therefore decide to build custom UI's with Adobe Flex. Some of those customers started with Visual Composer (which is a great UI modeling tool which can generate Flash UI), but then wanted to extend and customize the UI beyond the capabilities of VC. VC is a modeling tool, not a development environment. Flex Builder is targeted at developers (Eclipse based development environment) who want to create RIA and integrated them with backend applications.
    I understand that the various options make it harder fro SAP developers to decide which tool to use for which purpose (certainly was easier when Deynpro was the only option), but strongly believe that end-users will benefit from the improved UI options which can be customized for specific tasks and user groups. Adobe and SAP continue to work together to integrate UI technologies (e.g. SAP is working on the integration of Flex/Flash UI into Web Dynpro).
    Adobe Flex is part of Visual Composer Compiler capabilities. At SAP TechEd in Munich was an interessting demo of rendering webdynpro with Flex during the Demo Jam. For more information you can download the Demo Jam Video here.
    http://www.sapteched.com/emea/activities/videos/DemoJam.wmv
    http://www.sap-press.de/katalog/buecher/titel/gp/titelID-1246?GalileoSession=21861377A2-Y16ZVUWs
    http://www.sap-press.com/product.cfm?account=&product=H1951
    Hope this helps,
    Regards
    CSM Reddy

  • Is Flex 4 Training from the source any better than Adobe's own Using Flex 4?

    I am preparing for the Flex 4 ACE exam from Using Flex 4. Is there a good reason for me to switch to the training from the source book?

    Firstly note that F4TFS is in 2 parts, and although part 2 appears to have been published at the end of 2010, AFAIK it appears to be unavailable right now. I have read F3TFS, and am going through F4TFS at the moment. Using Flex 4, available free as a 32Mb PDF, is a very useful reference, along with the 12 or so other Flex books available free from Adobe. While Using Flex 4 is a reference (including plenty of example code), F3/4TFS is structured as a series of lessons, working on the same project (Flex Grocer shopping cart app) throughout. It touches on most aspects of Flex development, and is a great guide for beginners. If I have one criticism of the book, it is that a shopping cart example is going to be inherently dull- so if you have a low boredom threshold you will have to force yourself through the examples. I would still recommend it as a beginner's book, although in the real world you are unlikely to be using Design Mode much, except for throw-away prototypes. If you have a project you want to get started on right away, then you could just wade in and start coding using the Adobe documentation for help, but if you'd like to have an existing example, then F4TFS is for you.
    When learning Flex its best to read as much as possible, so I'd widen your reading if possible to include the Flex 4 Bible, AdvancED Flex 4, Enterprise Development with Flex, etc, and the absolute shedloads of blog posts and examples on the internet.

  • What is untyped object in Flex?

    Hi All,
    Currently I have started learning flex. The following sentence is taken from one of a flex book;
    "The void data type, containing only the value undefined, is the default value for all untyped objects, and it is used mostly as a return type annotation for method declarations."
    Could you please explain what is a untyped object in Flex.
    Thanks and regards
    Loganathan. K

    Actionscript 3 is a strongly typed language, which means that when you declare a variable, you also declare what type of variable it is. For example, 'var text:String' declares a variable with the name 'text', which is of the type 'String'. You can also declare an untyped variable if you aren't sure what type of data the variable will hold, or if it could hold multiple types of data. Using 'var data:*' declares the variable 'data' as an untyped variable, so you could set its value to a String, Number, Object whatever you choose. When I use them, I tend to type my 'untyped' variables as Object though, as pretty much all data types use Object as their base class.

  • Flex Forum - Redundant?

    Hello All,
    Based on what I understand SAP's strategic direction to UI, Visual Composer is going to be one of the major drivers from SAP to revolutionize its UI. VC supports Flex but I don't know how much of custom development is supported. With VC, EP/WebDynPro, isn't standalone Flex development kind of redundant or an over do? What does it address that other don't?
    Presently, every SAP customer has 99% of them using SAP GUI. Just about now, they are given tools other than SAP GUI like EP/WebDynPro/VC etc. At this point, what's the benefit of presenting another UI (point of entry) with an already not so great adoption of earlier front-ends (like VC) ?
    I would anticipate SAP to put more energies into VC/EP/DynPro/GPs/CAF instead of presenting multiple other parallel seemingly not so different technologies. This only confuses users.
    Please share your opinions,
    Kiran

    Hello Kiran,
    SAP is moving away from SAP proprietary technology to support common frameworks and standards which are already popular outside the SAP universe. The eSOA initiative is clearly a big step into that direction.
    Every technology (including user interface frameworks) has pros and cons. Instead of trying to push one technology to fit all possible use cases SAP is now allowing customers to use the best UI technology for their specific needs. This includes Web Dynpro, Interactive Forms, Duet, Mobile and Flex.
    Certainly Adobe Flex has established itself as the major Rich Internet Application (RIA) framework around. The Adobe Flex Book is one of fastest selling books from O'Reilly right now. There is a growing eco-system of Flex developers. By enabling integration between SAP and Flex, SAP customers can benefit from that eco-system and the engaging UI of Rich Internet Applications. I see a growing number of SAP customers who require rich and compelling user interfaces and therefore decide to build custom UI's with Adobe Flex. Some of those customers started with Visual Composer (which is a great UI modeling tool which can generate Flash UI), but then wanted to extend and customize the UI beyond the capabilities of VC. VC is a modeling tool, not a development environment. Flex Builder is targeted at developers (Eclipse based development environment) who want to create RIA and integrated them with backend applications.
    I understand that the various options make it harder fro SAP developers to decide which tool to use for which purpose (certainly was easier when Deynpro was the only option), but strongly believe that end-users will benefit from the improved UI options which can be customized for specific tasks and user groups. Adobe and SAP continue to work together to integrate UI technologies (e.g. SAP is working on the integration of Flex/Flash UI into Web Dynpro).
    Cheers,
    Matthias
    Adobe Systems

  • Flex Builder 3.1 Standard and Flex SDK 4.1 build 16076

    Hi I have a problem I have downloaded Flex SDK 4.1 16076 and added to my sdk list in Flex Builder. I can compile my program fine except when I change files the flash imports are removed and the code hints don't have any knowledge of flash.display and other base classes such as Movieclip and Sprite. As soon as a manually paste the imports into my class files it compiles again but can't be doing with copying imports back in every time I change a class file.
    It didn't do this on version 4.0.0 - I have added   -static-link-runtime-shared-libraries=true to compiler arguments as I did have a problem with it firstly compiling about FontAsset.
    Does anyone know why? Do I have to add another swc in?

    You should always have separate workspaces for separate versions of Flash Builder.
    Flex 3 and Flex 4 have some large differences.  You will probably want to spend some time reading about migrating by searching on Google.  Here is a good place to start: http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html

  • Flex Contract in Financial Services company

    Hi,
    We have an opening for a Flex contractor on a large Market Surveillance application.
    You must know Swiz / Parsley, Flex 3 to 4.5, BlazeDS / LCDS / GraniteDS, Unit testing.
    Start: ASAP
    Duration: 3 months
    Daily rate: GBP 350-550
    Best regards,
    Karl Sigiscar.

    Hi Karl,
    Is this position still open?
    Best,
    Lee

  • How does Flex cache images??

    To my understanding, in straight HTML the browser caches image files such that upon return visits (all other things being equal) the browser obtains the image from a browser cache rather than re-downloading.
    Does/can flex make use of the same browser cache?   More specifically, if my flex app downloads a large image file; then the visitor closes his/her browser before reopening it and navigating back to my flex app URL where does the same large image file come from, the imageServer again or from some sort of cache?
    For that matter is the flex app itself cached by the browser such that (assuming no changes were made between visits) a return visit to my flex app url does NOT require the re-download of the app from the server (I know HTML has this capability but not sure about the HTML "wrapper page" which launches the flex app).
    Thanks in advance,

    Sorry for being newbie obtuse but are you saying that FP (Flex Project I assume)'s are an Active X (application) and thus IE does utilize its cache for all HTTP based communications???
    If so then as I understand it, the typical Flex Project has an HTML wrapper which then loads the Flex App (I assume using HTTP).  Subsequent Flex<--->Server communications can be HTTP or other format (AMF which I believe BenForta indicated was HTTP "wrapped" as well but at the moment I am less concerned with this).
    As such is the following correct?
    1.)  IE Browser hits HTML page (url) ----> IE checks its cache; If exists compares vs current version on server; If different download from server else load from cache
    2.)  HTML page calls Flex App (using HTTP???) ----> IE again compares Flex App in cache (if exists) vs. server and if same load else download
    3.)  Flex App retrieves image file names via <mx:RemoteObject> ----- I don't see how browser cache can be used here as results not known until after dbase query completes
    4.)  Flex App uses <mx:RemoteObject> results to retrieve large .jpg files  ---- do these "pass through" the browser (and therefore load and/or store in cache) or are they purely "Flex contained" (and if so does flex have any automatic cache or do I have to perhaps store the jpgs in a shared object if I hope to reuse them without a download)???

  • Upgrade from Flex Builder 3.1 to Flash Builder 4.5

    I have several project in Flex Builder 3.1 now.
    What is the best way to move them in Flash Builder 4.5? Can I just use the workspace from Flex Builder 3.1 in Flash Builder 4.5?
    Is Flex 4.5 backward compatible at API level?

    You should always have separate workspaces for separate versions of Flash Builder.
    Flex 3 and Flex 4 have some large differences.  You will probably want to spend some time reading about migrating by searching on Google.  Here is a good place to start: http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html

  • How can he update a non-existent string?

    I suppose 40 years of imperative programming has rendered me unable to comprehend this new-fangled style of Declarative programming! :-(
    Here's a short program from a Flex book which I can't understand.
    At Initialization of the mx:Panel, which is supposed to be triggered BEFORE the panel is created, he writes into a text string, "event_txt.text", which is defined WITHIN mx:Panel, ie: AFTER the panel has been created.
    And it Works! ??
    How can event_txt be updated before it has been created?
    OK, I must be confused about when 'initialize' is triggered.
    Can anyone straighten me out?
    Is there a preliminary compiler scan BEFORE 'initialization" to pick up all the variable names?
    If so, what else happens before "initialization"?
    Thanks!
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    // Flex Solutions: Essential Techniques for Flex 2 and Flex 3 Developers
    // Author: Marco Casario // All Rights Reserved.
    // Solution 1-5: Understanding the Flex event model
    // @author Marco Casario// @date 26 November 2007// @version 1.0// @site flexsolutions.comtaste.com
    -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        initialize="event_txt.text += '\n Application initialize fired'"
        creationComplete="event_txt.text += '\n Application creationComplete fired'" >
        <mx:Panel title="Handling System Events"
               initialize="event_txt.text += ('\n Panel initialize fired')" width="372" height="234"  <!-- here's the Initialize statement -->
            creationComplete="event_txt.text += ('\n Panel creationComplete fired')" >
            <mx:TextArea editable="false" height="100%" width="100%" 
                id="event_txt" />                                                                 <!-- this string isn't defined till AFTER initialization, right? -->
        </mx:Panel>
    </mx:Application>
    <!--
    ///////////// OUTPUT  ///////////////////
    //Panel initialize fired
    // Application initialize fired
    // Panel creationComplete fired
    // Application creationComplete fired
    -->

    Read that link Michael provided, but in short, step 9 says the following, which indicates that when the initialize event is fired, the components inside the Panel have been initialized, but they have not been sized or laid out.
    9) Dispatches the initialize event on the component. At this time, all of the component's children are initialized, but the component has not been sized or processed for layout. You can use this event to perform additional processing of the component before it is laid out.

Maybe you are looking for

  • Network-related or instance-specific error

    Hi, When I run my application through IIS by specifying the server IP and virtual directory in the browser, I am getting the following error: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The ser

  • Verifying Responsibility in a When-New-From-Instance Trigger

    Hi All, I want to restrict the accessability of a form to different responsibilities using resp_id, how do I do that? Is there any other method of by which I can restrict the accessibilty to different responsibilities?can we use system variables? Any

  • HT5637 No way to turn on iTunes Match on my iPhone 5 with iOS 7.1

    I subscribed to iTunes Match today in iTunes on my PC. My iPhone 5 running iOS 7.1 doesn't have a "iTunes Match" button, but a link labeled "Subscribe to iTunes Match". Will the button appear later? When I click the link and click the Subscribe butto

  • Color management isn't helping me

    Hi there, someone please help me out? I'm designing in illustrator CS3 on Windows 7 64-bit. I'm having difficulty syncing color with my network printing, a Sharp MX-5500N. No matter how I tweak the color management settings in the print dialogue, I a

  • Help: WebLogic 5.1 crashes in WIndows NT

    Hi all, we're having serious problems with WL Crashes in Windows NT environment. Sometimes the system is running stable for days, and sometimes it crashes several times within an hour. Is WL or JDK(jvm) causing this problem? How and where can I find