| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| FlashFieber Registriert seit: Jan 2008 Ort: Stuttgart / Neckartenzlingen
Beiträge: 12
|
Hallo Ihr Lieben...ich hab ma wieder ein Problem: Und zwar habe ich eine leckere .fla, die mit Daten aus einer xml gefüttert wird. So auch die Bilder, die in MCs geladen werden, jede Seite verschiedene Bilder. Diese werden auch wunderschön angezeigt, allerdings versuche ich schon seit STUNDEN, diese mit Links zu versehen, um "readmores" anzuzeigen. Ich poste einfach mal ganz frech den ersten Frame, das AS des Bilder MCs, und nen Teil der XML (wenn´s recht is´ )1. Frame: Code: load0._visible = 0;
Stage.align = "TL";
Stage.scaleMode = "noScale";
load0._x = int(Stage.width / 2) + 0;
load0._y = int(Stage.height / 2) + 0;
sizeListener = new Object();
sizeListener.onResize = function ()
{
load0._x = int(Stage.width / 2) + 0;
load0._y = int(Stage.height / 2) + 0;
_root.scroller._x = int(Stage.width / 2) + 2.000000E-001;
_root.scroller._y = int(Stage.height / 2) + 7.000000E-001;
if (Stage.height / Stage.width < picHeight)
{
ch_photos_mov._width = Stage.width;
ch_photos_mov._height = _root.picHeight * ch_photos_mov._width;
}
else
{
ch_photos_mov._height = Stage.height;
ch_photos_mov._width = _root.picWidth * ch_photos_mov._height;
} // end else if
_root.op._width = Stage.width;
_root.op._height = Stage.height;
_root.bg_st._width = Stage.width;
_root.bg_st._y = Stage.height - _root.bg_st.bg._height;
content_._x = int(Stage.width / 2) + 0;
content_._y = int(Stage.height / 2) - 48;
title_mc._x = int(Stage.width / 2) + 0;
title_mc._y = Stage.height - _root.title_mc._height + 135;
part_._x = int(Stage.width / 2) + 0;
part_._y = Stage.height - _root.title_mc._height + 30;
copyright_._x = Math.round(Stage.width / 2 + 0);
copyright_._y = Math.round(Stage.height - _root.title_mc._height + 235);
_root.priv_mov_st._y = Stage.height - _root.priv_mov_st._height + 37;
_root.full_scr_mov._y = Stage.height - _root.full_scr_mov._height;
_root.full_scr_mov._x = Stage.width - _root.full_scr_mov._width;
};
Stage.addListener(sizeListener);
function onFinish(success_boolean, results_obj, xml)
{
if (success_boolean)
{
play ();
} // end if
} // End of the function
Stage.align = "TL";
Stage.scaleMode = "noScale";
url = "23483";
_root.cacheKiller = "true";
stop ();
var parsed_obj = {};
var unCash = new Date().getTime();
if (_root.cacheKiller == "true")
{
fileToLoad = url + "_main.xml?cacheKiller=" + unCash;
fileToLoad = url + "_main.xml";
}
else
{
fileToLoad = url + "_main.xml";
} // end else if
gs.dataTransfer.XMLParser.load(fileToLoad, onFinish, parsed_obj);
_root.emp.useHandCursor = 0;
_root.mus = 1;
_root.n = 1;
_root.num = 1; Code: onClipEvent (load)
{
imageProperties = _root.getCurrentImageName(0);
loadMovie(_root.url + imageProperties.name, this.cont.pic);
loadMovie(_root.url + imageProperties.name, this.cont.pic1);
url = imageProperties.linkToOpen;
targetWindow = imageProperties.target;
} Code: <image imageUrl="_pic10.png" url="asfunction:link"/> <image imageUrl="_pic11.png" link="asfunction:link"/> <image imageUrl="_pic12.png" link="asfunction:link"/> ![]() Wäre froh wenn ich durch Euch ein wenig Zeit sparen könnte.... Cheers. |
| | |
![]() |
| Lesezeichen |
| Stichworte |
| asfunction:link, bild, link, xml, xml link |
| Themen-Optionen | |
| Ansicht | |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| MC, in die bilder geladen werden, mit link versehen | slashdot | ActionScript 1 | 14 | 12-10-2004 10:36 |
| asfunction link | osoful | ActionScript 1 | 6 | 30-03-2004 21:54 |
| Flash einbinden und mit link versehen - WIE? | nightchase | HTML und CSS | 17 | 09-03-2004 11:53 |
| button mit link versehen, wie????? | olbman | Flash 4 und Flash 5 | 1 | 20-02-2002 15:24 |
| Flash Button mit einem Link versehen | Souli | Flash 4 und Flash 5 | 2 | 03-09-2001 20:01 |