Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 11-05-2009, 15:30   #1 (permalink)
Neuer User
 
Registriert seit: Mar 2003
Beiträge: 158
bitmapData dynamischen MC duplizieren

Hallo Leute,

ich find hier grad den Fehler nicht, der duplizierte MC (tempObj) ist zwar breit wie der erste, aber nicht sichtbar, oder eben leer, ich weiß nicht. mc_test zeigt den Inhalte aber an.

Code:
// Ersten duplizieren für hinten dran

import flash.display.BitmapData;
import flash.geom.*;
x_hinten=_root["logos_mov_"+begin_logo]._x+_root["logos_mov_"+begin_logo]._width;

begin_logo+=10;

tempObj=_root["logos_mov_0"].duplicateMovieClip("logos_mov_"+begin_logo,50+begin_logo);
tempObj._x=0;
tempObj._y=0;
bitmap=new BitmapData(_root["logos_mov_0"]._width,_root["logos_mov_0"]._height,true,0x00FFFFFF);
bitmap.draw(_root["logos_mov_0"]);
_root["logos_mov_"+begin_logo].attachBitmap(bitmap,1);
//mc_test.attachBitmap(bitmap,1);
tempObj.bezugsMov=_root["logos_mov_"+(begin_logo-10)];

tempObj.cacheAsBitmap=true;
tempObj._visible=true;
Danke für jeden Hinweis.

Gruß
Michel
Lengen1971 ist offline   Mit Zitat antworten
Alt 13-05-2009, 10:44   #2 (permalink)
Neuer User
 
Registriert seit: Mar 2003
Beiträge: 158
gelöst

Hi,

war meine Schuld, die MCs im MC waren noch übereinander und noch nicht mit Abstand ausgerichtet.

Geht...

Gruß
Michael
Lengen1971 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 21:11 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele