archive-com.com » COM » P » PRICOPE.COM

Total: 132

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • largeBook.mxml
    myBook addChild tmPage tmPage new Page tmText new largeText tmText text String i 4 3 tmText setStyle backgroundColor color4 tmText hCenter 230 tmPage name tmText text tmPage addChild tmText myBook addChild tmPage tmPage new Page tmText new largeText tmText text String i 4 4 tmText setStyle backgroundColor color2 tmText hCenter 230 tmPage name tmText text tmPage addChild tmText myBook addChild tmPage tmPage new Page tmText new largeText tmText text String 23 4 1 tmText setStyle backgroundColor color1 tmText hCenter 230 tmPage name tmText text tmPage hard true tmPage addChild tmText myBook addChild tmPage mx Script mx Number id color1 225378 mx Number mx Number id color2 1695A3 mx Number mx Number id color3 ACF0F2 mx Number mx Number id color4 F3FFE2 mx Number book LargeBook id myBook openAt 0 autoFlipDuration 600 easing 0 7 regionSize 150 sideFlip true hardCover false hover true snap false flipOnClick true height 660 y 15 width 980 x 15 initialize init rs Page hard true name 0 local largeText text 0 backgroundColor color2 rs Page rs Page name 1 local largeText text 1 backgroundColor color1 rs Page rs Page name 2 local largeText text 2 backgroundColor color3 rs Page rs Page name 3 local largeText text 3 backgroundColor color4 rs Page rs Page name 4 local largeText text 4 backgroundColor color2 rs Page rs Page name 5 local largeText text 5 backgroundColor color1 rs Page rs Page name 6 local largeText text 6 backgroundColor color3 rs Page rs Page name 7 local largeText text 7 backgroundColor color4 rs Page rs Page name 8 local largeText text 8 backgroundColor color2 rs Page rs Page name 9 local largeText text 9 backgroundColor color1 rs Page rs Page name 10 local largeText text 10 backgroundColor color3 rs Page rs Page name 11 local largeText text 11 backgroundColor color4

    Original URL path: http://miti.pricope.com/samples/book/srcview/source/largeBook.mxml.html (2016-02-08)
    Open archived version from archive


  • Miti's Blog » mpricope
    was the Flash pre render time because all the pages are in the display list one on top of another So I wrote a some code to use only 8 pages 4 pairs the rest are stored in an array I also added a jumpToPage method to make navigation easier in a 200 page book jobs online Still to be done if you have more than one transparent page one after another it will look very messy because at any given moment the book has only 8 pages This can be done by configuring how many real pages are stored but the logic of navigating through get s very nasty tearing pages doesn t work not implemented yet lot of traces are still enabled BEWARE of bugs Give it a try Demo Source Categories flex Tags Selenium on AIR August 17th 2008 mpricope Comments off Are you using HTML JS to build AIR Applications and wondering how to automate functional testing for your app Here is some news that might put a smile on your face In few words the guys across my desk have been tweaking Selenium to work on AIR Mihai wrote a cool blog post about how you can test drive this bit of code so if you are interested please take it for a spin Don t forget to tell us how it was part time jobs rochester ny Categories air ajax Tags Debug Flex and NET using ASP NET Development Server July 29th 2008 mpricope 1 comment If you followed my previous post you probably now have a Flex NET project that makes a WebService call If not here s a project you can use testDotNet zip To import this in Flex Builder choose File Import Flex Project and follow the steps good part time jobs Next open Visual Web Developer and open a Web Site in the same location as the Flex Builder project Open web config and make sure you have compilation debug true this inserts debugging symbols for the NET code Now we need to use the same ASP NET Developer Server for both the Flex Builder and Visual Web Developer Since by default both tools try to start one instance we need a little trick to do that Start the MXML project through Flex Builder this will start ASP NET Developer Server usually on port 3000 Then go to Visual Web Developer on Project Property Page Right Click on the Project in the Solution Explorer click Start Options and select Use Custom Server and enter http localhost 3000 testDotNet Start also the NET project just to connect the Visual Web Developer to the ASP NET Developer Server instance Now you will be able to debug both Flex and NET code Categories debugging flash builder tips tricks Tags Using Import Web Service wizard to connect Flex to NET July 28th 2008 mpricope 13 comments Since I was deeply involved in Flex Builder support for working with NET I thought that it would

    Original URL path: http://miti.pricope.com/author/mpricope/page/4/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog
    that the Application container receive all events So I registered a listener on the Application container that analyzes these events finds the actual target and then displays the entire display stack that contains the target object This helped me identify what AS class represents which visual element and in what container this element is placed Here s is my little bit of code that does this public function initTrace app WindowedApplication void app addEventListener MouseEvent MIDDLE CLICK middleClickHandler true public function middleClickHandler event MouseEvent var tm Object event target var tab String traceObj tab tm var tmParent DisplayObject tm as DisplayObject while tmParent null tab traceObj tab tmParent tmParent tmParent parent public function traceObj tab String obj Object void trace tab getQualifiedClassName obj if obj is UIComponent var tmUI UIComponent obj as UIComponent trace tab tmUI getStyle fontFamily tmUI getStyle fontSize You just need to call the initTrace method on Application applicationComplete mx Application xmlns mx http www adobe com 2006 mxml layout absolute applicationComplete initTrace this Categories debugging flex Tags Debugging Flex and PHP with Flex Builder and Zend Studio June 6th 2008 mpricope 2 comments So I am a big fan of debugging I know that for most people this isn t exactly what they get out of the bed in the morning but nevertheless I know that this prevents them going to sleep in the evening My first thing when I look into a technology and it s tools ecosystem is how will I debug this I find more useful to spend some time configuring my environment for debug earlier in the project rather than later when things might get hotter These days I was looking into Flex and PHP and naturally I started by trying to configure my environment so I can debug this My goal was to be able to to debug both Flex code and PHP code to track the dataflow through a server request I ve tried different solutions and here is the simpler one Solution First installed Zend Studio for Eclipse http www zend com en products studio downloads Make sure you install also the Zend Studio Toolbar for your browser Next installed the Flex Builder Plugin from http www adobe com cfusion tdrc index cfm product flex eclipse and choose as Eclipse location the folder where you installed Zend Studio Usually c Program Files Zend Zend Studio for Eclipse 6 0 0 for my Windows machine You might get the following warning You just need to follow the 3 steps and it should be fine The next thing is to install the Zend Debugger server I found a good tutorial here so I will not get into much detail Now we will create a combined Flex PHP Project New Flex Project Choose PHP as Application Server Type I will use the following MXML File xml version 1 0 encoding utf 8 mx Application xmlns mx http www adobe com 2006 mxml layout absolute applicationComplete initApp mx Script CDATA import mx rpc

    Original URL path: http://miti.pricope.com/page/5/ (2016-02-08)
    Open archived version from archive

  • Miti's Blog » mpricope
    function traceObj tab String obj Object void trace tab getQualifiedClassName obj if obj is UIComponent var tmUI UIComponent obj as UIComponent trace tab tmUI getStyle fontFamily tmUI getStyle fontSize You just need to call the initTrace method on Application applicationComplete mx Application xmlns mx http www adobe com 2006 mxml layout absolute applicationComplete initTrace this Categories debugging flex Tags Debugging Flex and PHP with Flex Builder and Zend Studio June 6th 2008 mpricope 2 comments So I am a big fan of debugging I know that for most people this isn t exactly what they get out of the bed in the morning but nevertheless I know that this prevents them going to sleep in the evening My first thing when I look into a technology and it s tools ecosystem is how will I debug this I find more useful to spend some time configuring my environment for debug earlier in the project rather than later when things might get hotter These days I was looking into Flex and PHP and naturally I started by trying to configure my environment so I can debug this My goal was to be able to to debug both Flex code and PHP code to track the dataflow through a server request I ve tried different solutions and here is the simpler one Solution First installed Zend Studio for Eclipse http www zend com en products studio downloads Make sure you install also the Zend Studio Toolbar for your browser Next installed the Flex Builder Plugin from http www adobe com cfusion tdrc index cfm product flex eclipse and choose as Eclipse location the folder where you installed Zend Studio Usually c Program Files Zend Zend Studio for Eclipse 6 0 0 for my Windows machine You might get the following warning You just need to follow the 3 steps and it should be fine The next thing is to install the Zend Debugger server I found a good tutorial here so I will not get into much detail Now we will create a combined Flex PHP Project New Flex Project Choose PHP as Application Server Type I will use the following MXML File xml version 1 0 encoding utf 8 mx Application xmlns mx http www adobe com 2006 mxml layout absolute applicationComplete initApp mx Script CDATA import mx rpc events ResultEvent import mx rpc http HTTPService var gateway HTTPService new HTTPService function initApp gateway url hello php gateway method POST gateway useProxy false gateway addEventListener ResultEvent RESULT resultHandler function sendRequest void gateway request name enteredName text gateway send paper writer function resultHandler e ResultEvent void myText text e result toString mx Script mx Button x 301 5 y 10 label Send click sendRequest mx Text id myText x 10 y 62 width 493 height 181 fontFamily Arial fontSize 36 mx Label x 10 y 12 text Enter Your Name mx TextInput id enteredName x 121 y 10 mx Application and a little hello php php name POST name echo Hello name

    Original URL path: http://miti.pricope.com/author/mpricope/page/5/ (2016-02-08)
    Open archived version from archive



  •