Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 09-02-2006, 20:27   #1 (permalink)
inkl. 7% MwSt.
 
Registriert seit: Mar 2005
Beiträge: 139
Flash Movie 100%

Hi,
ich nutze eine Flashdatei um eine andere Flashdatei zu laden.
Die erste Flashdatei wird jetzt in HTML eingebettet und erhält die größe 100% (width=100% height=100%).

Nun hier mal mein Code:
Code:
Stage.scaleMode = "noScale";

_root.url_placement._width = _root.f_width;
_root.url_placement._height = _root.f_height;
_root.url_placement._x = 0;
_root.url_placement._y = 0;

_root.movie_container.loadMovie(_root.f_MoviePath, 0);


_root.movie_container._x = -(_root.f_width/2)+5;
_root.movie_container._y = -(_root.f_height/2)+5;
Mit dem Code passe ich die Größe meiner Flashdatei an. Ich häng die Flashdatei am besten mal mit hier an.

In HTML wird das ganze dann so eingebettet:

Code:
<object type="application/x-shockwave-flash" data="http://localhost/b5/images/flash_ad_loader.swf?f_MoviePath=http://localhost/b5/images/1139514483inter.swf
&amp;f_width=550
&amp;f_height=400
&amp;f_gotoURL=http://localhost/b5/adclick.php
&amp;f_max_click_activate=0
&amp;f_banner_url=http%3A%2F%2Flocalhost%2Fphpmyadmin%2F
&amp;f_banner_id=59
&amp;f_campaign_id=13
&amp;f_placement_id=6" width="100%" height="100%">
<param name="movie" value="http://localhost/b5/images/flash_ad_loader.swf?f_MoviePath=http://localhost/b5/images/1139514483inter.swf
&amp;f_width=550
&amp;f_height=400
&amp;f_gotoURL=http://localhost/b5/adclick.php
&amp;f_max_click_activate=0
&amp;f_banner_url=http%3A%2F%2Flocalhost%2Fphpmyadmin%2F
&amp;f_banner_id=59
&amp;f_campaign_id=13
&amp;f_placement_id=6" />
</object>
So, was ich nun eigentlich will. Ich möchte eine Flashdatei einbinden, die allerdings die Größe von 100% haben soll. Nun muss der Flashcode so angepasst werden, dass die geladene Flashdatei 100% groß ist. Nur ich bekomme es einfach nicht hin.
Könnt ihr mir da weiter helfen?
Angehängte Dateien
Dateityp: zip flash_ad_loader.zip (5,6 KB, 2x aufgerufen)
neonox ist offline   Mit Zitat antworten
Alt 09-02-2006, 22:28   #2 (permalink)
agedoubleju
Gast
 
Beiträge: n/a
Schau dir in der Flash-Hilfe mal die Infos zur Stage-Klasse an...
  Mit Zitat antworten
Alt 10-02-2006, 07:30   #3 (permalink)
inkl. 7% MwSt.
 
Registriert seit: Mar 2005
Beiträge: 139
das habe ich bereits. Problem ist dann, dass die geladene Flashdatei von ihrem zoomfaktor heruntergerechnet werden muss (jedenfalls vermute ich das). nur ich wüsste nicht, anhand welcher informationen ich es korrekt herunterrechnen müsste *mathematik lässt grüßen*
neonox 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 10:23 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele