Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 02-06-2004, 20:26   #1 (permalink)
The Man Who Wasn't There
 
Benutzerbild von fraggle two
 
Registriert seit: Jul 2003
Ort: BÄRLIN
Beiträge: 1.156
code mac compatibel?

hi,

hab da das problem das bei folgendem code nen mac sich bei allen browsern aufhängt.

ActionScript:
  1. this._parent.createEmptyMovieClip("texta", 1);
  2. _parent.texta.createTextField("profile", 1, 15, 5, 375, 50);
  3. _parent.texta.createTextField("inhalt", 2, 15, 60, 375, 135);
  4. _parent.texta.head = new TextFormat();
  5. _parent.texta.head.font = "pix";
  6. _parent.texta.fliess = new TextFormat();
  7. _parent.texta.fliess.font = "pix";
  8. _parent.texta.profile.mouseWheelEnabled = false;
  9. _parent.texta.profile.multiline = true;
  10. _parent.texta.profile.html = true;
  11. _parent.texta.profile.condenseWhite = false;
  12. _parent.texta.profile.type = "dynamic";
  13. _parent.texta.profile.autoSize = false;
  14. _parent.texta.profile.selectable = false;
  15. _parent.texta.profile.wordWrap = true;
  16. _parent.texta.inhalt.mouseWheelEnabled = true;
  17. _parent.texta.inhalt.multiline = true;
  18. _parent.texta.inhalt.html = true;
  19. _parent.texta.inhalt.condenseWhite = false;
  20. _parent.texta.inhalt.type = "dynamic";
  21. _parent.texta.inhalt.autoSize = false;
  22. _parent.texta.inhalt.selectable = true;
  23. _parent.texta.inhalt.menu = contextMenu;
  24. _parent.texta.inhalt.wordWrap = true;
  25. _parent.texta.mytext = new LoadVars();
  26. if (!_parent.texta.mytext.loaded()) {
  27.     _parent.texta.profile.htmlText = "<font size='8' >loading content...</font>";
  28.     _parent.texta.profile.setTextFormat(_parent.texta.head);
  29.     _parent.texta.profile.embedFonts = true;
  30. }
  31. _parent.texta.mytext.onLoad = function() {
  32.     _parent.texta.profile.htmlText = "";
  33.     _parent.texta.profile.htmlText = "<font size='10' color='#65abce'>PDF-DOWNLOAD</font><font size='8' color='#000000'><br></font>";
  34.     _parent.texta.profile.setTextFormat(_parent.texta.head);
  35.     _parent.texta.profile.embedFonts = true;
  36.     _parent.texta.inhalt.htmlText = "\n";
  37.     _parent.texta.inhalt.setTextFormat(_parent.texta.head);
  38.     _parent.texta.inhalt.embedFonts = true;
  39.     for (i=1; i<=_parent.texta.mytext.num; i++) {
  40.         if (_parent.texta.mytext['pdf'+i] != "" && _parent.texta.mytext['titel'+i] != "") {
  41.             _parent.texta.inhalt.htmlText += "<font size='8' color='#000000'><img src='pdf_icon' width='15' height='16' hspace='0' vspace='0'><a href='../.."+_parent.texta.mytext['pdf'+i]+"' target='_blank'>"+_parent.texta.mytext['titel'+i]+"</a><br><br></font>";
  42.             _parent.texta.inhalt.setTextFormat(_parent.texta.head);
  43.             _parent.texta.inhalt.embedFonts = true;
  44.         }
  45.     }
  46.     if (_parent.texta.inhalt.maxscroll>_parent.texta.inhalt.scroll) {
  47.         attachMovie("scroller", "scroller1", 10);
  48.         scroller1._x = 191;
  49.         scroller1._y = 80;
  50.     }
  51. };
  52. _parent.texta.mytext.load("../../display/ausgabe.php?table=wachstum");
  53. stop();

die seite ausgabe.php liegt in einem per htaccess geschützten verzeichnis.

gruß
mike
__________________
Dot-Realities
Mike Broders
Berlin

ICQ:105925103

Dot-Realities v4.0 under construction!

Geändert von fraggle two (02-06-2004 um 20:28 Uhr)
fraggle two ist offline   Mit Zitat antworten
Alt 02-06-2004, 20:37   #2 (permalink)
asozial
 
Benutzerbild von bundi
 
Registriert seit: Jun 2001
Beiträge: 1.197
versuch mal alles mit post zu versenden.

...ansonsten, willkommen im club. mein chat läuft auch nicht auf den mac's. und ich finde den fehler bzw. bug nicht.
bundi ist offline   Mit Zitat antworten
Alt 03-06-2004, 13:22   #3 (permalink)
The Man Who Wasn't There
 
Benutzerbild von fraggle two
 
Registriert seit: Jul 2003
Ort: BÄRLIN
Beiträge: 1.156
@ bundi

an dem get oder post wird es nicht liegen da die sache ja funktioniert wenn ich die texte lade.
da ist der aufruf der selbe nur das eine andere tabelle als wert übergeben wird.

werds aber auch noch testen

aber trozdem danke .
---------------------------------------------------------

... um das prob noch ein wenig einzuengen:

es gibt zwei optionen. einmal wird mit dem obigen code nur reiner text geladen und bei der anderen option werden links zu pdf-files geladen.

wenn ich nur text lade ist alles ok.

wenn ich die pdf-links lade schmiert der browser(safari,ie,netscape) gnadenlos ab.

auf'm pc ist alles ok.

bräuchte dringend hilfe.

danke und gruß
mike
__________________
Dot-Realities
Mike Broders
Berlin

ICQ:105925103

Dot-Realities v4.0 under construction!
fraggle two ist offline   Mit Zitat antworten
Alt 04-06-2004, 08:30   #4 (permalink)
The Man Who Wasn't There
 
Benutzerbild von fraggle two
 
Registriert seit: Jul 2003
Ort: BÄRLIN
Beiträge: 1.156
guten morgen,

bin am verzweifeln...

wäre es auch möglich das die abstürze durch das verwenden von
Code:
System.useCodepage=true;
oder nicht utf8-codierte variablenübergaben
hervorgerufen werden können?

gruß und danke
mike
__________________
Dot-Realities
Mike Broders
Berlin

ICQ:105925103

Dot-Realities v4.0 under construction!
fraggle two ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an



Alle Zeitangaben in WEZ +1. Es ist jetzt 23:29 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele