Trouble embedding svg file in application

Hi,
I am trying to embed a svg file in my flex application. Its a plain vanila file with no animation or anyhting. The file however gets loaded, but is not rendering right. The color in the file is all black. Any idea on what I am doing wrong here would be helpful. My embedding code is like :
[Embed(source="../images/watermark.svg")]
        [Bindable]
        public var SvgWaterMark:Class;
Thanks in advance,
Samina

Hello,
What browser are you using?
The Object tag is for IE
The Embed tag is for Netscape/Firefox etc.
It looks like you load the file from two different locations?
Have a look at src="images/flashpart_new.swf" I think you miss a / there like /images/flashpart_new.swf. I would make http://www.etcetc.net/flashpart_new.swf the same as the other one, or the other way around.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://apex-evangelists.com/
-- http://apexblogs.info/

Similar Messages

  • I am having alot of trouble with svg files is there some one well versed with adobe svg file

    I am having alot of trouble with svg files is there some one well versed with adobe svg file

    Clearing out cookies while in gmail helped me to get all functionality back. One of those sites must have messed with gmail. Thanks so much for the help.

  • Error embedding SVG files from Inkscape

    I draw some SVG graphics with Inkscape, and when I embed them
    into a SWF with the command-line flex compiler 3.2, the embedded
    Sprites are not correct. The reference documentation alludes to a
    partial support for gradients, but does not go into any details. It
    seems my gradients are not "displaced" correctly. Of course, they
    are perfect when viewed with any standard viewer (from Google
    Chrome to Batik 1.2 Swing application).

    By the way, it's still the same with Flex 4 SDK beta2...
    Adobe has no incentive to produce a working solution. They probably prefer selling Flash.

  • Best way to create SVG file from drawing application?

    I am developing a drawing application that allow the users to draw and edit static two dimensional images such as Rectangles, Ellipses and Text. I have a superclass SVGShape that contains all the common features of a shape such as x1, x2, color etc. I then have SVGRectangle as a subclass of SVGShape.
    I want to know what would be the best way to create an SVG file from this? An idea I have at the minute is to have an abstract method getSVG() in the SVGShape class, and then implement the method in the subclasses. I will then create a new class called SVGManager which iterates through the list of shapes (Btw I'm using MVC, my shapes are stored in a Collection) and uses the getSVG() mehtod in each shape to build up a SVG file.
    What do you think of this? Any better ideas?
    Thanks guys

    I used a visitor for this in a similar project, so that when the svg library is used in a applet or browser and the writing functionality isn't required, it may be omitted from the bundle.
    Pete

  • How to specify fonts in text in SVG file?

    I've got an Edge Animate composition that includes a bunch of SVG files which specify (inside the svg files themselves) that a particular font should be used. So for instance, there's text in the SVG that's set to render in Arial. If I view that SVG by itself in the browser, the text is rendered in Arial. But when that SVG is part of an Edge composition, the text in that SVG reverts to some other default font.
    The same problem happens when I try to specify a custom web font inside the SVG. The web font shows up fine when viewing the SVG independently, but when it's part of an Edge composition, it reverts to a default (Some serif font: Times, I think.)
    Let me stress this is NOT about specifying the fonts in Edge itself (by adding the web font to the edge composition, and then styling text from within the Edge Animate interface): this is about text that has been specified in the SVG file in Illustrator. That font specification is ignored when the SVG is brought into Edge.
    This text in the SVG shows as Arial when I'm in the Edge Animate interface, but when I view the whole composition in the browser, that's when it reverts to a different font.
    Any ideas what's going on here?

    Thanks for the reply. Yes, I've given up on fonts embedded in SVGs for now. I tried using SVGs with all text converted to outlines. That solved the type problem. But it of course made all the SVGs very large. I'm now having a problem with the Edge composition not fully loading.
    It throws some javascript errors that indicate that al the libraries haven't loaded. Or, sometimes it just pulls up a blank page and nothing ever shows up, even when there are no javascript errors. The errors are mostly this:
    Uncaught ReferenceError: jQuery is not defined byod_edgeActions.js:191(anonymous function)byod_edgeActions.js:191
    Uncaught TypeError: Object #<Object> has no method 'okToLaunchComposition' byod_edgePreload.js:27
    edgeCallbackbyod_edgePreload.js:27
    (anonymous function)byod_edgePreload.js:15
    tbyod_edgePreload.js:11
    dbyod_edgePreload.js:10
    I.b.onreadystatechange.b.onloadbyod_edgePreload.js:10
    So I'm thinking the loader is trying to move on to execute code when it hasn't loaded what it needs. This was happening on Firefox and Chrome. So now I've converted some of the larger SVGs to PNGs, which brought their file size down considerably. This eliminated the error on Firefox, but I'm still getting it in Chrome. I think it's just taking too long to load all my animations. It's a pretty big composition: an infographic that's 548 px wide by 3100 px tall. It has 8 animations in it, each as a symbol. There are perhaps 80 individual graphic elements in total that are involved in the animations.
    Even when those graphic files are as small as I can make them, Chrome still errors out before displaying anything.
    If it just turns out that this is too big a composition to be done in Edge Animate, I'm in big trouble, as a client has already paid for this.
    I'm hoping I can find a way to slow down the loader and make it wait until everything is loaded before moving on. But it's tough, as the edgePreload.js file wasn't meant to be tampered with, and is minified. I don't mind having a preload image appear for a while with a "loading..." message. But if it never loads...
    Not sure how to proceed, really.

  • Open SVG files in a Swing App

    Hi, I want to show SVG images in my Java application
    Can I use a jpanel or another jframe to show the image but inside the application? how can I do this? Is there any package or class that I can use to solve this problem?
    (I've heard of something called batik, but how can I use this?)
    if not,
    How can I open the .svg file (For Example, I press a Button and then the file is opened with IExplorer)
    thanx =)

    I haven't used it embedded - only to batch process svg - but apache batik would do that.

  • Need help embedding FLV files  on a page

    I am working in apex 4.2 and am having trouble embedding a VLC player in an apex page. So far, I have been able to embed and play wmv or mpeg videos in apex. I am primarily testing in IE. Will worry about other browsers later (Sofari, Mozilla, etc).
    I have downloaded and installed a vlc player. The source code is as follows:
    <embed src="f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:APPLICATION_PROCESS=media:::GP_MEDIA_ID:&P37_MEDIA_ID."
    autostart = "true" hidden="false" width="800" height="500" style="border-style:solid;" type="application/x-vlc-plugin"
    pluginspage="http://www.videolan.org" version="VideoLan.VLCPlugin.2" </embed>
    However, when I go to the page, it still shows a broken link. I am not sure what is missing or where the problem lies. My only other "hunch" is that I haven't added or mapped out a mime-type for video/x-flv to one of the config files on my server. Could this be the problem??? Either way, I'm still stumped. Any help would be greatly appreciated. Thanks in advance.

    Update:
    I removed the "iTunes Library" file from Home>>Music>>iTunes, which allowed me to get back into iTunes, but I don't know how to connect to the files without it locking up again in the event that the mount to her share on my iMac becomes unmounted again.

  • Trouble logging in to desktop application

    Hi,
    I've been a user of Adobe story since the first couple of weeks of it's free trial a year back, but I'm having trouble logging into the desktop application now. Whenever I try to sign in, it gives me the "signing in..." window, but then the window closes and it leaves me on the first page with only two options "learn more" or "sign in."
    Another discussion thread told me to delete the "PrivateEncryptedDatak" keychain from the keychain access application, but that didn't help. I also tried deleting the files in the ELS of the AIR application library (aka just moving them so I could return them in case this didn't solve the problem), and that just prompted me to upgrade my account. After putting the files back into the ELS of the AIR application library, it didn't prompt me to upgrade my account but the previous problem remained.
    I was able to log into the desktop application about 2-3 weeks ago, no problem. I am still able to log onto the application through the browser without a problem either - except for that it doesn't have the changes I made to my scripts 2-3 weeks ago.
    Any help?
    Thanks,
    Michael

    Thanks for your help! I'll go ahead and try that.
    A couple of questions first:
    "Rename/Delete your local DB (keep a copy of it, this is your data you will need to restore it) ( It can be found at OSX:  /Users/username/Library/Preferences/ com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 If Libraryfolder in not visible then follow the steps listed on this page (http://osxdaily.com/2011/07/22/access-user-library-folder-in-os-x-lion /) to reach to library folder)"
    There is also a com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1.plist file. Should I delete this too or just the com.adobe.AdobeStory.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 folder?
    "Ideally now AIR application is only for the subscribed users but in case it was already being used that user should be able to use it in offline mode. If none of these solutions work out we can help you extract your data from your local DB."
    -Does this mean that I will no longer be able to use the desktop application online? A friend of mine who started using the adobe story with me around the same time (a year ago when adobe was only offering story for free) and he is still able to use his desktop application online. If I can only use the desktop application offline, how will it ever sync with the browser version?
    Thanks!

  • Can't open file "~/Library/Application Support/iWeb/Domain.sites"

    I was working on iWeb today, doing the usual adding pictures, and gave a few pages some color, and a few pictures here and there.
    I restart my computer, because as usual, I almost have no memory left. When the computer is running again, I opened iWeb, and I get this odd message:
    Can't open file "~/Library/Application Support/iWeb/Domain.sites"
    Why is this here? I didn't do anything weird to trigger such message. The site was working perfectly fine! I tried taking the domain file to the desktop, then opening it once iWeb launches from there, and same message appears. I put it back to its place, and tried putting the iWeb plist on the desktop, and same deal!
    Everything is back in its place, I haven't changed or triggered anything to deserve this. I ran Onyx, full optimization update. I restarted computer, and conducted a full disk permission repairs. Only 1 error found out of another app.
    My computer is healthy, my programs are running fine. What is going on? Does anyone know how I can fix this?

    Hi
    Whaow 3.1GB. I'm sure iWeb has problems with that. I have the same problem with my iWeb. I have about 100 BLOG pages with a lot of pictures. Although iWeb scales the pictures when publishing (good!) it does not scale them when they are stored in the domains file/dir (bad!) So if you have an 8MP camera, this adds up after a while.
    You can open the comains file and try to figure out what causes the trouble. (Right click/CTRL click, open content) sort on size to see if you have some extremely large stuff in there (Movies???) Take them out and try to make them smaller.
    Good luck!!
    Walter

  • How to save an SVG file without opening it in a browser tab first?

    Sometimes I have to download very large SVG files. These files are generated dinamically by a web server, when I select some options in a web form. Thus, there is no link to click: an action on the web page causes Firefox to spawn a new tab and try to open the SVG file inside it. The file can be very large, and Firefox can get stuck in trying to display it, before I can right-click on the image and select "save as" to get the file I'm interested in.
    I would like that, upon requesting an SVG web resource, Firefox ask me how I want to deal with the resource: displaying it online, opening with an external application, or saving it - exactly in the same fashion as with PDF files.
    Thank you!

    The only way to get Firefox to offer to save the SVG image would be to force a content type that Firefox doesn't recognize as supported natively.
    *Mason: https://addons.mozilla.org/firefox/addon/mason/

  • Reader-8.1.1 and embedded media file

    Hi,
    I cannot get embedded MPEG files running in the new Reader for Linux. I have RealPlayer 10.0.9 installed on my system and the `realplay' starting script is in PATH.
    When I click on the movie, a message box opens saying:
    Acrobat has encountered an error while playing this media clip:
    Without telling the actual error. If I click a second time, the same box opens again, but a small black pop-up opens as well, showing a progress bar and the message `Initializing RealNetworks'. But nothing happens after that.
    Do I need to configure something else?
    Thanks for any help/suggestions.
    Alexander

    Alexander,
    I'm having a similar problem, but with a Flash file.
    I've verified that I can play the file from the
    command line and from my KDE Desktop (SUSE Linux 10.1),
    and so I'm pretty sure that the player is working.
    But when I generate a PDF using LaTeX and your movie15
    package AR8.1.1 redirects me to:
    http://www.adobe.com/special/acrobat/nomediaplayer.html
    If I look at the attachments pane, the file is
    correctly identified as "application/x-shockwave-flash"
    But under the filename, the phrase "Indeterminate" has
    been added, which suggest that the something in the
    annotation is not recognized (I'm using move15 2007/05/07).
    Either that, or AR itself is broken.
    I'm still in the process of dissecting the PDF to see
    where the problem lies. But it would be helpful if
    someone could post a url to an embedded media example
    that is known to work with Linux AR8. That way I can
    at least check that my setup is working, which will
    be hakf the battle won.
    Cheers,
    James

  • Embedded wav files not playing in IE7 after installing QT 7.3

    I created a web page that uses javascript to play embedded wav files on an onclick event. I was having trouble with my Firefox browser not playing the wav files at all, so I thought I'd update from QT 7.1 to QT 7.3. This has caused my IE browser to stop playing the embedded files, and has not helped my Firefox browser, either. Uninstalling QT 7.3 does restore IE7's ability to play the embedded files. I'm using some simple popular Javascript for the function, and the page works for me in my home installation of Firefox, so I'm still mystified why the wav files won't play on my workplace Firefox (yes, I tried disabling all the other plugins, to no avail), and also, I need to fix IE7 now, as well. QuickTime Object is enabled in IE's add-ons list.
    I did search all over the knowledge base here and at Firefox's site for solutions.
    Suggestions?

    Internet Explorer requires the "object" tag code and your html only uses "embed".
    http://developer.apple.com/internet/ieembedprep.html for more info.

  • Stuck with svg file !....

    hi every user
    i stuck with svg file
    after import external svg file with layers ( created with adobe Ai ) in An , how can i modify color and strok , path  , and also animate that !?... without using any .js

    Hi sudeshna sarkar
    i tried that , the EdgeCommons is great but Its application to work with Svg files is limited ,i tried to use Snap.Svg and finally found true way .
    but have problem here : when i used that without any goal div , work perfectly in every modern browser but make svg file outer of the stage !!! , and with a goal div that work only in FF , IE and stuck in chrome and dont work correctly !!!!
    In the annex link i have sent the test files .
    i tried everything to fix this but I am stuck and cant find where's the wrong ! pls help me to solve this problem
    https://www.dropbox.com/s/w0xwrcx4zz0mbkr/Snap-svg.zip
    thanks in advance

  • Font in svg file

    I create a svg file with php which includes a dynamic text. Therefore I have embedded the used font with <font><font-face><glyph>....
    This works fine with Chrome, but Firefox uses the standard font. How can I use an embedded font in the svg file?
    Thanks in advance
    Manuel

    @Sourjobraato Banerjee: Sorry, I didn't get your point. The file was created by Adobe Illsutrator so it should be SVG 1.1 conform.
    @jscher2000: You can see an example here: http://events.tsv-bodnegg.de/files/header.php?text=Example
    The text "example" shout be shown in Roboto.
    @core-el: The docs say that <font> is not implemented (https://developer.mozilla.org/en-US/docs/SVG_in_Firefox) but the tutorial (https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_fonts) says it should work.
    I have an image attached. It should look like the chrome version.

  • Embedded pdf file in MS Excel cannot be open in Surface RT.

    Hi,
    I have a problem opening the embedded pdf file in my MS Excel in my Surface RT.
    When I clicked on the pdf file, it shows "Cannot start the source application for this object".
    I have the Adobe Reader Touch installed in my Surface RT.
    Does anyone face the same problem? Any solution for the issue?
    Thanks!

    Adobe Reader Touch (Windows Store app with Modern UI) does not support embedded PDF files.
    Adobe Reader XI (desktop app with classic UI) does support it.  Unfortunately, Adobe Reader XI is not compatible with the Windows RT operating system. Hence, you are not able to install and run Adobe Reader XI on Surface RT.
    I tried other PDF viewers (that are Windows Store apps), such as Microsoft Reader, Foxit Mobile PDF for Win8, on my Surface RT by changing the default PDF application.  But none of them opened embedded PDF files successfully.
    It looks like your only choice is to view those Microsoft Excel/Word files with embedded PDF on your desktop machine, laptop or other devices with Intel-based processors.  Sorry for the inconvenience.

Maybe you are looking for

  • SRM SC in item in transfer I1111 status...no PO created

    Hi SRM gurus,                                                                                                                                                                                                                                           SR

  • Problem with iBook powering on... Need help diagnosing please

    Hello, So for awhile my iBook G3 (dual USB, 700 mhz, 12" display) when the power is pressed the computer chimes and the hard drive will start spinning and then nothing happens. After a few seconds I can hear the drive stop spinning and the only sign

  • My iPad 3 has no volume.

    My iPad 3 has no volume when I play any multimedia with audio and airplay indicates that it is connected to a dock. There is no iPad option as there should be. The volume slider is missing the volume control knob. There is no dock connected.  Interes

  • [SOLVED]KDE 4.2 / Amarok (2?)

    What happened to Amarok then? I could install and use it in KDEMod but in KDE 4.2? Nope. I really don't want to use Amarok 2, namely because it wouldn't compile and I think it's too much effort to sort out for an app that most people don't enjoy. Is

  • I have flash mx 2004 and I want transfer it to other PC,

    I have flash mx 2004 and I want transfer it to other PC, what to do ? (is only for one pc_internet verified software - one pc usage, please note that I buy MM-Studio mx 2004, not flash alone) ?