A Flash Developer Resource Site

Results 1 to 18 of 18

Thread: myspace?

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    27

    myspace?

    i have a flash movie embedded on a page, and it works perfectly in firefox, i.e., and opera. however, when i put the exact same code into a myspace profile, it stops working in firefox and opera...
    this is the code:
    Code:
    <embed allowScriptAccess="never" allowNetworking="internal" 
    src="http://www.freewebs.com/shaagnik/slideshow.swf?myURL=http://www.freewebs.com/shaagnik/picshow.xml&q=6560" width="500" height="400" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>
    it's on www.freewebs.com/shaagnik/gwa2.html working fine

    i know this isn't strictly a flash question but i thought maybe someone here would know something about this? maybe i.e. reads flash files differently or something?

  2. #2
    Junior Member
    Join Date
    Jul 2006
    Posts
    21
    I have the same problem, the flash files have only stopped working recently, I think they might be banned from myspace.

  3. #3
    Obsolete Vernacular Number Three's Avatar
    Join Date
    May 2001
    Location
    76012 USA
    Posts
    159
    From a development standpoint, I think MySpace is an abomination that needs a total overhaul. Not to mention a testing server so the live site doesn't break every 15 minutes.

    But I still can't stay away from it.

    Anyway, my point is, I wouldn't spend too much time trying to solve a "problem" that causes your code not to load properly on MySpace, because 99% of the time it's something they're doing.

  4. #4
    caithness massiv
    Join Date
    May 2000
    Location
    denver
    Posts
    1,672
    are you serious? please... don't use this forum to ask mySpace questions.

    post somewhere else that's dedicated to that sort of thing.

  5. #5
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    I think it is a pretty valid question for this fourm. How come youtube (or any other numerous flash aps you can get) works on myspace but my swf won't? Is there something they are putting in their actionscript that allows it. Or maybe something in mine that stops my swf's from displaying. I have yet to get my mp3 player embedded and have it "stay" on the page, yet the picture slideshow and google movie player on my page are both swf's and they always, always work just fine.

  6. #6
    Myspace has been forcing all users to upgrade to flash player 9 because it plugged a hole in earlier versions, and has strict rules about playing swfs from other domains. Might want to check the myspace policies about this to see what must be done for swfs on their site?

  7. #7
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Any manipulations to call urls from a foreign domain will probably not work on myspace if you put anything into the html page, since they have control over that, but they don't have control over flash. Here is a solution I worked out recently with somebody to play a flv. it should be possible with other applications too.

    http://board.flashkit.com/board/show...ighlight=proxy
    - The right of the People to create Flash movies shall not be infringed. -

  8. #8
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Hmm I read the post you linked and the one linked to in it. Well Maybe I'm just not knowlegeable enough to understand, but from what I see it is a bit different situation. I have a website on tripod. I actually just use it to host my mp3's and flash mp3player, as well as it's xml script for it's playlist. I have been embedding my player as an swf on myspace, linking to that tripod url. The xml works fine when it works, hard to explain but upon embedding my player on myspace it works great. After about 20 minutes though it no longer shows up and right clicking where it should be brings up the flash properties that says "movie not loaded". I have been embedding my swf the same way as my other flash content on my page that I got from other websites. The only difference is that theirs works and mine doesn't.

    As an example here is the embed code for my slide show from Rockyou.com. (which works flawlessly on myspace.)

    Code:
    <embed allowScriptAccess="never" allownetworking="internal"
     src="http://apps.rockyou.com/rockyou.swf?instanceid=32646787"
     quality="high"  wmode="transparent" width="426" height="320"
     name="flashticker" align="middle" type="application/x-shockwave-flash"
     pluginspage="http://www.macromedia.com/go/getflashplayer"
    />
    Here is my embed code for my homemade mp3 player at tripod.

    Code:
    <embed allowScriptAccess="never" allowNetworking="internal"
     src="http://overlordmanny.tripod.com/MP3/mp3scroll.swf"
      quality="high" wmode="transparent" width="273" height="147"
     name="movie" type="application/x-shockwave-flash"
     pluginspage="http://www.macromedia.com/go/getflashplayer"
    />
    Thanks for the help, I'm going to reread those post cuz I may have just misunderstood you.

  9. #9
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    The reason I show that thread is, just have an empty movie on myspace with an empty movieclip, which loads the actual movie from a different server with xml, mp3's, video (that was the case in that thread I showed and it worked). Don't fool around with any special embed commands, just plain regular Flash publishing. Have all your security commands within the flash movies.

    What am I talking about, I never published on myspace and don't intend to
    - The right of the People to create Flash movies shall not be infringed. -

  10. #10
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Wow I totally understand you now... I think. I already have all of my xml links and stuff in my original swf so that is not an issue at all. I just have to figure out how to get my player swf to open inside this blank swf, is that right? Hmmm, using GetURL opens the mp3Player swf in my browser not within the blank movie, that's not right. I'll do some playing around with this. Thanks so much for your help.

  11. #11
    Member
    Join Date
    Aug 2006
    Posts
    31
    My "myspace" IS a .swf file. Come complete with music and eventually games. Trust me, it works on both IE and FF.

  12. #12
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Quote Originally Posted by SkaBoss
    My "myspace" IS a .swf file. Come complete with music and eventually games. Trust me, it works on both IE and FF.
    Really, that's cool. I just wanna get my player to work. Unfortunately my knowlege of flash is very limited. What would you suggest about how to do this since you have gotten yours to work on myspace. I mean I'm just starting out with flash and really wanna show off my little rinky dink player to my myspace friends.

  13. #13
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Ok I got my original swf loaded into the blank one using.

    Code:
    loadMovie("http://overlordmanny.tripod.com/MP3/mp3scroll.swf", this);
    Unfortunately I get the same results. I'll figure this out eventually.

  14. #14
    Member
    Join Date
    Aug 2006
    Posts
    31
    Everything looks fine, except this:
    ?myURL=http://www.freewebs.com/shaagnik/picshow.xml&q=6560
    I have no idea what that is doing, so right now it looks like the problem. Once again, i dont know what it exactly is, so i cant say for sure.

  15. #15
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Quote Originally Posted by cancerinform
    ...Don't fool around with any special embed commands, just plain regular Flash publishing...
    I'm sorry for being such a noob here, but what is regular flash publishing?

  16. #16
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    See Skaboss answer. That is a variable for a URL, which can be called inside the movie.

    Have you put this in your movie on tripod:

    System.security.allowDomain("http://mySpace.com");

    One thing I don't know though if it works, since Tripod is als a host with restrictions, since it is free.
    Last edited by cancerinform; 08-13-2006 at 09:30 AM.
    - The right of the People to create Flash movies shall not be infringed. -

  17. #17
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Duplicate post see my next post.

  18. #18
    Junior Member
    Join Date
    Aug 2006
    Posts
    14
    Oh you are right I changed hosts and everything is working great on firefox. It seems Tripod was my problem all along. The only thing now is that it still has problems on IE, I have done some more research and it seems that myspace has somehow set things up so IE won't allow an swf that calls for external files. If that is the true I may have to set up special variable embed tags to reference my playlist. I have looked at another mp3 player that does work on myspace on IE and Firefox and it uses the embed tag flashvars to reference the xml playlist. Now I just have to figure out how to get my swf to look for it's variables in this way.

    Here is the code to the working MP3 player you'll see the flashvars tage has several variables in it but I'm only going to use it for an XML playlist.


    Code:
    <embed allowScriptAccess="never" allowNetworking="internal"
     src="http://mp3player.poqbum.com/player.swf"menu="false" quality="high"
     style="filter:gray;"width="270" height="290" name="index"allowScriptAccess="never"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    flashvars="playList=http://mp3player.poqbum.com/mp3lists/356322.xml
    &ShowPlaylist=1&ShowEQ=1&firstTrack=1&initVol=100" wmode="transparent" />

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center