Trace(); Flash 11; and mm.cfg

I've tried a few things now, but I can't seem to get any trace output to a log file from either the Flash Player in my browser, or the separate Projector player.
Here's my details:
Flash browser plugin version: 11.1 (debugger version)
Flash Projector: 11.1 (debugger version)
OS: MacOS 10.6.8
mm.cfg:
ErrorReportingEnable=1
TraceOutputFileEnable=1
MaxWarnings=500
Places where mm.cfg was saved and tested:
/Users/jens/mm.cfg
/Library/Application Support/Macromedia/mm.cfg
/Users/jens/Library/Application Support/Macromedia/mm.cfg
With these settings as they are, I expect text to appear in the default flashlog.txt file here:
/Users/jens/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt
This file does exist. It's empty, by default, and it remains empty even after I run a little test program which works fine otherwise...
package
  import flash.display.Sprite;
  import flash.text.TextField;
  [SWF(width="640", height="480", backgroundColor="#cccccc")]
  public class HelloWorld extends Sprite
    public function HelloWorld()
      var textField:TextField = new TextField();
      textField.text = "Hello World";
      addChild(textField);
      trace("Hello World");
If I delete the flashlog.txt file, and run it again, a new flashlog.txt file is created, but is still empty. If I specify a different log file by adding the following line to my mm.cfg, the custom log file isn't even created. If I create a blank log file, and run my swf file again, it remains empty.
TraceOutputFileName=/Users/jens/tmp/flashlog.txt
The above file name is valid and tested and has liberal read/write permissions.
Any suggestions left? Any reply at all will be appreciated!
Jens.

With the mm.cfg file in my home directory, it works, it took a few tries, but it works. Thanks

Similar Messages

  • Adobe Flash Player and Shockwave crashing has disabled my computer

    I have downloaded a second flash player and it is still the same. Firefox has been crashing daily for a few weeks. I noticed that your adblocker plus was updated 6/4. Since then I have almost no use of firefox, because the Adobe flash player 13.0.r0 and Shockwave crash notices are constantly popping up. Could that update have something to do with why the flash players are not working? Below are an example of the crash details.
    Thanks for the help. I prefer your browser, but this has made it non-functioning.
    In trying to fix it, a window came up that asked would I like to change it back to a previous working image, which was Windows XP. Although this computer is Windows 7, I clicked the box yes, and said I wanted it to work like Windows XP. I see in your Operating System below, that it reads Windows Xp, but this computer is actually Windows 7. I can't find that menu to change unclick and change it back, so that it is working as Windows 7.
    Problem Event Name: APPCRASH
    Application Name: FlashPlayerPlugin_13_0_0_214.exe
    Application Version: 13.0.0.214
    Application Timestamp: 5359c61d
    Fault Module Name: StackHash_27eb
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Code: c0000005
    Exception Offset: 6c2b92cd
    OS Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional Information 1: 27eb
    Additional Information 2: 27eb358fe674a6f15dafe56d42bb9bf3
    Additional Information 3: 2f06
    Additional Information 4: 2f06c18113e6d7c00e6b91fa1fde84b6
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt

    AdBlock Plus isn't maintained or connected to Mozilla as they didn't develop it. ABP and Flash don't interfere with each other except on same cases that ABP blocks Flash content.
    You can Try disabling Hardware Acceleration. <br>
    #Go to this [http://helpx.adobe.com/flash-player/kb/video-playback-issues.html#main_Solve_video_playback_issues Adobe Flash Player Help page].
    #Right-click on the Flash Player logo on that page.
    #Click on '''Settings''' in the context menu. The Adobe Flash Player Settings screen will open.
    # Click on the icon at the bottom-left of the Adobe Flash Player Settings window to open the Display panel. <br/> <br/>[[Image:fpSettings1.PNG]] <br/>
    # Remove the check mark from '''Enable hardware acceleration'''.
    # Click '''Close''' to close the Adobe Flash Player Settings Window.
    # Restart Firefox.
    This [http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html Flash Player Help - Display Settings page] has more information on Flash Player hardware acceleration, if you're interested.
    If that doesn't work try Try to disable Protected Mode in Flash 11.3 and above by adding the line ProtectedMode=0 to the Flash "mms.cfg" file located in one of these locations: [46]
    (Windows 32bit) C:\Windows\System32\Macromed\Flash
    (Windows 64bit) C:\Windows\SysWOW64\Macromed\Flash
    For example, on a Windows 7 64-bit system, open the C:\Windows\SysWOW64\Macromed\Flash folder, copy the file "mms.cfg" to the desktop, open it in Notepad, add a new line <code>ProtectedMode=0 </code> and then close Notepad, saving your changes. Next, go back to the C:\Windows\SysWOW64\Macromed\Flash folder, rename the original file to "mms.cfgBAK" (to save it as a backup) and then drag and drop in the modified "mms.cfg" file from the desktop. [47] [48] [49]
    Note: To re-enable Flash Protected Mode, either restore a backup of the original mms.cfg file, if you saved one, or else re-edit the mms.cfg file to remove the <code>ProtectedMode=0 l</code> line you added. Updating Flash Player or installing a newer version does not automatically re-enable Protected Mode
    Flash has been a pain since day 1 and Mozilla is currently working to replace Flash with Shumway. Unfortunately it's in the Nightly channel, doesn't come activated automatically and it isn't quite ready for normal usage. I just tested Nightly yesterday with Shumway and it wouldn't play.

  • Error in creating XML photo gallery with Flash CS4 and AS 3.0

    Hello, all. I've been creating an XML photo gallery with Flash CS4 and AS 3.0 following a tutorial. I followed the instructions step-by-step but at the end I got the following error message instead:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Could anyone in the community assist me as to how to solve the problem? The script has no errors and last time I checked all the applicable files (the .xml file, the .jpg files, the .swf and the .fla file) are in my Documents folder on the Mac.
    Looking forward to your suggestions!

    Check the folder structure
    Flash is not able to get some file thats why the IO Error.
    trace the url path just before u load the file and u will be abel to find whether that file is in specified folder or not.
    http://www.darshanrane.com

  • Remove / unload external swf file(s) from the main flash file and load a new swf file and garbage collection from memory.

    I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
    This is the error message(s) I am receiving: "TypeError: Error #2007: Parameter child must be non-null.
    at flash.display::DisplayObjectContainer/removeChild()
    at index_fla::MainTimeline/Down3()"
    import nl.demonsters.debugger.MonsterDebugger;
    var d:MonsterDebugger=new MonsterDebugger(this);
    stage.scaleMode=StageScaleMode.NO_SCALE;
    stage.align=StageAlign.TOP_LEFT;
    stage.addEventListener(Event.RESIZE, resizeHandler);
    // loader is the loader for portfolio page swf
    var loader:Loader;
    var loader2:Loader;
    var loader3:Loader;
    var loader1:Loader;
    //  resize content
    function resizeHandler(event:Event):void {
        // resizes portfolio page to center
    loader.x = (stage.stageWidth - loader.width) * .5;
    loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    /*loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;*/
    addEventListener(Event.ENTER_FRAME, onEnterFrame,false, 0, true);
    function onEnterFrame(ev:Event):void {
    var requesterb:URLRequest=new URLRequest("carouselLoader.swf");
    loader = null;
    loader = new Loader();
    loader.name ="carousel1"
    //adds gallery.swf to stage at begining of movie
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requesterb);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    // stop gallery.swf from duplication over and over again on enter frame
    removeEventListener(Event.ENTER_FRAME, onEnterFrame);
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent):void {
    // re adds listener for contact.swf and about.swf
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
    var requester:URLRequest=new URLRequest("carouselLoader.swf");
        loader = null;
    loader = new Loader();
    loader.name ="carousel"
    loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader);
    loader.x = (stage.stageWidth - 739) * .5;
    loader.y = (stage.stageHeight - 500) * .5;
    removeChild( getChildByName("about") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of gallery.swf
    MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    function Down1(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    var requester:URLRequest=new URLRequest("contactLoader.swf");
    loader2 = null;
    loader2 = new Loader();
    loader2.name ="contact"
    loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader2.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader2);
    loader2.x = (stage.stageWidth - 658.65) * .5;
    loader2.y = (stage.stageHeight - 551.45) * .5;
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
    //adds eventlistner so that info.swf can be loaded
    MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    function Down3(event:MouseEvent):void {
    //this re-adds the EventListener for portfolio so that end user can view again if they wish.
    MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
    var requester:URLRequest=new URLRequest("aboutLoader.swf");
    loader3 = null;
    loader3 = new Loader();
    loader3.name ="about"
    loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
    function ioError(event:IOErrorEvent):void {
    trace(event);
    try {
    loader3.load(requester);
    } catch (error:SecurityError) {
    trace(error);
    addChild(loader3);
    loader3.x = (stage.stageWidth - 482) * .5 - 260;
    loader3.y = (stage.stageHeight - 492) * .5 - 140;
    removeChild( getChildByName("carousel") );
    removeChild( getChildByName("carousel1") );
    // remove eventlistner and prevents duplication of info.swf
    MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
    stop();

    Andrei1,
    Thank you for the helpful advice. I made the changes as you suggested but I am receiving a #1009 error message even though my site is working the way I wan it to work. I would still like to fix the errors so that my site runs and error free. This is the error I am receiving:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference."
    I'm sure this is not the best method to unload loaders and I am guessing this is why I am receiving the following error message.
         loader.unload();
         loader2.unload();
         loader3.unload();
    I also tried creating a function to unload the loader but received the same error message and my portfolio swf was not showing at all.
         function killLoad():void{
         try { loader.close(); loader2.close; loader3.close;} catch (e:*) {}
         loader.unload(); loader2.unload(); loader3.unload();
    I have a question regarding suggestion you made to set Mouse Event to "null". What does this do setting the MouseEvent do exactly?  Also, since I've set the MouseEvent to null do I also have to set the loader to null? e.g.
    ---- Here is my updated code ----
    // variable for external loaders
    var loader:Loader;
    var loader1:Loader;
    var loader2:Loader;
    var loader3:Loader;
    // makes borders resize with browser size
    function resizeHandler(event:Event):void {
    // resizes portfolio page to center
         loader.x = (stage.stageWidth - loader.width) * .5;
         loader.y = (stage.stageHeight - loader.height) * .5;
    // resizes about page to center
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
    //adds gallery.swf to stage at begining of moviie
         Down();
    //PORTFOLIO BUTTON
    //adds eventlistner so that gallery.swf can be loaded
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
    function Down(event:MouseEvent = null):void {
    // re adds listener for contact.swf and about.swf
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
    //unloads gallery.swf from enter frame if users presses portfolio button in nav
         var requester:URLRequest=new URLRequest("carouselLoader.swf");
         loader = new Loader();
         loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader.load(requester);
         } catch (error:SecurityError) {
         trace(error);
         this.addChild(loader);
         loader.x = (stage.stageWidth - 739) * .5;
         loader.y = (stage.stageHeight - 500) * .5;
    // sure this is not the best way to do this - but it is unload external swfs
         loader.unload();
         loader2.unload();
         loader3.unload();
    // remove eventlistner and prevents duplication of gallery.swf
         MovieClip(root).nav.portfolio.removeEventListener(MouseEvent.MOUSE_DOWN, Down);
    //INFORMATION BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         function Down1(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         var requester:URLRequest=new URLRequest("contactLoader.swf");
         loader2 = null;
         loader2 = new Loader();
         loader2.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);    
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader2.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader2);
         loader2.x = (stage.stageWidth - 658.65) * .5;
         loader2.y = (stage.stageHeight - 551.45) * .5;
    loader.unload();
    loader2.unload();
    loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.info.removeEventListener(MouseEvent.MOUSE_DOWN, Down1);
    //ABOUT BUTTON
         //adds eventlistner so that info.swf can be loaded
         MovieClip(root).nav.about.addEventListener(MouseEvent.MOUSE_DOWN, Down3, false, 0, true);
         function Down3(event:MouseEvent = null):void {
         //this re-adds the EventListener for portfolio so that end user can view again if they wish.
         MovieClip(root).nav.portfolio.addEventListener(MouseEvent.MOUSE_DOWN, Down, false, 0, true);
         MovieClip(root).nav.info.addEventListener(MouseEvent.MOUSE_DOWN, Down1, false, 0, true);
         var requester:URLRequest=new URLRequest("aboutLoader.swf");
         loader3 = null;
         loader3 = new Loader();
         loader3.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioError);
         function ioError(event:IOErrorEvent):void {
         trace(event);
         try {
         loader3.load(requester);
    }      catch (error:SecurityError) {
         trace(error);
         addChild(loader3);
         loader3.x = (stage.stageWidth - 482) * .5 - 260;
         loader3.y = (stage.stageHeight - 492) * .5 - 140;
         loader.unload();
         loader2.unload();
         loader3.unload();
         // remove eventlistner and prevents duplication of info.swf
         MovieClip(root).nav.about.removeEventListener(MouseEvent.MOUSE_DOWN, Down3);
         stop();

  • I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?

    I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?  I am using Windows 8.1 with Flash CC.
    I even when into the "Edit Code Snippet XML" and added a Custom folder and a custom template.  Then I went back to add the code snippet again and it still did not work.
    About line 32, I added:
       <category title="Custom"
          isBranch="true" expanded="false"
          description="Code for common interactions">
          <snippet isBranch="false">
          <title>Custom Snippet</title>
          <description>This is an example of a custom code snippet.</description>
          <requiresSymbol>true</requiresSymbol>
          <code><![CDATA[
    // Code goes here
    trace("A custom code snippet");
          ]]></code>
        </snippet>
        </category>     
    Any assistance would be greatly appreciated.

    UserAgent for the OP is - Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100405 Namoroka/3.6.3 - he might be running a 64-bit 3rd party build.

  • Obtaining the full file path specification from Flash Movie and QuickTime icons?

    How do you obtain the full file path specification from Flash
    Movie and QuickTime icons? I want the path and the file name that
    is contained in these icons. I am using a "dive" to run through the
    icons of a file, and when I come upon these two types of icons, I
    want to obtain the above information that is contained in them. I
    certainly can look in the property dialog box to get this info, but
    there are many icons in these files, and I want to generate a list
    of info based upon the various types of icons that I am processing.
    Thanks

    > How do you obtain the full file path specification from
    Flash Movie and
    > QuickTime icons? I want the path and the file name that
    is contained in
    > these
    > icons. I am using a "dive" to run through the icons of a
    file, and when I
    > come
    > upon these two types of icons, I want to obtain the
    above information that
    > is
    > contained in them. I certainly can look in the property
    dialog box to get
    > this
    > info, but there are many icons in these files, and I
    want to generate a
    > list of
    > info based upon the various types of icons that I am
    processing. Thanks
    >
    For Flash
    Trace(GetIconProperty(iconID, #pathName))
    for QuickTime
    Trace(GetIconProperty(IconID, #filename))
    For full scripting reference for each of these sprites, open
    up the
    Properties panel for each sprite and press the Help button
    that appears on
    the properties page ... or else navigate to these folders for
    the Flash and
    QT help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\FlashAsset\Help
    C:\Program Files\Macromedia\Authorware
    7.0\xtras\QuicktimeAsset\Help
    You don't want to know how many times I asked Macromedia to
    stop hiding that
    Help!
    Steve
    http://twitter.com/Stevehoward999
    Adobe Community Expert: eLearning, Mobile and Devices
    European eLearning Summit - EeLS
    Adobe-sponsored eLearning conference.
    http://www.elearningsummit.eu

  • Flash Video and sub-titling

    Hi Guys,
    Just like to know, if anyone has done any project with flash
    video with subtitling.
    I have around 20 videos of 5 mins each, I have to put the
    subtitling on the videos, the text for the sub titling is available
    in Excel sheets, I also have the time point for the subtitling.
    Is that possible to load the text dynamically from the excel
    sheet or any other format at the given time point in the flash
    video.
    Any tutorial available for the above topic? please provide me
    the link.
    Thanks in advance
    regards

    b_pandey,
    > Just like to know, if anyone has done any project with
    > flash video with subtitling.
    I haven't, but I've done projects in which video had to be
    synchronized
    with other events.
    > I have around 20 videos of 5 mins each, I have to put
    > the subtitling on the videos, the text for the sub
    titling is
    > available in Excel sheets, I also have the time point
    for
    > the subtitling.
    Excellent; you're all set!
    > Is that possible to load the text dynamically from the
    > excel sheet or any other format at the given time point
    > in the flash video.
    Not from an Excel sheet, no. But Flash can load text files
    and Flash
    can interact with databases via PHP, ASP, Cold Fusion, and
    the like. Given
    the time-sensitive nature of your project, however, I would
    put the
    subtitles right into the SWF itself.
    > Any tutorial available for the above topic? please
    > provide me the link.
    You'll want to read about "cue points" in the documentation
    and online.
    Here are two tutorials I found by Googling the terms "Flash
    video cue
    points" ...
    http://www.mediacollege.com/flash/video/cuepoints.html
    http://www.actionscript4designers.com/wmg3/cuepoints_briefly.html
    The second one involves screens, which you probably don't
    need, but the
    *concept* is, of course, the more important part. The first
    tutorial is
    more likely to help you.
    I would put all the subtitles into an array and use the
    cuePoint event,
    as described in tutorial #1, to populate the same dynamic
    text field over
    and over again based on strings in the array.
    What this means is that you'll want to familiarize yourself
    with the
    Array class. Start small, at first. Start a new FLA
    altogether and create
    nothing in it but an array.
    var subtitles:Array = new Array();
    Then push items into the array.
    subtitles.push("Hello, Ginger.");
    subtitles.push("Why, hello, Fred.");
    subtitles.push("Care to dance, Ginger?");
    subtitles.push("Oh, yes! Let's do!");
    Then use trace() to test your understanding of how to pull
    information
    again from the array.
    trace(subtitles[0]); // zero is the first element
    trace(subtitles[1]);
    trace(subtitles[2]);
    // etc.
    A for() loop can retrieve them all. Just substitute the
    numbers for a
    variable that represents numbers.
    for (n=0; n<subtitles.length; n++) {
    trace(subtitles[n]);
    And so on. Looking up the "Array class" entry of the
    ActionScript
    Language Reference will teach you about the Array.length
    property used in
    the above sample. All class entries show the properties,
    methods, and
    events available to a given class. Properties are
    characteristics of the
    object, methods are things the object can do, and events are
    things the
    object can react to.
    Once you understand arrays, look up the FLVPlayback in the
    documentation
    and/or follow along in the above tutorials. Just realize that
    you'll use
    the concepts described to meet your own needs. If you prefer
    not to use the
    FLVPlayback Component -- and you may not -- look up the Video
    class, and
    also the NetStream and NetConnection classes to learn how to
    load FLVs
    without a Component (the NetStream class features an
    onCuePoint event). See
    also ...
    http://www.quip.net/blog/2006/flash/how-to-load-external-video
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Flash cs3 and php problem (system error)

    Hi All,
    Been checking out a free utility, called Tell A Friend - followed the instructions to a t but still getting system error.
    Here is the php code:
    <?php
    $to = ($_POST['friend']);
    $link = ($_POST['link']);
    $subject = "Tell a friend";
    $message = "Your friend ";
    $message .= $_POST['name'] . " wants advice you the following link: ".$link;
    $headers = "My WebSite Name";
    if(@mail($to, $subject, $message, $headers))
    echo "answer=ok";
    else
    echo "answer=error";
    ?>
    The main swf has a main.as attached:
    * Flash Tell A Friend
    * http://www.FlepStudio.org        
    * Author: Filippo Lughi          
    * version 1.0                      
    package
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;
    import flash.external.*;
    import flash.net.*;
    public class main extends MovieClip
      private const PHP_URL:String="sendMail.php";
      private var checker:CheckEmail;
      private var timer:Timer;
      public function main()
       addEventListener(Event.ADDED_TO_STAGE,init);
      private function init(evt:Event):void
       removeEventListener(Event.ADDED_TO_STAGE,init);
       stage.frameRate=31;
       checker= new CheckEmail();
       addInputListener();
       addSendListener();
      private function addInputListener():void
       clip_mc.name_txt.background=true;
       clip_mc.name_txt.backgroundColor=0x999999;
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
       clip_mc.email_txt.background=true;
       clip_mc.email_txt.backgroundColor=0x999999;
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
      private function onFocusIn(evt:Event):void
       evt.target.background=true;
       evt.target.backgroundColor=0xFFFFFF;
      private function onFocusOut(evt:Event):void
       evt.target.backgroundColor=0x999999;
      private function addSendListener():void
       clip_mc.send_mc.mouseChildren=false;
       clip_mc.send_mc.buttonMode=true;
       clip_mc.send_mc.addEventListener(MouseEvent.MOUSE_DOWN,onSendDown);
      private function onSendDown(evt:MouseEvent):void
       if(clip_mc.name_txt.text!="")
        if(checker.initCheck(clip_mc.email_txt.text))
         sendEmail();
        else
         displayPhrase("Invalid Email");
       else
        displayPhrase("Invalid name");
      private function sendEmail():void
       clip_mc.send_mc.mouseEnabled=false;
       var variables:URLVariables=new URLVariables();
       variables.name=clip_mc.name_txt.text;
       variables.friend=clip_mc.email_txt.text;
       variables.link=ExternalInterface.call('window.location.href.toString');
       var request:URLRequest=new URLRequest();
       request.url=PHP_URL;
       request.method=URLRequestMethod.POST;
       request.data=variables;
       var loader:URLLoader=new URLLoader();
       loader.dataFormat=URLLoaderDataFormat.VARIABLES;
       loader.addEventListener(Event.COMPLETE,onMessageSent);
       try
        loader.load(request);
       catch (error:Error)
        trace('Unable to load the document.');
      private function onMessageSent(evt:Event):void
       var vars:URLVariables=new URLVariables(evt.target.data);
       if(vars.answer=='ok')
        displayPhrase("Message Sent!");
       else
        displayPhrase("System Error!");
       clip_mc.send_mc.mouseEnabled=true;
       clip_mc.name_txt.text="";
       clip_mc.email_txt.text="";
      private function displayPhrase(s:String):void
       clip_mc.display_txt.text=s;
       resetPhrase();
      private function resetPhrase():void
       timer=new Timer(1500,1);
       timer.addEventListener(TimerEvent.TIMER,hidePhrase);
       timer.start();
      private function hidePhrase(evt:TimerEvent):void
       clip_mc.display_txt.text="";
    Any help appreciated. This is a great viral marketing tool, when it ever works
    Kind Regards,
    Boxing Boom

    Never seen such an error, but if it's in the status bar of the browser then it shouldn't be Flash problem. You can check what's happening in your swf by creating a dynamic text field and setting it's text in every major action, that is: requesting PHP and getting back response, to what's just happened.
    So, on the Flash side you can see whether the browser error stops the PHP script and immobilizes further actions.
    What I'd do is create a new Flash file and PHP file and just send 1 variable to PHP, change it somehow and send it back to Flash and print it in a text field. That way you can check whether it's the method you're using to request PHP or just PHP or something else. Step by step adding complexity and checking on which of these steps the error occurs.
    I wish you good luck.
    Ps. It's probably a very rookie problem, we just don't know the source.

  • Flash text and flash buttons in DW CS4

    Hi,
    I have installed DW CS4 on my pc with Vista Home Premium 64
    Bit...I have edit my website homepage and I have discovered that I
    can't edit all flash text and buttons that I have created with DW
    CS3! I have see that the adobe has removed from CS4 version this
    option! So, now how I can resolve this problem??
    I have try to install also the CS3 version but I don't
    understand because I can't no more activated it from internet or
    phone option!
    I'm very angry for this, now I have to recreate from the
    begin all flash text and buttons of my website with other software?
    perhaps to buy also the Flash CS4 version for the solution? is this
    the new idea of adobe with their new CS4 version?

    > I'm very angry for this, now I have to recreate from the
    begin all flash
    > text
    > and buttons of my website with other software? perhaps
    to buy also the
    > Flash
    > CS4 version for the solution? is this the new idea of
    adobe with their new
    > CS4
    > version?
    It was a poor choice on Adobe's part to ever include such an
    option, and on
    your part for using it. Think about it -
    1. Some people don't have Flash installed - what do they do?
    Especially
    consider those people who are browsing from a corporate
    internet where Flash
    is not allowed by the IT staff.
    2. Search engines may not parse Flash links - your site will
    not be
    spidered unless you have redundant HTML links
    3. Screen assistive devices don't parse Flash links - what
    will those users
    do?
    4. DW cannot maintain links within a Flash movie, so if you
    move or rename
    a linked file, your navigation will break - what will you do?
    You will have
    to remake those buttons.
    It's almost always a very bad idea for these reasons.
    The solution is to make graphics to replace the Flash
    elements, or just use
    CSS styled text.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "s76x" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    > I have installed DW CS4 on my pc with Vista Home Premium
    64 Bit...I have
    > edit
    > my website homepage and I have discovered that I can't
    edit all flash text
    > and
    > buttons that I have created with DW CS3! I have see that
    the adobe has
    > removed
    > from CS4 version this option! So, now how I can resolve
    this problem??
    > I have try to install also the CS3 version but I don't
    understand because
    > I
    > can't no more activated it from internet or phone
    option!
    >
    > I'm very angry for this, now I have to recreate from the
    begin all flash
    > text
    > and buttons of my website with other software? perhaps
    to buy also the
    > Flash
    > CS4 version for the solution? is this the new idea of
    adobe with their new
    > CS4
    > version?
    >

  • The Flash Text and Flash Button options have dissappeared

    the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now

    Adobe announced the features they were removing from CS4 a year or so before CS4 launched:
    The ill-conceived Flash buttons and Flash text were among the deprecated features.
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS2C41F19D-502B-4fb5-8A54-4442E2127C84a .html
    Deprecated features
    The following features have been deprecated for Dreamweaver CS4:
    Timelines
    Web services
    Layout mode
    Site Map view
    Java Bean support
    Adobe® Flash elements (Image Viewer)
    Adobe® Flash text and Adobe® Flash buttons
    ASP.NET and JSP server behaviors and recordsets

  • Flash Text and Flash Button options have dissappeared in DW CS4

    the Flash Text and Flash Button options have dissappeared in the insert menu in Dreamweaver CS4. They used to be there but not now

    You need the Dreamweaver forum - click here.

  • My Mac Book Pro was really slow at everything and would kick me out of my photos every time i got on them. now it won't even allow me to log on. i put my password in and the screen will flash white and go back to the login page. HELP please...

    My Mac Book Pro was really slow at everything and would kick me out of my photos every time i got on them. now it won't even allow me to log on. i put my password in and the screen will flash white and go back to the login page. HELP please...

    There is nothing wrong with your Dell, it will work fine with any MacbookPro. I have been using Dell displays for over 12 years with many different Mac models. I have two 21" Ultra Sharp displays working side by side to design a Keynote presentation right now.
    The issue your having is with the way Keynote  takes control of the video output to both displays, it sends the presentation signal to one and the presenter display to the other, this is set up in;
    Keynote preferences > Presenter display.
    If you want to show a wesite or another app on  either display,  use application switcher:
    press the the  command key on the keyboard, then the tab key; a row of applications will show what applications are running, choose which one you want to show. Use command  > tab to return to Keynote.

  • My iphone 3g stays on the apple logo for about 4 minutes then flashes white and goes back to the apple screen, it repeats untill battery is flat,  every now and then im lucky enough to get it to turn on but not very often and then it freezes and repeats??

    hello my name is kirstie, i updated to firmware 4.2.1 .....my iphone 3g stays on the apple logo for about 4 minutes then flashes white and goes back to the apple screen, it repeats untill battery is flat,  every now and then im lucky enough to get it to turn on but not very often and then it freezes and repeats the same problem?? (if i turn the phone off my pressing the two buttons it wont keep rebooting, its only when i leave it after turning it on)
    I have reset the phone, full firmware restore, even downgraded back from firmware 4.2.1 to .3.1.3 official by using dfu mode and still doesnt fix.
    (i correctly got out of dfu mode after the downgrade)
    i can enter dfu mode and recovery, and update through itunes with no problem, but it doesnt fix the problem,
    i have searched and found no answer to this problem, every option availible to try that i know of i have tried and failed. i dont care about preserving my content i just want a fix. i have a good understanding how to operate software on a computer and shouldnt be too confused by any advice given, so plz even if the answer is very complex i wish to try anything, please help me to get my iphone working.

    Anyone have any suggestions? or is everyone else just as clueless as me !

  • Problem with accordion widget flashing open and shut when page loads

    why is it that my accordion widget flashes open and shut when the page is loading (see http://vincentballmusewebsite2013test.businesscatalyst.com/digital-illustration.html#.UVDr Ehx7JyII)  have tried everything to solve this, and Adobes customer service is terrible they don't get back to you when they say they will.
    Please help me someone,
    Thanks

    Thank you Zak for your help, I spent 5 hours going round in circles trying to fix that problem and that's all I needed to hear, a bit of honesty and integrity.and yes, Adobes terrible customer service has still not got back to after promising 2 level technical support to contact me last Monday, I wish there'd keep their promise
    Pamela, did you try my test website or my own website and if so my own has now no accordion widget on it and my test website may need you to try loading a few times to see if it really works or not, sometimes it does actually work even on a pc but most times not.
    thanks for you help too.

  • How do I restore my Ipad 4 from my desktop computer? My charger was broken. I bought a new one but now it won't charge. I have a BATTERY bar in the middle of the screen that is flashing RED and I have a symbol on the bottom that looks like a charger.

    How do I restore my Ipad 4 from my desktop computer? My charger was damaged so I bought a new one but it won't charge. On my Ipad, I have a BATTERY bar in the middle that is flashing RED and an icon on the bottom that looks like the end of a charger. I have tried to force into reset mode, by holding the sleep key and home button SEVERAL times but it does NOT work. I have plugged my Ipad into my desktop computer, but I do not have a screen on my desktop that is coming up. THIS HAPPENED BEFORE AFTER I DID AN UPDATE AND WAS LOCKED OUT AND I USED EITHER ICLOUD OR ITUNES TO RESTORE, NOT SURE WHICH AND I FORGOT HOW.

    Hi MrsMoosie,
    I'm sorry to hear you are having these issues with your iPad. If your iPad isn't responding or doesn't appear to be charging, you may find the information and troubleshooting steps outlined in the following articles helpful, in particular the following portion:
    If you don't see the charging screen within an hour, or you see the connect to power screen, check your connector, USB cable, and power adapter. Make sure that everything is plugged in firmly, free of debris, and not damaged. You might want to try a different USB cable or power adapter.
    If your iPhone, iPad, or iPod touch doesn't respond or doesn't turn on - Apple Support
    If you can’t charge your iPhone, iPad, or iPod touch - Apple Support
    Regards,
    - Brenden

Maybe you are looking for

  • Opening pdf file from form developer

    Dears: If I have a pdf file and I want to open it from form how can I open it by web.show_document developer 10g r2 os :windows xp Thaks in advance

  • Any way to split library between multiple hard drives?

    I recently purchased an Apple TV and started 'really' using iTunes for all of my music and videos. Is there a way I can keep my music on my iMac's hard drive and my videos on an external without switching libraries and still keep it (at least the vid

  • Payment Proposal with no Check

    Hello Team, Payment proposal has been ran and a particular vendor's check could not be generated even though its past due date. I am not sure what is wrong in the vendor master or any other document. I will appreciate a suggestion. Thanks in advance.

  • PP - PM Confirmation - Counter

    When PP does Confirmation I want Conter to be updated , As per my knowledge we can Create PRT equipment & Attach this to Routing & Update it I want to know is it possible to assign Standard equipment for Routing & Get this Counter to be updated regar

  • How to show "Error List" in SSMS ?

    Hi, For unknown reason, when we open the SSMS, we get "Error List" in the bottom.  There are columns like: Description / File / Line / Column in the "Error List". We just wonder how to turn it on / off ? Cheers