Problem viewing flex in Safari

I'm new to Flex and unable to view my Flex work in Safari...
Firefox works fine.
Here's one simple example:
http://www.papaya.net/test/flex/1/firstAnimation.html
You should see a red ball moving across the screen like this
screen cap from Firefox:
http://www.papaya.net/test/flex/1/firefox-snap.png
But in Safari I only get the grey background, no red ball. So
far none of my samples work in Safari.
Do you see the same problem?
These source files can be downloaded here:
http://www.papaya.net/test/flex/1/Archive.zip
My setup:
Mac Power Book G4
OSX 10.4.11
Safari 3.1.2
Flash player version 9,0,124,0 installed
Flex Builder 3

I changed the ball position as suggested, but still did not
work in Safari... still works in Firefox.
Here's that test:
http://www.papaya.net/test/flex/2/firstAnimation.html
I also checked with IE6/FlashPlayer9 and it works... what
version IE did not work?
The SWF plays ok in safari by itself, but not with the HTML
page code... we removed the javascript and it worked... don't know
if that's a real solution as the page code is being generated by
Flex Builder 3.
Here's the new AS code for the test linked above:
package {
import flash.display.Sprite;
import flash.events.Event;
public class firstAnimation extends Sprite {
private var ball:Sprite;
public function firstAnimation() {
init();
private function init():void {
ball = new Sprite();
addChild(ball);
ball.graphics.beginFill(0xff0000);
ball.graphics.drawCircle(0, 0, 40);
ball.graphics.endFill();
ball.x = 20;
ball.y = 50;
ball.addEventListener(Event.ENTER_FRAME, onEnterFrame);
private function onEnterFrame(event:Event):void {
ball.x++;

Similar Messages

  • Problems Viewing Flash in Safari

    I posted this over three days ago, got 49 views, and exactly zero replies!
    So I am reposting in high hopes that someone can suggest something, anything that I can try.
    Thanks for viewing anyway...
    +I am trying to troubleshoot for my sister who has an iMac G4 800mhz; 768mb RAM; 64mb VRAM; running 10.4.10+
    +Quicktime trailers play fine for her in Safari, (or on her desktop), but with Flash content, like at Youtube, or Comedy Central, the video playback stutters badly. I define stutter, as unwatchable jumpy video, and audio that plays back better than the video, but also drops out occasionally.+
    +I've upgraded her to the the latest version of Flash, and that did nothing. I also downloaded Firefox, just to check another browser, and Flash content stutters there to.+
    +My next idea, as a test, was to download a flash file to her desktop, and see if it stutters there without using Safari, and it's flash plugin, as the player.+
    +So I downloaded a flash file from youtube, (by doubleclicking it in the activity window, which automatically downloads a file called, "get video," with no file extension, and a generic icon.)+
    +I then added a .flv on the end of the file name, and the icon turned into a flash icon.+
    +Now, I want to note, on my computers, when I add a .flv on the end of the name of one of these files I've downloaded from Youtube, when I highlight it in a finder window under column view, I see a preview of the movie, which I can play there. I can also ctrl click, and choose, open with other, (because flash player will not open an flv file), and choose Quicktime as the app, it opens and plays.+
    +On her computer, when I highlight the same file in column view in her finder window, there is no preview visible, just a large flash icon, and the file will not open with her Quicktime app either.+
    +Now, I could care less whether she can play the darn things on her desktop, though I am perplexed that I cannot. (I was just troubleshooting.) Btw, we are both using the same versions of OSX 10.4.10; Safari 2.0.4; Quicktime 7.2; and Flashplayer 9.0+
    +All I want is for her to be able to play Flash content on Safari without the stutter.+
    +Any suggestions?+

    The most important thing: don't upgrade your OS or browser now.
    Next, all we need to know is the speed of her internet connection, the amount of space left on her hard drive, the number of cute little widgets she has on her machine, and how long & often 10.4 has been used. These I explain below (except the internet speed, which just requires a larger buffer).
    First, however, try adjusting the Power Management from 'Better Energy Savings' to 'Better Performance'. Flash runs fine on an iBook G3 whose disk is virtually filled (for momentary storage) connected to a 100 Mbps DSL, so something big (but likely easily fixed) is wrong.
    On the G3 machine, Flash cinema (as opposed to cartoons, in SWF files) will stutter hopelessly if the Energy Setting is 'Better Energy Setting' and run adequately if set for 'Better Performance'. This is when viewing previews with Safari 2 of NetFlix movies.
    If you Ctrl-Click the screen, a little menu offers 'Settings'. Clicking the folder, I choose only 100 Mb of cache. You can offer Flash as much as it wants.
    The real problem, I'm guessing, is that MacOSX 10.4 is not paging (as it should), but swapping in desperation. This OS uses demand paging: the real memory is pretty much filled with processes (programs in memory) you either need or want to run, and the OS starts exchanging those pages (4096 bytes?) from the hard disk needed to run what is now scheduled, replacing part of the memory of a process not currently needed to run. This is fast, and the processors have hardware designed to page.
    Problems arise when (1) you have many little widgets active (for, though they don't run, they take up real memory and can significantly reduce your 768 MB of RAM; and (2) your processor is stressed. This you can check by running 'Activity Monitor'. When real memory is mostly filled most of the time, when your hard disk's freespace is fragmented so the pages must be stretched out all over your disk; or the number of processes become too great: your computer swaps to speed the computer.
    Swapping moves essentially the entire process to your hard disk, so whole processes are stored in real memory. These can be large. If you need just several large ones, they must play musical chairs: some pause when swapped to the hard disk, and others run fast. Power Management needed to cool the G4 is sophisticated, and takes memory. Safari 2 takes great memory. If fact, Safari 2 and a few widget will fill about 512 MB of RAM chips.
    Now, if your swapping several processes that the scheduler things are really, really needed to keep your computer running, Flash Player will be swapped out, empying its cache. When it comes back, moments later, you have lost that period of time and it stutters.
    I should start 'Activity Monitor' running, see what resources you are short on, then 'turn off' the Power Management processes and see if things improve. If you are not short of any resources, I should suspect your freespace is fragmented. This is not reported by any utility I'm aware of, but it will cause your Mac to ultimately swap rather than page.
    This is because 10.4 had its file system 'augmented': every 20 MB or less in size is written defragmented. This is done by searching out the free space and diminishing it. This was (in my opinion) a good idea only if people now & then defragment their disks with a file-by-file backup & restore, or a disk defragmenter. Otherwise, your computer will eventually stop paging & start swapping, with a great change to your 'user experience', and you won't know why.
    I should guess that this iMac G4 has run 10.4 quite a while without either. Is this true? Version 10.4 was installed on this iBook G3 when it first came out, and months ago I received the message: 'Not enough free space for 5 MB swapfile', when the OS reported 7 GB free on the hard disk!
    Write back.
    Best of luck,
    Bruce

  • Problem viewing email in safari.

    Hi,
    I am absolutely new to the mac os.
    And i am sure that the problem that i am having has a very simple fix.
    When i view email using safari, the header of the email overlaps with the email content because of which i am not able to read anything.
    It works fine with ie but not safari.
    could some one tell me how to fix it?
    thank you
    borg drone

    Hi Borgdrone,
    Please list your computer specs here In Discussions sidebar - - - ->
    Go to Preferences > My computer and tell us your model, iMac, eMac, PwrMac, etc. G3, G4, G5, 000 MB RAM, 000 MHz, System 9.x, 10.2.x 10.3.x. 10.4. All on your blue Apple pull down menu > "About this Mac" (Also, 000 GB HD, if you know it.) This helps us help you better.
    Thanks
    Dimaxum

  • Problem viewing videos in Safari

    I used to use Chrome all the time but have read using Safari could increase my battery’s life before its next charge. When using chrome and viewing videos in YouTube and Facebook I had no problems but since I started using Safari it has been saying I am missing a plugin. I presume this is Flash player. I am reluctant to download Flash because of possible increased CPU usage and battery drain and all apple aps are designed to use HTML5, so I was wondering if there is another way of allowing videos to play within the webpage?
    Thanks
    Matt

    You're correct to avoid Flash when practical.
    Flash is being phased out by most sites that use it in favor of HTML5 page code. That is sites that rely heavily on video and not the millions of Flash based ads.
    But if the page is coded to use Flash then without the plug-in you can't view it. Doesn't matter how much you don't want Flash to be installed. Many files will not be converted to HTML5 code.

  • A potential solution to problems viewing websites on Safari, firefox etc.

    I wanted to share with you this most curious incident, which for once has a happy ending - for whatever help it may provide others with similar problems to me.. so here goes:
    Since about mid-June I (on my iMac G5) and my partner on his MacBook have both had a real nightmare trying to access certain websites that have one thing in common, they have or are to some extent powered by a database.
    My problems were with Typepad and with Ebay (having trouble viewing some items and posting stuff to be sold) as well as some other sites being super slow to load or in some cases not loading at all. (like sites found on Google searches for instance) So what to do? Both of us have been tearing our hair out with this problem as we were not sure whether it was our service provider's fault, the router, the Airport, Safari (but then we had similar problems with Firefox) or the OS10.5.4 upgrade both of us duly installed when it came through on program update..
    So after testing the router, the connection, airport and coming to the conclusion that somehow the problem was relating to how the Macs were connecting to the Internet.. or specifically weren't connecting to certain sites..Then I struck gold by figuring out this little workaround:
    1. Open up Network preferences: Apple Menu > System Preferences > Network
    2. If you are connecting to the Internet via Airport, click on Airport in the left column and click on the Advanced button, if you are using Ethernet choose that and click on Advanced
    3. If you like me connect to the Internet Using DHCP, you will most likely find that below is a bit that says Configure IPv6 and the default is Automatically. Set this to off. OK it, you are back to Network panel, choose Apply.
    4. Quit Safari and restart it again and the sites should load. Alternatively you can go into Network, click on Advanced, then the DNS panel and enter the following DNS servers:
    208.67.222.222 and 208.67.220.220 OK it, Apply and quit and restart Safari again
    5. and here's the bizarre thing: after the sites load you can go into Network, Advanced and turn on Configure IPv6 Automatically again, as well as delete the DNS servers you added in the DNS pane and it still works! (Even if you restart Safari)
    Seems that there is some sort of bug here hidden in the IPv6 thingy and all I know is that if you do this it sorts out the problem (did it for my iMac G5 and partners MacBook) but I have absolutely no idea why? Someone technical can hopefully shed a light on this..

    Yang: I entered Terminal and entered the command you recommended: "dscacheutil-flushcache"and I got the response command not found.
    I have never used Terminal before so probably I am missing something along they way. Where there any additional steps I need to do attempt this fix?
    Thanks, Bob

  • Problem viewing PDF using Safari-page of meaningless letters and characters

    Never had a problem previoiusly, but this week, any pdf's being viewed from Safari appear as a bucn of jibbersih.  What is happening and how can I remedy?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Security
    and check the box marked Allow other plug-ins.

  • Problems viewing text in Safari 2.0.4

    I'm hoping someone can help me; when a user visits this website in Safari 2.0.4 on certain sub-category pages the text either runs off the page and under the graphics on the right handside or words get cut off in the middle and word wrapping does not work.
    Text gets cut off - http://www.totallybarbados.com/barbados/Barbados_News/3025.htm
    Text runs off the page and behind the graphics - http://www.totallybarbados.com/barbados/Accommodations/
    This website is newly designed and works perfectly in IE, Firefox, Netscape, Opera and other Mozilla based browsers but not Safari. These pages and website all pass W3C World Wide Web standards but isn't displayed properly in Safari.
    Can anyone help give me any advise on this problem and if there can be a solution?
    Much appreciated.
    islandman

    Where did you get 67 errors? http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.totallybarbado s.com%2F shows the only error is the "pre" tag which are necessary hacks for formatting the "pre" tag. The other "warnings" are no different than checking apple.com http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http://w ww.apple.com
    They also do not assign background-color to "every" css element. Why would you (to bloat CSS)? So, there is exactly "one" error which is well documented and is supported in CSS2.1 when released.
    The problem is that Safari does not adhere to white-space or "pre" tags (preformatted text). This has been an ongoing problem since it's incarnation. All other browsers (FireFox, Netscape, IE, Opera, Mozilla..etc) do. http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#h-9.3.4
    edited: Sorry, had to edit as this forum software actually rendered the <"> tags (without quotes)

  • Problem viewing flash in Safari. (used to work fine?)

    Hi, I use Safari for most browsing, and it has been fine until the last few weeks, Now I cannot see the flash content on any site. I get a Quicktime Q with a ?mark in it. I cannot right click to get the Flash menu either.
    When I test the same sites in Firefox they work fine.
    I have updated my Flash from the adobe site and this has not worked either.
    My recent downloads are to to with SWF file reader and a few for Rapidweaver.
    Safari Version 2.0.4 (419.3). With all the latest updates installed.
    Thought about deleting Safari and re-installing it with a new download. But I would rather find out what the real problem is, rather than this last resort option.
    Thanks
    Powerbook G4   Mac OS X (10.4.9)  

    QuickTime System Preferences/Advanced tab
    Open MIME Settings
    Under Miscellaneous remove the check mark for Flash Media
    Quit and relaunch Safari and try the Flash Site again.

  • Can't view pages from Safari on my Mac

    When I'm on a website & need to display a page, it comes up dark grey. I don't know which program is having a problem, or how to reset so that I can see the content. I'm fairly certain that all my programs are up to date, this problem began several months ago. Prior to that, I had no problems viewing them in Safari, my preferred browser. Lately, if this happens, I need to open FireFox to view. Any suggestions on what went wrong, and how to fix it? I really don't like having to switch browsers, as it slows me down quite a bit.

    Depending on your version of Mac OS X and Safari,  it may vary.
    Safari 7 and 6.1 block PDFs | Acrobat, Reader
    PDF plug-in doesn't load | Safari 64 bit | Mac OS 10.6
    Troubleshoot Safari plug-in | Acrobat X, Reader X
    http://blogs.adobe.com/acrobat/workaround-for-safari-5-1-9-incompatibility-with-adobe-read er-and-adobe-acrobat/

  • We are having some problems viewing wide format drawings in safari on the ipad - The images view fine on the computer... Any ideas?

    We are having some problems viewing wide format drawings in safari on the ipad - The images view fine on the computer... Any ideas?

    No, the site isn't Flash-based; it's a site I've visited on the phone dozens of times. This problem only started occurring a few days ago.
    I'm embarrassed to admit that the site is Popsugar.com, a celeb gossip site that I visit whenever I'm bored.

  • How to remove bookmarks in landscape view in iOS Safari?

    When I rotate my iPhone 6+ to get landscape view of a Safari page in iOS (8.1.2), the left 40% of the screen is filled with a list of bookmarks (or other things) that I don't want, instead of providing a wider view of the page.  I can't find any preference to get rid of this: is there a way?

    AActually, the same problem exists in Mail: when I rotate the iPad to get a landscape view, the left third of the display is taken up by the list of items in the mail folder (e.g. Inbox). That list can be removed in portrait view by clicking on the message, but there doesn't seem to be any way to make it go away in landscape view, so as to use the whole display for the message.

  • Viewing PDF in safari goes crazy!

    Hello,
    I have installed adobe 7 and schubert it PDF viewer and viewing PDF within safari worked fine. Now, when I click on the PDF link through safari, it will open up and i can view it, but when I close safari window, and click on the PDF link again to open it, i get the following...
    %PDF-1.3
    %âãÏÓ
    468 0 obj
    <<
    /Linearized 1
    /O 470
    /H [ 888 656 ]
    /L 734915
    /E 91319
    /N 11
    /T 725436
    endobj
    xref
    468 22
    0000000016 00000 n
    0000000791 00000 n
    0000001544 00000 n
    0000001704 00000 n
    0000001932 00000 n
    0000002156 00000 n
    0000002626 00000 n
    0000002856 00000 n
    0000003431 00000 n
    0000003472 00000 n
    0000004869 00000 n
    0000005201 00000 n
    0000005423 00000 n
    0000005502 00000 n
    0000025563 00000 n
    0000053554 00000 n
    0000065879 00000 n
    0000068557 00000 n
    0000084457 00000 n
    0000089882 00000 n
    0000000888 00000 n
    0000001522 00000 n
    trailer
    <<
    /Size 490
    /Info 466 0 R
    /Root 469 0 R
    /Prev 725425
    /ID[<81a54025dd006e16d09537f4512b6817><2c84237be9e2ac33c27333058752e1f2>]
    startxref
    0
    %%EOF
    469 0 obj
    <<
    /Type /Catalog
    /Pages 464 0 R
    /Metadata 467 0 R
    /PageLabels 462 0 R
    endobj
    488 0 obj
    << /S 404 /L 681 /Filter /FlateDecode /Length 489 0 R >>
    stream
    H‰b```a``®`àd`P³ed@Av daà`gHmÐ``c`hp`˜ý†ÁºRµª¾Ô´£ö© ë¡XåøY$Ô*.-:Á§àâ€dĂff„‡ž\‹Ü¦ÌjU³(9¹8M@Q¯âWCÓº¤³r¦O
    Y›º6Ú¼B÷õvå9<"p0yí-©
    cö7ó¾9Ìú\¶_-0¢™‰{„c2+ß%ƒ€ªCYBÊi“ÙúD$ô8¹°°é$Ü}ÔÎúˆCÁàÎÎbÆ۝wµð‘PØûþòõóŽsñˆˆ76 ïé‡GG£DG&àè�LPÕPP?D3
    A¥Ù¡\uˆ¢Ž\AÉÀÀ˜ÈÀ¥Œ! ®ÉÀÏðŽé
    ë©âZX}˜Ü˜®0š<ö]zú?«ÚÞÏZ� ˜X¸D4ˆå
    1¨@¸� r
    û›€yp+ˆ6h6„4,ctcêaÙÁ æ ÓÉ°•1‹ÉlÄÍ? ¬ «“Óµï†�  :ڌ LX¸A\I£©NœÞlÈ ÆüèÈ
    rlX›%žL`Ðq“Ž1ö4]õ…uãñюȩ
    Ï2p³2˜€Ø ÀFfÂE
    endstream
    endobj
    489 0 obj
    540
    endobj
    etc etc etc.
    I have deleted all files associated with schubert it and adobe 7 and reset safari and repaired permissions, but the problem still occurs, without shubert it and adobe 7.
    Weird HUH? any suggestions?

    the application is safari. - in this case is it safari thats displaying the PDF or a plug in. at this point i dont have any 3rd party PDF plug ins.
    the link is on a website, i have not downloaded the PDF. When I click on the link, another safai window opens and it displays the PDF. I close the window, and click on the same link. When that happens, the gibberish appears.
    ....at this point...im maybe thinking that its a problem with the web server? This doesnt happen all the time.
    Thanks so much for you interest in my problem. =)

  • Problems viewing CNN videos

    Is it only me? With both Firefox and Safari, whenever I view a video on the CNN.com website, it is terrible. It just shutters and the audio is shaky. Even if I wait for the whole video to download before pressing play, I get the same problem. This has been happening for a long time, with many different versions of Firefox, starting in 2.x and still in 3.x. I never have any problems viewing YouTube video or any QuickTime videos, it is ONLY on the CNN.com website. I have contacted them several times (contact us) and complained, but I have never received a reply.
    I just want to make sure it isn't my machine. I have a pretty good system with plenty of RAM, etc.
    Thanks.

    Hello,
    I've never had an problems viewing CNN video/audio on Safari 3.1.2 (Tiger 10.4.11).
    In Safari, from the Menu Bar, select Help/Installed Plug-Ins and make sure you have the following plugin: Shockwave Flash 9.0 r151 — from file “Flash Player.plugin”. You can do a quick search of plugins by pressing Command + F in that plug in window and type in Flash in the search field. If it's there, it will be highlighed.
    If not, go here and download the Safari Flash plugin: http://www.adobe.com/shockwave/download/alternates/
    If you already have the Flash plugin, perhaps you need to do some maintenance on your Mac? If you don't have a disk utility to clean out caches, run routine maintenance and cleaning scripts... get Onyx here: http://www.titanium.free.fr/pgs/english.html It's free, easy to download and install and use.
    Also, check your available drive space as BDAqua suggested. Right or control click your MacintoshHD icon, then click: Get Info In the Get Info click the black arrow next to General so it faces down. You will see: Capacity and Available. Make sure your Mac has a minimum of 10% free disk space, 15% is better. Not enough disk space and video/audio, applications.. will crash/free... in general, erratic behavior.
    Carolyn :- )
    Carolyn

  • Problem viewing videos feeds

    I'm having a problem viewing video feeds on sites like Youtube and Veoh instead of a video showing I get a icon that looks like a lego with question marks on them now how can i correct this?

    That means you do not have the proper plugin installed. You need the Flash plugin.
    http://www.apple.com/safari/download/plugins.html

  • Problem viewing pdf in print mode

    I am able to download and view pdf files, but when I go to print them I sometimes get a file that looks like the correct pdf file but there is no text in the file. It has the formatting correct, but the text is absent.
    I am using Mac OS 10.6.8, Firefox 15.0, and Adobe reader 10.4.1
    This problem also occurs with Safari.
    Thanks,
    Mark

    Michael,
    Thanks for the response but downloading and then opening with Reader produces the same result, a formatted form without text.
    Mark

Maybe you are looking for