Interaction between Edge Animate and RaphaelJS (or any svg library)

Hello.
Edge Animate's possibilities are really nice as long as i'm working with anything rectangular. The overall UI is very practical and so, but when you want to work with more complex shapes overlapping it gets very limitated.
I've looked around with no success, so may be someone here as a clue for me.
How would you integrate something from this kind of page (interactive map of australia) and make the map and an Edge environment work together.
Here i'm thinking :
- Edge buttons that would highlight some parts of the map (or reveal some divs from the original html)
- RaphaelJS code at building of the map that would interact with edge symbols.
So far, my knowledge of code/js/css seems too limited to get things done as i wish, any ideas/insight welcome.

Hi Franck!
You are right. The default implementation uses the SVG as a background image applied to a div container. That's the reason why you loose all the interactivity within the SVG itself. I love Raphael, but I think it would be an overhead for your map example.
Here is a light weight solution with (jQuery SVG) that works like a charme with non-rectangle click areas.
Assuming you have a rectangle placed on the stage (named "playground") you can load the SVG into that container within the "compositionReady" handler of your composition like this:
yepnope({
     load: "libs/jquery.svg.package-1.4.5/jquery.svg.min.js",
     complete: function() {
          // Load Handler for SVG Graphics
          function onSvgLoad(svg, error) {
            $('path#Cyan').click( function(){
                 alert('hello Cyan');
                 // Your code here
          // Select Edge Animate Element for SVG display
          var playground = sym.$("playground");
          // Load SVG Graphics
          playground.svg({});
          var svg = playground.svg('get');
          svg.load('images/pie.svg', {
               addTo: false,
               changeSize: false,
               onLoad: onSvgLoad
I put together a small demo project with an example svg and all dependencies:
http://public.simonwidjaja.com/temp/AnSVG.zip
Hope that helps!
Cheers,
Simon

Similar Messages

  • Are there any known issues with Adobe Edge Animate and Yosemite? Experiencing performance issues since upgrading OS

    Are there any known issues with Adobe Edge Animate and Yosemite? Experiencing performance issues since upgrading OS. Animation I was working on that had been performing in browser fine suddenly stopped working, and was not related to any action I had done at that point. Also was working in it today and program stopped responding to key board short cut commands.

    I am having a whole slew of odd interface problems with a fresh 2014.1.1 on a fresh macbook pro with latest Yosemite. Program locks up, cursor selections don't show, things disappear. I have a mac mini also and the program runs fine on it. Is there possibly something related to the solid state hard drive in new macs?

  • Edge Animate and Fancybox Conflict

    Hi,
    I've created a nice little splash animation for my company's website, which is working nicely on it's own.  Further down the page, we have a section that I'm trying to manually call fancybox galleries on.  It works if I delete the Edge Preloader Script tag in the head, but as soon as I paste it back in, fancybox does not work again.  I have other jquery scripts running on the page while the Edge script is active, so I don't think it's from multiple jquery calls.  I'm at a loss here as it seems that getting rid of one or the other is the only solution and I hope that isn't the case.
    You can see the code at: http://brilliant-graphics.com/BrilliantJune2013/
    The manual fancybox call is on the 'Clients Section' on the gallery button for Peter Sculthorpe.
    Brendan

    Thank you very much for your answer.
    When I give exported as HTML at the end of the process opened me is the page of the Google search engine, but when I go to the folder where I keep the project in HTML and give click to INDEX up the page but only see the color background page and do not see the animations I did in EDGE ANIMATE . It seems to me that it is wrong EDGE ANIMATE , because when I look for the assets folder, there are two animations I did in Edge Animate , and when I enter one of them and I click the HTML document animation , raises with defects in the animation , it lacks a number of images to the project. However, these missing pictures ARE ON THE IMAGES FOLDER . Then I went to Edge Animate to see how Edge Animate published as Web (not as oam file) and when I clicked the HTML document created by Edge Animate gives the same error as in Muse . I really do not understand what's happening because the preview of Edge Animate and the Muse preview look perfect . And I do not miss any ' error code or something.
    I do not know what else to do , my knowledge of the programs is limited , perhaps , to be able to locate an solution .
    I will be very grateful to all who can help me on this case.
    Thank you

  • Oh wow finally apart of a community im so excited. Hi everyone. I just got abode edge animate and am not so familiar wif this product though i sense a hint of flash buried there somewhere can you guys please assist me in the basics of edge? thanks.

    Oh wow finally apart of a community im so excited. Hi everyone. I just got abode edge animate and am not so familiar wif this product though i sense a hint of flash buried there somewhere can you guys please assist me in the basics of edge? thanks.

    That's going to be a ridiculous waste of money and energy.
    First of all, the current ATI drivers don't support multiple GPUs, so at the moment even a single 4870X2 would be only a 'normal' 4870 (which is quite a speed beast already). GFX drivers evolve rapidly, so things might look different next month, but when it comes to Linux and hardware there's one Golden Rule: stay away from the newest stuff and wait for proper support to get coded.
    I also wonder what power supply could possibly cope with the differences between idle and full load; that's way beyond 400W. But then, I'm one of those "quiet&green" types where >100W idle is already a bit much.
    I kind of understand that you want to get it done and not worry about hardware for the next 10 years or so, but that's simply not how the hardware world works and never did. At least not for the average consumer.

  • [svn:osmf:] 10248: Fix a few bugs related to the interaction between IPlayable, IPausable, and ITemporal within a SerialElement, specifically around ensuring that the transition from child to child happens in the various permutations of these traits .

    Revision: 10248
    Author:   [email protected]
    Date:     2009-09-14 16:45:00 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fix a few bugs related to the interaction between IPlayable, IPausable, and ITemporal within a SerialElement, specifically around ensuring that the transition from child to child happens in the various permutations of these traits.  Introduce a helper class for managing this logic, as it can happen in both CompositePlayableTrait and CompositeTemporalTrait.  This lays the groundwork for a MediaElement which only implements IPlayable (e.g. to ping a tracking server) working within a serial composition.  Beef up unit tests so that these cases don't get broken in the future.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/.flexLibProperties
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositePlayableTrai t.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/CompositeTemporalTrai t.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/openvideoplayer/composition/TestSerialEle ment.as
    Added Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/composition/SerialElementTransiti onManager.as

    Hi,
    Found a note explaining the significance of these errors.
    It says:
    "NZE-28862: SSL connection failed
    Cause: This error occurred because the peer closed the connection.
    Action: Enable Oracle Net tracing on both sides and examine the trace output. Contact Oracle Customer support with the trace output."
    For further details you may refer the Note: 244527.1 - Explanation of "SSL call to NZ function nzos_Handshake failed" error codes
    Thanks & Regards,
    Sindhiya V.

  • Edge Animate and typekit

    Hi,
    Can anyone help me please with this.
    I followed the video tutorial but couldn't add the font from typekit. It would show the new font as an available, but the look didn’t change.
    Best,                                                                
    Lana
    P.S. I did try to contact the adobe chat and phone support  but was told that the Edge Animate and typekit are only supported via forum

    Hi Lana_Studio,
    You most likely need to add "127.0.0.1" to the list of allowed domains on your kit in Typekit.
    See these articles for more information:
    http://blogs.adobe.com/edge/2012/01/27/web-fonts-and-edge-together-at-last/
    (Scroll down to "How to Embed Web Fonts Using Typekit")
    http://help.typekit.com/customer/portal/articles/6857-using-typekit-while-developing-local ly
    Don't forget to publish your kit after adding 127.0.0.1. Also, note that it may take a few minutes (I noted up to about 15 minutes) before the changes to your kit will be completely published.

  • What is the interaction between calling VIs and subVIs using VI Server?

    I'm studying for the CLAD and one of the lines in NI's preparation document here is this:
    What is the interaction between calling VIs and subVIs using VI Server?
    I know how to use the "Call By Reference" function to call a VI, but not necessarily a subVI. I thought a subVI is always loaded with the calling VI and has nothing to do with VI Server. What am I missing?
    Solved!
    Go to Solution.

    Hi Bmihura,
    I think this article will clear up how the VI Server works with subVIs called dynamically or statically.
    Calling a VI by Reference
    Best Regards,

  • What is the difference between Edge Animate CC, Edge Code CC (Preview), and Edge Reflow CC (Preview)?

    Also, what does the (Preview) mean?  Does it mean that a newer version will become available soon?

    Hi All,
    Preview releases means that our team acknowledges the limited functionality of the application. Our goal is to provide community members an opportunity to try out the application and we encourage everyone to provide us with feedback.
    Edge Animate lets web designers create interactive HTML animations for web, digital publishing, rich media advertising and more, reaching both desktop and mobile with ease.
    Edge Animate FAQ
    Edge Reflow allows responsive designs faster and create high-fidelity prototypes through media query breakpoints, precise CSS layouts, grouping and more. Edge Reflow now connects directly to Photoshop CC, allowing you to go from static design to responsive comp in just one-click.
    Edge Reflow FAQ
    Edge Code is a lightweight code editor for web developers and designers working with HTML, CSS, and JavaScript. Edge Code is built to work with browsers, speeding up development time by displaying changes to the code directly on the screen.
    HTML, JavaScript, CSS editor | Download free Adobe Edge Code CC (Preview) trial
    Regards,
    Devendra

  • Problems with Edge Animate and back button ios and firefox

    I've put a bit of Edge content in a draft webpage:
    http://cassidausa.com/indexy
    ..and am noticing a couple of issues:
    1
    When viewing in ios, I click through the content (there are links to products within the Edge animation), and then press the back button on mobile safari, only the Edge content is displayed, not the rest of the page.
    2
    When viewing in firefox, after clicking through a link within the Edge content and pressing the back button on the browser, the animation is paused from the point it was clicked. Other browsers that I've tested this on refresh the animation.
    Ideally the edge content would continue to play from where it was.This is what seems to happen when I preview the animation in the browser from Edge animate.
    Any help would be appreciated.
    I really need to have this working or else I'll have to abandon creating the content in Edge.

    This has always been the case for any animation in CP to be on top. Please
    file a feature request.  Same for communication between OAM and CP, none
    for the moment. You van have transparent background and pause/play button
    in OAM, could be a workaround.

  • Problem with Edge animate and epub3.

    Greetings
    I created some interactive web pages using adobe edge animate cc for a book that will be displayed on ipad (Epub 3)
    when I test the web pages on pc they are displayed exactly as I want them to be.
    But when I try them on Ipad It shows no images.
    So I tried to append the images using some JQuey code
    $('#Stage').append("<img src = '....' />");
    and then when I tried to test this on Ipad all images where invisible too but when I rotated the device 90 degrees
    all images became visible.
    So when viewing those pages all images are invisible until rotating the device 90 degrees images become visible
    any suggestions where the problem could be
    I need the images to be visible when I open the page without the need of rotating the ipad
    I appreciate any help.

    Hello,
    Please double click on the symbol and make sure "autoplay " is unchecked in the stage properties. then republish the OAM file and then try.
    If the issue still persist please share the compressed project file with us to take a look at it.
    Regards
    Vivek

  • Interactive graphs in Edge Animate - how to add the jqPlot library

    Hello all
    I'd like to add interactive graphs in my Edge project, but can't use SVG. I'm now trying to implement the jqPlot library, but can't get it to work. Here is what I have so far:
    In "creationComplete" in "Stage" I've added this:
    $('<div id="chartdiv" style="height:400px;width:300px; "></div>').appendTo("#Stage");
    (function(){
      var plot1 = $.jqplot ('chartdiv', [[3,7,9,1,4,6,8,2,5]]);
    Nothing happens, and I'm not sure how to move on, any help would be greatly appreciated.

    Thank you, Raffalaff. From what I can tell it looks like jqPlot has a few more charts to choose among than Flot, otherwise from that they look very similar.
    To get jqPlot working I did this:
    $('<div id="jq_chart"></div>').appendTo(".chart");
    yepnope({
        nope:[
            'js/jquery.jqplot.min.js',
        complete: init
    function init(){
              $.jqplot('jq_chart', [ [[0, 0], [1, 1],[2,4],[50,2]] ], { yaxis: { max: 100 } });
    Would be great if I could set the div with class .chart to id #chart instead, but don't know how to do that. So until then, class will have to do.
    Thanks again, Raffalaff for helping me solve my problem :-)

  • Edge animate and Cordova build

    So recently I was trying out some edge commons functions and have gotten them to work on browsers. So I wanted to do a little experiment so I've decided to try compile the project with cordova build. Well was hoping for it to work but it seems like somewhere went wrong and when I run the apk, it wasn't even able to retrieve the list of items from the JSON file.
    basically the program just loads a list of items from the click of a button and you can also click on the black box on the right to display an image.
    //get json information and display
    $.getJSON("content.JSON")
      .success(
      function(data){ console.log("incoming data: ", data);
      $.each(data.shoes, function(index, item){
      var s = sym.createChildSymbol( "template", "content");
      s.$("title").html( item.item );
      s.$("description").html( item.description );
      s.play(index * -500);
      s.setVariable("spotlight", item.spotlight );
      });//each
      });//success
    btw thanks joel pau for helping out previously.
    does anyone here have any similar experiences when trying out cordova build with edge animate?
    here are my files..
    Dropbox - index.zip
    Dropbox - test-debug.apk
    Perhaps there's still some cordova api I'll need to add before compiling??

    Not sure if this helps you. I'm going through the same problem. Even raised this issue here in the forum and nobody could help me. So I sought help forum PhoneGapBuild. Looks like PhoneGapBuild not recognize <audio> of html5, so need to use api audio PhoneGapBuild own. Here's a link to my post. Tutorial on how to make by Chris Griffith. I hope this helps you too.
    http://community.phonegap.com/nitobi/topics/phonegap_build_audio_and_edge_animate_problem? utm_content=reply_link&utm_medium=email&utm_source=reply_notification&reply[id]=14089620#r eply_14089620

  • Edge Animate and Chrome Cache Problem

    Strang thing with Edge Animate in Chrome on a Mac or PC. You can not reload it. It plays the first time you go to site, but if you hit refresh or try going back to the page, it will not relaod. I have to delete the cache in order for it to Play again.

    Any news? I have the same problem with my animation... it has embedded audio too.
    My link: Sombras en las estrellas
    It works fine in Safari and Firefox, but only displays the first time in Chrome.
    I'd appreciate some help!!

  • Working With Edge Animate and Business Catalyst

    Does anyone work with a site with incorporates Edge Animations that is hosted on Business Catalyst?  I am asking because my Edge animations run fine on my page on preview in browser but do not run at all when uploaded to BC.  Here is my script:
    Thank you.

    If you are working with your Business Catalyst site in Dreamweaver, I know you can publish from Edge Animate to an .oam file, then insert this into your BC site in Dreamweaver using Insert > Edge Animate Composition.
    Just make sure to upload both the edgeanimate_assets folder and the actual project folder, or else it will not work.
    If you are not going through Dreamweaver, you should still be able to utilize the animation; however, you would just need to (a) make sure the <!--Adobe Edge Runtime--> code gets put into the <head> of your BC site, (b) upload all the necessary files (i.e. the .js files and any assets), and (c) correctly reference their locations in the code.
    e.g. if you upload the Index_Desktop_Animation_2_edgePreload.js file to the root of your site, you would need to change the src="/Index_Desktop_Animation_2_edgePreload.js" to make sure the file would load properly.

  • InDesign, Edge Animate and SVG import

    I created an Edge animation whose ultimate destination is for an iPad app authored in InDesign. To avoid any font issues and to make this viewable in all iPad flavors (retina), I imported three lines of text as well as a text logo as SVG files from Illustrator in to Edge Animate. All fonts were converted to paths:
    http://www.ampersandmiami.com/edge/
    The link above is what Edge created when publishing for web. It is indeed SVGs and they do appear as such in my desktop machine, on my ipad and on my iphone when I view it using Safari. When I pinch and zoom in, all is rasor sharp. Perfect.
    Here is the issue…
    I unzipped the .oam file Edge creates for import into InDesign. Just to make sure, all my SVGs are there in the images folder. Edge did not create raster versions of any of them. So far so good...
    But, when I place the .oam file in InDesign and preview the app on my ipad using the Aobe Content Viewer, the SVGs are rasterized. I zoom in and they are pixelated. Not good for retina ipads.
    Is there a way of importing my Edge animation and retaining the SVGs as vectors and not making them rasters? Is this an InDesign limitation?
    Any thoughts?

    Unfortunately not at the moment. This is a known issue with Edge placement in InDesign.
    Neil

Maybe you are looking for

  • ITunes 8 visualizer

    Besides all the discontent around iTunes 8's failure to 'connect' to remote speakers, here's another curiosity. This update now includes the 'visualizer' icon back on the main screen, placed second from the lower right corner. It looks like a 'flower

  • I keep getting the "uTorrentcontrol V2 cutomized web search" appear in the search bar everytime I start a new page. How do I get rid of this message.

    '''bold text'''This only started to happen when I upgraded to Firefox Version 23.

  • 802.1X WiFi profiles

    Hi, I recently upgraded my Late 2011 Macbook Pro 17" to the 10.7.3 and since my WiFi profiles have disappeared. The reason I set up profiles is because I have to go via a proxy at work, and at home my router connects straight to the internet. I have

  • Problem with nVidia GT 630

    Hi, i have a problem with my Desktop HP Pavilion Model: p6-2427ez, i buy it from Switzerland, ok so... i have GT 620 1gb 64bits DDR3 everythings works great... but when i change with other one GT 630 2gb 128bits DDR3 my desktop starts also video card

  • I can't open zip files.

    I can't open zip files.  Archive utility flashes and disappears.  Archive utility does not seem to be in the utility folder.  Tried repairing permissions and verifying disk.