Works well in the preview of Flash, but not when the server!

OK my Flash animation tests and works well on I publish Preview in Flash, but when I upload it to the server it does not work as it is supposed to. is there a way to debug or trace what happens while it is running?

Details:

I have 113 tcname_1 of dynamic text-> tcname_113 field names

I have 113 buttons named button_1-> button_113

The dynamic text boxes get their data to a file named trees1.txt

I tried to change three of the text boxes to use device fonts, but has not made a difference

Here is my code AC3:

Links button: all the buttons to open in iframe "tdes.

link en button number

I have 113 buttons.

for (var i: int = 1; i < = 130; i ++) {}

{if (this ["button_" + i])}

This ["button_" + i] .addEventListener (MouseEvent.Click, f);

}

}

function f(e:MouseEvent):void {}

var n: String = e.currentTarget.name.split ("_") [1];

navigateToURL (new URLRequest("ranch.php?id="+n), "tdes");

}

end of the links button

Create the instance of URLLOader

var myLoader:URLLoader = new URLLoader()

the data will come as URL-encoded variables

myLoader.dataFormat = pouvez

Load using a URLRequest, same local beeing

myLoader.load (new URLRequest ("trees1.txt"))

listener onLoad handler

myLoader.addEventListener (Event.COMPLETE, onDataLoad)

Error handling

myLoader.addEventListener (IOErrorEvent.IO_ERROR, onIOError)

myLoader.addEventListener (SecurityErrorEvent.SECURITY_ERROR, onSecurityError)

Could be an error or a message

myLoader.addEventListener (HTTPStatusEvent.HTTP_STATUS, onHTTPStatus)

Add a listener for the complete event

function onDataLoad(evt:Event) {}

trace (evt. Target.Data.cant);

for (var i: uint = 1; i < evt.target.data.cant; i ++) {}

This ["tcname_" + i] .text = evt.target.data ["tcname_" + i]

This ["tcname_" + i] .visible = false;

This ["button_" + i] .addEventListener (MouseEvent.ROLL_OVER, buttonover);

This ["button_" + i] .addEventListener (MouseEvent.ROLL_OUT, buttonout);

trace (i);

}

}

ON working CAPITAL make the visible text field and change color

function buttonover(e:Event) {}

var tf:TextField = TextField (this ["tcname_" + e.currentTarget.name.split ("_") [1]]);

trace (tf.name);

TF. Visible = true;

tf.textColor = 0xff0000;

}

MAKE working capital change color and make invisible

function buttonout(e:Event) {}

var tf:TextField = TextField (this ["tcname_" + e.currentTarget.name.split ("_") [1]]);

tf.textColor = 0 x 000000;

TF. Visible = false;

}

reminders of the error

function onIOError(evt:IOErrorEvent) {}

trace ("IOError:" + evt.text)

}

function onHTTPStatus(evt:HTTPStatusEvent) {}

trace ("HTTPStatus:" + evt.status)

}

function onSecurityError(evt:SecurityErrorEvent) {}

trace ("SecurityError:" + evt.text)

}

again is it works fine when publish Preview in Flash, but not on the server. the text does not show the server when I hover over the buttons!

You can see that to:

www.myblueranch.com/index2.html

Do you notice something that I did wrong? is it possible to debug while on the server?

Thank you very much.

Layth

When I see her in IE8 and Firefox 3.6.8 I see text, although in Firefox the text sometimes does not appear.  But I attribute not this program does not, but even more to what appears to be insufficiently size textfields.  What you need to do is set the property to autoSize to the textfields.

I created a movieclip that contains the button and the textfield and use that instead of 113 separate instances of both.

In all cases, you should be able to get the Flash debug player so that you can see this error occur during playback in the browser (http://www.adobe.com/support/flashplayer/downloads.html).  Although you won't find may not be any errors, fair textfields that are not the big enugh to display their text.

Tags: Adobe Animate

Similar Questions

  • Forms work well in 10 of Forms Builder but not in the OAS 10 G

    Hello

    My forms work well in Forms Builder (Developer Suite 10 G), but not in the OAS 10 G release 2.

    I installed OAS 10 G release 2 on CentOS (infrastructure services + forms and reports).

    I started the application with
    http://172.19.3.200:7778/forms/frmservlet? config = asdfg

    Form of Star ok but does not run any command.

    For example, I put a simple command to trigger a TIME NEW FORM INSTANCE
    message ('ABC');


    Nothing happened and no error in the form.

    I can't check any log file?

    Please any suggestion
    Thank you

    My forms work well in Forms Builder (Developer Suite 10 G), but not in the OAS 10 G release 2.

    I installed OAS 10 G release 2 on CentOS (infrastructure services + forms & reports).

    Developer Suite is installed on a Windows computer? If Yes, then 2 questions:

    1. how to transfer your forms for CentOS?

    2. don't you recompile forms on CentOS?

  • The speaker volume in the computer sound control mixer is up and works well with the speakers, but with headphones, I can hardly hear.

    Original title: the headphone volume

    How can I activate the volume for headphones? the speaker volume in the computer sound control mixer is up and works well with the speakers, but with the headdphones that I can barely hear

    Hello
     
    1. who is the operating system installed on the computer?
    2. What is the brand and model of headphones?
    3A this works much earlier?
    4. What is the brand and model of the sound card?
    5. have you ever tried to play the Audio using different media player applications and check?
    6. have you tried to connect the headset to another computer or phone and check if it works well?
     
    I suggest you follow these methods and check.
    Method 1: Run the audio troubleshooter.
     
    Method 2: Set the earpiece/microphone as default device and check.
     
    a. right click on the volume icon in the system tray at the right corner on the desktop.
    b. Select the playback device, go to torecording tab.
    c. make a right click and headphone/microphone as the default device.
    d. click on apply and ok.
     
    If above steps fails, proceed to method 3.
     
    Method 3: I suggest to disable the improvements and check.
     
    a. right-click on the icon "speaker" at the bottom right of the screen.
    b. Select "playback devices".
    c. right-click on the helmet.
    d. Select Properties
    e. click improvements
    f. check Disable all improvements
    g. click OK
     
    You can read this article for more information:
     
    Tips for solving common audio problems

    You can also contact the manufacturer of headphones and check.
     
    I hope this helps!
  • Hi hope someone can help? I have acrobat pro, 6 have worked well for the past two years but then just stopped working. Have reinstalled but still won't open, ronning windows 7. Help please!

    Hi hope someone can help? I have acrobat pro, 6 have worked well for the past two years but then just stopped working. Have reinstalled but still won't open, ronning windows 7. Help please!  Janice

    Hey janicem42177174,

    Adobe does most support the installation and use of Acrobat 6 because it is a very old version that is not compatible with Windows 7.

    I suggest you to please use the latest version of Acrobat 11.0.10 is perfectly compatible with your operating system with its functions and improved functions.

    You can download a free trial version of 30 days of Acrobat from here:

    Download Adobe Acrobat free trial | Acrobat Professional XI

    Let me know how it goes

    Kind regards

    Ana Maria

  • I can't understand why the latter splits the live preview... but not in the browser?

    I finally got my site to the top and everything runs great... except that I can't understand why this page behaves as if it was too broad.

    http://www.johnnez.com/mainbooks.html

    He is defeated in the live preview... but not in the browser preview.

    Thanks for the tips...

    Jn

    Well, I was looking at your code for a longer period that is now in good health and the only thing I can think is to ask if you want to have two container div with a class of content?

    I don't know if it's the anser but you can try to delete one of these and then find an of the

    Tags to balance that up.

    Try just to comment on the following:

    Then put in the comment end tag and see if that helps.

    Just a thought

    Martin

  • Why an object displays in the preview, but not when published

    I added a text box with a hyperlink to another page and it shows fine in preview, but not when published - why?

    Thank you, David. I just went ahead and replaced the problem with a menu object. Problem solved.

  • Why the CC lightroom does not recognize my users folder when you try to import?  I can not imaport images in the program.  It has worked well in the past

    Why the CC lightroom does not recognize my users folder when you try to import?  I can not imaport images in the program.  It has worked well in the past

    It is an Apple problem. They obviously fixed with a change to iTunes. Download the update on their part.

    HAL

  • JavaScript works well with the date picker

    I tried onchange and onblur javascript events in the field of the HTML Form element...
    they work great with text fields... but not with the date picker...
    It seems after that date is selected, javascript is triggered, but set to get pulls the value of the field before the date chosen in the selector is placed here...

    is it possible to get the event fires with the value of dates...

    Hello

    Check your sample now.
    I have put your function setStatus page JavaScript and Execute when the Page loads

     $('#P1_DATE_FINISH').datepicker("option",{
      onClose:function(t,i){setStatus()}
     });
    
     $('#P1_DATE_START').datepicker("option",{
      onClose:function(t,i){setStatus()}
     });
    

    You can also replace this with

    $.datepicker.setDefaults({onClose:function(t,i){setStatus()}})
    

    Kind regards
    Jari

    Published by: jarola December 14, 2010 16:28

    You probably like to have event onchange in the text field, so I change to

    $('#P1_DATE_START,#P1_DATE_FINISH').datepicker("option",{
     onClose:function(t,i){setStatus()}
    }).change(function(){setStatus()});
    
  • How to apply a net of InDesign paragraph above, but not when the first column

    How to do a paragraph rule 'above' but not when it is first in a column. In other words, the rule above will work only if it is not the first paragraph of the column (even if it appears in a block of text in multiple columns).

    Before jump you the gun: rule below will not solve that, for various reasons.

    Thank you very much in advance.

    I'm not completely fluent in JS, but I think it should work:

    main();

    main() {} function

    all the stories

    for (var i = 0; i)< app.activedocument.stories.length;="">

    monarticle var = app.activeDocument.stories.item (i);

    text of history columns

    for (var j = 0; j)

    var c = myStory.textColumns.item (j);

    first line in a column

    var b1 = c.lines [0];

    first line in the first paragraph of the column

    var b2 = c.paragraphs [0] .lines [0];

    disable the rule if they are equal

    If (b1.baseline == b2.baseline) {}

    {if (c.appliedParagraphStyle.ruleAbove)}

    c.paragraphs [0] .ruleAbove = false

    }

    }

    else {}

    c.paragraphs [0] .ruleAbove = true

    }

    }

    }

    }

  • If sendAndLoad() returns correctly in the swf file, but not when they are incorporated...

    If sendAndLoad() returns correctly in the swf file, but not when they are incorporated, does this mean that I am missing something in my html code?

    I use generic Flash embed code generated from Dreamweaver.  I can post more information if necessary.

    Thank you

    Peter

    peterbrinson wrote:

    Very useful.

    Is it because my swf/html and the database are in very different places?

    Yes, they are in different domains and adobe imposes restrictions on what a swf file can do with the data from one server to another (from the swf) area.

    Are you talking about a PHP or ASP file that integrates the swf?

    lol you create an executable file on the same server that hosts your swf.  This executable can query your database and not trigger cross-domain issues.

    your swf file can send and receive data from and to this executable without triggering cross-domain issues.

  • "Sl_slider" JavaScript works perfectly in Dreamweaver, but not when uploaded to file hosting

    I use JavaScript to create a nice slideshow for my site, but the script does not work properly. Here's the situation.

    I downloaded all my files to my ftp folder and checked that they are in the right place, but my JavaScript will not work when I go to my Web site. The script works perfectly when I test it in Dreamweaver, but not when it is transferred. I use GoDaddy hosting.

    No one knows what might happen? What I have to do something special with where I put the javascript files in the ftp folder?

    Here is my site: http://wollenziehn.com/Products.html

    Thanks for the research!

    Seems to be some problems of case with the file names of your image.

    for example, the code for images pointing to

    images/Image2.png"alt ="image of the tester"/ >

    but the picture is

    http://wollenziehn.com/images/Image2.PNG (with a lower-case i to image2.png)

    On a Linux server, where you are staying, Image2.png and image2.png are completely different files.

    Code should read

    images/image2.png"alt ="image of the tester"/ >

  • audio source, but not when you drag on the timeline

    Hello

    I was just change some videos taken with a digital SLR, and the audio is in the source, but not when you're dragging to the timeline?

    I see there is an option to select drag video or audio only, but I can't select audio...

    No help with tis please...?

    Kind regards

    Sabine

    http://forums.Adobe.com/thread/1374590?TSTART=0

  • I want to have a form of lead pop up when a user clicks on an ad on Facebook, Google, etc, but not when a user organically finds my site. I have to create a whole new separate landing page?

    I want to have a form of lead pop up when a user clicks on an ad on Facebook, Google, etc, but not when a user organically finds my site. I have to create a whole new separate landing page?

    "Great sites" with additional technologies can easily intercept incoming requests to a certain page, with all sorts of additional information in the URL (from the related announcement, like this: http://typekit.com/fonts?locale=nl-NL&ref=globalnav&promoid=KRUVR ) and whisk a popup, refer to a different page or activate another script or process of deciding what must happen. But Muse creates a 'static' website with the URL of the page simple, without special scripts or ruffles or processes to decode an additional URL to a query.

    Creating a page of special destination somewhere elsewhere in the Web site to refer to, may be the simplest solution.

  • GREP directory which is in brackets, but not when it is in brackets

    I'm trying to find a GREP that will help me to find content that is in parentheses, but not when it is contained in square brackets.

    For example:

    He would find: (John 02:22) but not (John 02:22 [this is a test])

    And It would be: (2 Peter 02:22) but not (2 Peter 02:22 [12 times])


    Thank you.

    \([^[\]]+?\)

  • Edge animation works in the the edge browser preview and muse, but not in chrome when published

    I have an animation of edge that has worked well in Chrome, Safari, and IE.

    The last time that I published my Muse (British Colombia) site again (since CC2014 update) it is more worked in Chrome!

    Preview in browser (Chrome) edge publish works, seen in the browser (Chrome), works of Muse, and it does not work in Chrome (but not in Safari and IE).

    Have been trawling of the possibilities but I'm not that cranky web! Any help would be appreciated

    I do not remember precisely what fixed at all as I had done all of the following conditions:

    1. Muse and Edge and pref.
    2. Edge and update Muse
    3. cache trashed in Chrome
    4. copied the contents of the Edge project / step into a new project and saved as version cc2014
    5. republished on the entire site of Muse

    After many attempts he began working again, but I can't say that it was one thing in particular - sorry about that.

Maybe you are looking for

  • Satellite A200 - 1 M 5 - can I repalce the graphics card?

    Hello I have a Toshiba A200 - 1 M (5) map Vedio: Mobile Intel(r) 945 Express Chipset Family I can replace it with ATI or Nvidia cards If I can, how?

  • Dead pixel on T440s with HD + IPS display

    Hello Lenovo Community Recently, I got my first computer laptop lenovo, the T440s. The overall quality of the casting is excellent and the performance is optimal. However, I realized that there is a dead on the screen pixel. I'm stilI in twenty-one-d

  • Computer college touched by Nava Shield virus.

    OT: Computer College hit by the virus. One of the College computers installed a fake antivirus known as Nava Shield. Oops... Payload: Microsoft Sam saying "* you.» Wicked laughter every 2 seconds. Sites porn coming every 2 minutes. Alarm screams ever

  • ERR-7620 could determine no workspace for the application (4950), ORA-01403: no data found

    Hi, I am trying to upgrade XE APEX 4-5 with this tutorialhttps://docs.Oracle.com/CD/E59726_01/install.50/e39144/oracle_xe.htm#HTMIG29430Everything was fine, no errors, but after upgrade, I can't run apex over and get this err message.Laptop with MS 8

  • Related to behavior but not

    Hello! I'm in big trouble. I made a few OBJECT and animate it. Then I copied and paste. But when I change something in a single object that made my all objects as the same. But there aren't any "parent". So why when I change 1 object, each object is