• beyond tellerrand – play. Register Now!
Zurück   Flashforum > Flash > Flash Fortgeschritten > Flash CS4 Professional

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 26-10-2009, 21:26   #1 (permalink)
FlashFieber
 
Benutzerbild von chriswiegand
 
Registriert seit: Jan 2008
Ort: Stuttgart / Neckartenzlingen
Beiträge: 12
Exclamation Flash+XML+Bilder mit Link versehen - asfunction:link ??????

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;
Bild-MC:
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;
}
Und nen teil der XML für dieses Bild:
Code:
<image imageUrl="_pic10.png" url="asfunction:link"/>
<image imageUrl="_pic11.png" link="asfunction:link"/>
<image imageUrl="_pic12.png" link="asfunction:link"/>
Spenden per PayPal...?

Wäre froh wenn ich durch Euch ein wenig Zeit sparen könnte....

Cheers.
__________________
MacBook 2.0 Intel CD, 2 GB, iPhone 3GMySpaceProjekt2Projekt1
chriswiegand ist offline   Mit Zitat antworten
Alt 27-10-2009, 00:41   #2 (permalink)
FlashFieber
 
Benutzerbild von chriswiegand
 
Registriert seit: Jan 2008
Ort: Stuttgart / Neckartenzlingen
Beiträge: 12
Ist echt schwer....

...zu erraten, woher dieses AS ist,,,hilft mir trotzdem jemand...?

Gibt ja auch Leute, die dafür Geld dafür ausgeben....
__________________
MacBook 2.0 Intel CD, 2 GB, iPhone 3GMySpaceProjekt2Projekt1
chriswiegand ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
asfunction:link, bild, link, xml, xml link

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


Ä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


Alle Zeitangaben in WEZ +1. Es ist jetzt 06:35 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele