Editing a flash player

Discussion in 'Computer Gaming Forum' started by Japan-Games.com, Oct 11, 2009.

  1. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    Hey Guys

    I'm in new territory here.... I have a video sharing website that uses a flash media player. I want to tweak the player a bit but I've never worked with this type of code before. My goal is to disable embedding so people can't embed my videos into their site, but people are allowed to embed outside videos into my site. I used to have a site called MyTrailerTube.com which showed movie trailers, but I'm switching over to MediaXXX since the software I was using before wasn't as good (clip-share). You can see a demo of MediaXXX here (NOT SAFE FOR WORK): http://demo.mediaxxxscript.com/video/397/test.html

    I got a copy of Adobe flash and I opened up the player file. I went to "List Objects" and found the only information there that I could find. The software is completely new to me so I'm not even sure that I'm in the right area. But it's my guess that if I want to make changes to the video player this is the place to do it.

    First of all, is it possible to tweak an swf video player file and just upload it again? Or is that something that has to be installed on the server? For example can I just delete the code that generates the embed link and upload the file and overwrite the existing player? And if there's a problem I can just upload the original swf file and get things back to the way they were?

    This is what I'm looking at:


    Level #0: Frame=1
    Movie Clip: Frame=1 Target="_level0.mcBackground"
    Shape:
    Movie Clip: Frame=1 Target="_level0.videoOutput"
    Movie Clip: Frame=1 Target="_level0.advOutput"
    Movie Clip: Frame=1 Target="_level0.mcStart"
    Movie Clip: Frame=1 Target="_level0.mcStart.mcMask"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcStart.mcImageContainer"
    Movie Clip: Frame=1 Target="_level0.mcStart.mcScrimBtn"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcStart.mcPlayBtn" Label="up"
    Movie Clip: Frame=1 Target="_level0.mcStart.mcPlayBtn.bgr"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcStart.mcPlayBtn.c"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcStart.mcPlayBtn.label"
    Edit Text: Target="_level0.mcStart.mcPlayBtn.label.txtLabel" Variable= Visible=true Text = "
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel"
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.mcShowRotatorBtn"
    Shape:
    Text:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator"
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcBackground"
    Shape:
    Edit Text: Target="_level0.mcGoogleAdvPanel.advRotator.txtTitle" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"18\" COLOR=\"#FFF
    FFF\" LETTERSPACING=\"0\" KERNING=\"0\"><B>Title</B></FONT></P></TEXTFORMAT>"
    Edit Text: Target="_level0.mcGoogleAdvPanel.advRotator.txtDescription" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"14\" COLOR=\"#FFF
    FFF\" LETTERSPACING=\"0\" KERNING=\"0\">decrip</FONT></P></TEXTFORMAT>"
    Edit Text: Target="_level0.mcGoogleAdvPanel.advRotator.txtLink" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"14\" COLOR=\"#FFF
    F00\" LETTERSPACING=\"0\" KERNING=\"0\">link</FONT></P></TEXTFORMAT>"
    Edit Text: Target="_level0.mcGoogleAdvPanel.advRotator.txtGoogle" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"RIGHT\"><FONT FACE=\"Arial_10pt_st\" SIZE=\"10\" CO
    LOR=\"#CCCCCC\" LETTERSPACING=\"0\" KERNING=\"0\">ads by </FONT></P></TEXTFORMAT>"
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcClose"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcArrowLeft"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcLinkBtn"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcTitleBtn"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcArrowRight"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcArrowRight.mcHitSpace"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.advRotator.mcAdsGoogle"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcGoogleAdvPanel.mcMask"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcNavBackground"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.instance19"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcSoundBtn" Label="on"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcSoundBtn.mcSoundOn"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcSoundBtn.mcSoundOn.mcShapeTint"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcVolumeSlider"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcVolumeSlider.mcBackground"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcVolumeSlider.mcSliderStripe"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcVolumeControl.mcVolumeSlider.mcSlider"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcShareThis" Label="normal"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcShareThis.instance29"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcShareThis.instance31"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen" Label="windowed"
    Button: Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen.instance34"
    Movie Clip: Frame=0 Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen.instance34.instance103"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen.instance34.instance103.instance69"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen.instance34.instance103.instance75"
    Shape:
    Button: Target="_level0.mcNavigation.mcMiniPanel.mcToggleFullscreen.instance34.instance103.instance79"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcMask"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcMask.center"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcMask.left"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcMask.right"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcBlackBar"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.instance39"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcLoadProgress"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcProgressBack"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcProgressShadow"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcBorder"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcBorder.center"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcBorder.left"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcBorder.right"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcSlider"
    Shape:
    Edit Text: Target="_level0.mcNavigation.mcProgressBar.txtCurrent" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"10\" COLOR=\"#FFF
    FFF\" LETTERSPACING=\"0\" KERNING=\"0\">00:00</FONT></P></TEXTFORMAT>"
    Edit Text: Target="_level0.mcNavigation.mcProgressBar.txtTotal" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"RIGHT\"><FONT FACE=\"Arial\" SIZE=\"10\" COLOR=\"#FF
    FFFF\" LETTERSPACING=\"0\" KERNING=\"0\">00:00</FONT></P></TEXTFORMAT>"
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcProgressBar.mcHitSpace"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcPlayPause" Label="play"
    Button: Target="_level0.mcNavigation.mcPlayPause.btnPlay"
    Movie Clip: Frame=0 Target="_level0.mcNavigation.mcPlayPause.btnPlay.instance120"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcNavigation.mcPlayPause.btnPlay.instance120.instance110"
    Shape:
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton"
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcCenter"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcScrimBtn"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcEmbedButtons"
    Shape:
    Edit Text: Target="_level0.mcReplayButton.mcEmbedButtons.txtLink" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"17\" COLOR=\"#CBC
    BCB\" LETTERSPACING=\"0\" KERNING=\"0\"><B>url</B></FONT></P></TEXTFORMAT>"
    Edit Text: Target="_level0.mcReplayButton.mcEmbedButtons.txtEmbed" Variable= Visible=true Text = <TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Arial\" SIZE=\"17\" COLOR=\"#CBC
    BCB\" LETTERSPACING=\"0\" KERNING=\"0\"><B>embed</B></FONT></P></TEXTFORMAT>"
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcEmbedButtons.btnGetLink"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcEmbedButtons.btnGetEmbedCode"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcReplayBtn" Label="up"
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcReplayBtn.bgr"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcReplayBtn.c"
    Shape:
    Movie Clip: Frame=1 Target="_level0.mcReplayButton.mcReplayBtn.mcLabel"
    Edit Text: Target="_level0.mcReplayButton.mcReplayBtn.mcLabel.txtLabel" Variable= Visible=true Text = "
    Movie Clip: Frame=1 Target="_level0.mcShareWindowContainer"
    Movie Clip: Frame=1 Target="_level0.mcAdvImageContainer"
    Movie Clip: Frame=1 Target="_level0.mcAdvImageContainer.mcImageContainer"
    Movie Clip: Frame=1 Target="_level0.mcAdvImageContainer.mcHitSpace"
    Shape:
    Movie Clip: Frame=1 Target="_level0.instance58"
    Shape:


    ----

    Any tips? I can either remove the code that generates the embed code, or I just just eliminate the icon that people click on to display the code.
     
  2. MatthewCallis

    MatthewCallis Robust Member

    Joined:
    Nov 9, 2007
    Messages:
    205
    Likes Received:
    3
    Did you open the SWF or the FLA? You can't just edit a SWF, it's compiled code, and that sounds like what you are looking at; when you open the correct file in Flash you should see the scene and have access to the Actionscript.

    They said it was "open source" so you should have that file somewhere,
     
  3. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    Thanks. Hearing that pointed me in the right direction. I ended up checking a php file and I found the script that generates the embed code. I deleted it so now there's no more embedding.
     
  4. Esjay

    Esjay Active Member

    Joined:
    Dec 10, 2008
    Messages:
    36
    Likes Received:
    0
    People may still be able to embed otherwise. You should check all throughout the files and get rid of anything related to embedding.
     
  5. Yakumo

    Yakumo Pillar of the Community *****

    Joined:
    Mar 14, 2004
    Messages:
    20,515
    Likes Received:
    1,050
    For my flash stuff (flv files) my server does all the hard work. No hot linking or embedding. See if your server offers something similar. That will save you a hell of a lot of messing about.

    Yakumo
     
  6. Japan-Games.com

    Japan-Games.com Well Known Member

    Joined:
    Sep 12, 2005
    Messages:
    1,806
    Likes Received:
    9
    I want people to be able to emded (add videos) to my site, but I don't want them to embed my videos on their site because of bandwidth issues. Looks like I was able to resole the problem that deleted the text that generates the embed code that others use to embed my videos onto their site.

    Thanks for all the help!
     
  7. Borman

    Borman Digital Games Curator

    Joined:
    Mar 24, 2005
    Messages:
    9,543
    Likes Received:
    1,880
    The point Esjay was making is that doing that may have deleted the generator, but its still extremely easy to hotlink your file. Disable hotlinking of FLVs from your server if you want a proper solution.
     
  8. Yakumo

    Yakumo Pillar of the Community *****

    Joined:
    Mar 14, 2004
    Messages:
    20,515
    Likes Received:
    1,050
    That's what I did but would that still allow Eric to have people add files to his site? I don't know to be honest since I don't have that option open to my site users.
     
  9. Borman

    Borman Digital Games Curator

    Joined:
    Mar 24, 2005
    Messages:
    9,543
    Likes Received:
    1,880
    No reason it shouldnt. He would simply be preventing FLVs from his site going out. Has nothing to do with embedding outside video at all :p
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page