Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Links Not Showing Up In Loaded Scrollpane Content



Hi,

I'm loading an external swf into a scrollpane component (not the FUI one, but the one from GhostWire), with multiple mcs loading external jpgs. The mcs loading jpgs have a getURL('www.somepage.com') on them, and they link fine when I test the external content page. *But*, once I load the latter into the scrollpane, the links disappear...

What could be causing this? Anybody ever experience that? I'm putting everything at different depths, so that there's nothing blocking the links...

any help would be greatly appreciated... this bug is keeping me from delivering something that is quite late

3rdw0rld3r



FlashKit > Flash Help > Flash MX
Posted on: 09-18-2003, 05:47 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Scrollpane With Dynamically Added MCs Not Showing All Content
I'm adding movieclips into a scrollpane. I'm tiling them vertically, so that you can scroll up and down to view more of them. It all works until I add a lot of clips, and then it doesn't scroll all the way down. Any ideas why it would do this and how to fix it? Thanks.

Dave

Scrollpane Scroller Showing Content At Bottom
I found this thread with an fla to load dynamic clips into a scrollpane.
http://www.kirupa.com/forum/showthread.php?t=240285
Thing is, I can't figure out how to get the scrollbar to show the bottom most content so you don't have to keep scrolling down to see what was added last.
Thanks in advance!

Scrollpane With Dynamically Added MCs Not Showing All Content
I'm adding movieclips into a scrollpane. I'm tiling them vertically, so that you can scroll up and down to view more of them. It all works until I add a lot of clips, and then it doesn't scroll all the way down. Any ideas why it would do this and how to fix it? Thanks.

Dave

Preloader Is Showing Up After Content Is Loaded?
Hey guys and gals, I'm having a problem that I have never encountered before.
My site loads before the preloader. So, the site is blank blank blank blank during loading then preloader flashes once the loading is complete and then it goes to the second frame. I have nothing but the preloader in the first frame.

I thought it had something to do with a font I have in the library so I removed it from the library and got the same result.
Could it be that in the second frame I have a couple mc's with alpha set to 0?
I'm also importing :
import com.mosesSupposes.fuse.*;
ZigoEngine.simpleSetup(Shortcuts,PennerEasing,Fuse,FuseFMP);
but not until the second frame.

http://www.thesupermarket.us/rp/

Scrollpane - Loaded Movies' Links Gone
Hi...

I'm using a scrollpane to load an external swf which in turn loads multiple jpgs. It's working pretty well, but these jpgs are supposed to be linking to external web pages, which they do if I load the external movie by itself, but once loaded inside the scrollpane they don't:

final movie

http://www.oliverbarnes.com/cameo/al...cameoType=baby

external content swf (it loads both horizontal or vertical, here it shows up horizontal, not an issue):

http://www.oliverbarnes.com/cameo/co...cameoType=baby

I was careful to load everything on separate z-indexes, with the loaded jpegs on top...

any ideas why this is happening?

thanks in advance,
3rdw0rld3

Scrollpane Content Is Being Loaded Misaligned
I am loading swf's into a scrollpane, but they are loading out of alignment within it. They are loading 25 or 30 pixels too far to the left (but inside the scrollpane). I have tried all sorts of things and can't get it to load with the top left corner of the SWF aligning with the top left corner of the scrollpane. Still searching for a solution. Any suggestions anyone?

I tried declaring a variable like this:

var content = contentpane.getScrollContent();
content._x=0;

but to no effect.

It's an annoying glitch, help!
-shaded

Recordset, Links To Flash Movies With Dynamically Loaded Content
I am building an inventory page. The item name and image name will come from a database, and this will serve as a link to the product detail page. I have retrieved the info from an asp page and loaded them into flash no problem. The question is this:

How do you loop through the items in a "recordset", displaying each row in a clip or other object that can act as a button that links to another clip. The number of items will be changing day to day so I never know how many until polling the database.

Swapping Scrollpane Content With Button Outside Scrollpane
Hi,

I'm terribly new to flash which is probably why I couldn't solve this with any tutorial out there.

I've got a scrollpane, and outside that I have a few buttons working as a nav bar. I want these buttons to load a different movieclip (which isn't in the stage, it's in the library) to the scrollpane.

Using the tutorial on this site (the one where you add or remove a blue movieclip to the scrollpane) I got as far as adding the movieclip to the scrollpane. Problem is, I need the buttons to unload the current movieclip before loading the new one.

(So for example, if the movieclip called "home" is loaded in the scrollpane and I click on the button "Patterns & Textures" I want that button to unload "home" from the scrollpane and load the movieclip "patterns")

My code so far looks like this:



Code:
scrollPane.setStyle("borderStyle", "none");

var i:Number=0;
var mcMain:MovieClip;
function init() {

scrollPane.contentPath = "home";
mcMain = scrollPane.content;
trace(mcMain);

}
init();

brushes_btn.onRelease = function() {

mcMain.attachMovie("brushes", "brushes"+i, mcMain.getNextHighestDepth(), {_y:50*i+5, _x:5});
i++;
scrollPane.invalidate();

};
Taken from the tutorial.

I'm pretty sure I don't need the + i part because I won't have more than one mc in the scrollpane at once, but I don't know how to remove it without screwing it up.

I'd greatly appreciate any help!

Scrollpane Content Not Limited To Scrollpane
I am using the scrollpane component in flash mx. I have content loaded into the scrollpane via actionscript. The content loads up, but the scrollbars scroll it past the edges of the scrollpane. The content then overlaps the rest of my movie(outside the scrollpane. How can I fix this? shouldn't there be a mask there? thanks for your help, garrett

Scale Scrollpane Content Not Scrollpane
Friday arvo, fantastic.

Any way I can scale a externally loaded clip sitting in a scrollpane.

I can scale the scrollpane no probs using a slider but I want the scrollpane to be static and the swf inside the scrollpane to scale.

cheers in advance.

H

Postioning Content In Scrollpane Without Using Scrollpane
Hi guys.
Not sure if this is possible. i had a look through the help files but had no luck I have 2 questions so here goes.
i am using V2 components in particular the scrollbar component.
I am attaching an mc to the scrollbar the mc contains several lines of text.
Is it possible to use a button elsewhere in the movie to set the postion of the mc in the scrollpane. Essentially moving the content up or done without using the scroll pane buttons or track bar?
How on earth do i change the colour of the scrollbar track button?

thanks
Paul

Scale Scrollpane Content Not Scrollpane
Friday arvo, fantastic.

Any way I can scale a externally loaded clip sitting in a scrollpane.

I can scale the scrollpane no probs using a slider but I want the scrollpane to be static and the swf inside the scrollpane to scale.

cheers in advance.

H

Scrollpane Not Showing Everything
Ok I am quite new to flash and I probably have this stupidious easy to solve problem.

I got this scrollPane showing static text which is
converted to a movieclip. Got it linked via the linkage ID as it supposed to. Everything works fine, exept for the part when I scroll down.
The scrollPane doesn't scroll down to the bottom of my movieclip.

O btw, I am using MX 2004 Pro.

Any help would be apreciated.

Thanks in advance.

ScrollPane Not Showing On Server...
when I view my movie local the scrollPane shows up, however, when I move everything over to the server, I no longer see the scrollPane, any thoughts?
Flash2004

Images In Scrollpane Not Showing Up
It appears that in a flash file that contains only a scrollpane with a contentpath = "20.jpg"  the image shows up.  However, in a more complex file (Pageflip file), the top most layer is a scrollpane and the contentpath is the same (20.jpg) as the other file, but this time the image does not show up.  Both flash files are in the same directory and so should be pointing to the same image.  The pageflip file is opensource, and I don't know a lot of what goes on in a lot of the code, but would anyone know any possible reasons why it would the image would display in one flash file, but not in the other?

Thanks.

Scrollpane Movie Clip Not Showing Up
Hi all,

I'm pretty new to CS3 and ActionScript. This is my first time using the ScrollPane feature. I was very excited that i was actually able to make it work right, until when I loaded it up the FTP server and check it online, the movie clip that the ScrollPane is supposed to call up doesn't ever show up.

I'm at a loss. I don't know ActionScript very well so I really don't know what to do now.

here is the link: http://www.taggartsiegel.com/html/bio.html

It should play this movie clip that I loaded in the same Flash file as the Flash movie here: http://www.taggartsiegel.com/flash/biotext.swf.

While I'm at it, does anyone know how to get rid of the border around the ScrollPane?

Thanks so much!

Zoe

[F8/AS2] ScrollPane Scrollbars Not Showing In IE. WHYYYYY
Argh! ScrollPane is a Pain! Been working on this for 2 weeks! HELP!!

In a container movie, I have loaded an swf that contains a scrollPane which in turn loads an external swf.

In Firefox, it works like a charm. In IE, the scroll bars do not appear!

Here is the code I am using in the swf that contains the scrollPane:

var scrollContent:mx.containers.ScrollPane;
scrollContent.contentPath ="ABSOLUTE_LINK_TO_MY.SWF";
scrollContent.setStyle("themeColor","haloBlue");
scrollContent.setSize(248,375);
scrollContent.border_mc._height = 0;
scrollContent.border_mc._width = 0;

scrollContent.hScrollPolicy="auto";
scrollContent.vScrollPolicy="auto";
scrollContent.refreshPane();


The live example is here. Click on Programs then Purple Scarf Project:
http://www.becausecuidamos.com/newsite/index.htm

On the Internet, I've seen tons of posts about this problem. But no matter where I look, no one posts a solution. Can anyone here help? PLEASE!!!!

Thank you

Scrollpane Not Showing Vscrollbar & HScrollbar
I am trying to attach my dynamic moviclips to a scrollpane. But this code does not work properly.
It does not showing vertical scrollbars and horizonatl scrollbars for the scrollpane.
----------------------------------------------------------------------------------------------------
Here is the link http://www.websight.co.in/scrollpane/
---------------------------------------------------------------------------------------------------
Here is the code.
-----------------------
imageWidth = 300;
imageHeight = 100;
totalimages = 6;

var yinc = 10;
var xinc = 0;

for (i=0; i<= totalimages; i++){
if(i==3)
{
xinc = 0;
yinc = yinc + imageHeight;
}

scrollpane = myScrollpane.createEmptyMovieClip("imageHolder"+i, i*5+60, 40, 40*i, 40, 40);
scrollpane.loadMovie("image1.jpg");
myScrollpane["imageHolder"+i]._x= imageWidth * xinc;
myScrollpane["imageHolder"+i]._y= yinc;


xinc++;

ScrollPane Showing On MAC But Not On Windows Firefox ?
in a version 9 fla, i am using a fl.containers.ScrollPane, that works prefectly when viewed on Mac (both firefox and safari), it also look ok on Windows in IE7

http://www.bowa.be/vault/scrollpaneMAC.png

thats how its supposed to look like ...

but on Firefox on windows it shows up like this ??? ... anyone has any idea whas might be wrong ?

http://www.bowa.be/vault/scrollpaneWIN.png

thanks for your help

ScrollPain (Scrollpane) Not Showing Scroll Bars...
Hi all... I've been doing some free flash/actionscript programming... and I've run in some deep trouble when using the Adobe Flash ScrollPane...

Here's the idea:
I have several .swf's called item###.swf I want to generate a MovieClip with some of this swf's loaded on it...and... load this MovieClip into a ScrollPane (since we don't know if the load of swf will fit in the screen).

Since it's a "medium" project... I'm using scripts not in the .fla.
So I wrote my Mock.as with a Mock class in it... and I wrote the
swfInMovieClip method it looks something like:

ActionScript Code:
imports ...

 public class Mock {
         //constructor

        public function swfInMovieClip(items:Array):MovieClip{

              var mc:MovieClip = new MovieClip();
              var item:String = "";
              for(item in items){
                       var loader:Loader = new Loader();
                       loader.load(new URLRequest(item+".swf"));
                      /*Loading stuff for the item###.swf's*/
                      /*The loader used gets a eventListener for event.Complete
                         and gets its coordinates and size*/

                      mc.addChild(loader);
                 
              }

           return mc;

        }


 }

In my .fla file I have all the graphic stuff and design ... and i have a ScrollPane...with instance name aScrollPaneInstance;

so... in my first frame i write this script.

ActionScript Code:
stop();
import Mock.as
var mock:Mock = new Mock();
this.aScrollPaneInstance.source = mock.swfInMovieClip(new Array("item001", "item002", "item003");
this.aScrollPane.verticalScrollPolicy = "auto";

/*End of script*/

So I Run it and... it loads good but the scroll bar wont appear... if i use
this.aScrollPane.verticalScrollPolicy="on", it will show the scroll bar but... as if it wasn't able to scroll...not an active scroll bar...

I've read and read API and forums and examples but none seem to fit my problem... any suggestions will be thanked...(A LOT!!)

RSS Feed, Links Not Showing Up
Question. How do I get links to show up in Lee's RSS Reader? Here's my xml

Code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">

<channel>
  <title>W3Schools Home Page</title>
  <link>http://www.w3schools.com</link>
  <description>Free web building tutorials</description>
  <item>
    <title>RSS Tutorial</title>
    <link>http://www.w3schools.com/rss</link>
    <description>I am fat</description>
  </item>
  <item>
    <title>XML Tutorial</title>
    <link>http://www.w3schools.com/xml</link>
    <description>New XML tutorial on W3Schools</description>
  </item>
</channel>

</rss>

And here's my Flash code just like Lee showed

Code:

var loader:URLLoader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onLoaded);
lb.removeAll();

lb.addEventListener(Event.CHANGE, itemChange);

function itemChange(e:Event):void
{
   ta.text = lb.selectedItem.data;
}

var xml:XML;

function onLoaded(e:Event):void
{
   xml = new XML(e.target.data);
   var il:XMLList = xml.channel.item;
   for(var i:uint=0;i<il.length();i++)
   {
      lb.addItem({data:il.description.text()[i],
               label:il.title.text()[i]});
      
   }
}

loader.load(new URLRequest("http://localhost/rss5.xml"));


So here's what happens. The things inside the description tag show up fine, same with the title tag. But the things in the link tag don't show up. So how would I make it so the link tag also shows up in the lb box we made in flash? Any help would be extremely appreciated. Thanks.

AS3 Loader.content Access To Partially Loaded Content
I have a main swf that loads an external swf. The external swf is a fairly large video embeded on the timeline.

Ive got my Loader all setup correctly, handling PROGRESS, COMPLETE and INIT events all fine.

What id like to do (which i could do in AS2 very easily) is start the playing and accessing variables in the loaded swf before it finishes loading. If i do these things when the video swf is loaded completely, everything works fine.

Any attempt to access Loader.content or the container clip ive placed Loader.content in, BEFORE its finished loading (when it reachs, lets say, 20%), i get error:

#2099 The loading object is not sufficiently loaded to provide this information.

Anyone have any ideas on how it could be possible to start messing with loaded SWF content before all of its frames are loaded? Thanks in advance for lookin over my post!!

Links On One Movie Clip Are Showing On Another...HELP PLS...
I have several mc's which are controlled with actionscript (no done by me since I am a newbie and I am just exprimenting with someone's .fla) and the links which are on one mc are also showing on another - not actually the text but the hand cursor when moved over the same spot of another mc. And I cand get over this since i need to hav links on all the mc's.

Any help would be most appreciated...

Thnks

Pointer Hand Not Showing Up On Links (Mac)
Does anyone any idea why the pointer hand is not showing up when hovering links on a Mac? Some of the links are in external txt files formatted in html. I’m not sure exactly which links are having problems because I don’t have access to a Mac for testing. Any Ideas?



http://www.labelx.us



Thanks

Scotti

Pointer Hand Not Showing Up On Links (Mac)
Does anyone any idea why the pointer hand is not showing up when hovering links on a Mac? Some of the links are in external txt files formatted in html. I’m not sure exactly which links are having problems because I don’t have access to a Mac for testing. Any Ideas?



http://www.labelx.us



Thanks

Scotti

Links In Flash Not Showing Up As Referrals
I have a site in Flash which has a number of links to other sites. I know these links have been followed, but on the Urchin tracking for the other sites, the referrals do not show up.

Is this because the links, in some cases, are in loadMovies levels 2 or 3?

Is there any way around this, or has anyone every come across a solution for this? I've thought about having them link first to a javascript re-direct, but not sure this is a good idea for the search engines.

Thanks!

Window Component Not Showing Content
MX 2004 Window Component works great when I test movie within Flash. However, When I load the movie containing the window component, nothing happens.

What I have is an index file where the user makes their selection from. The button they click then loads a .swf file that contains the window compenent.

Here is my window component code that is on a frame action

buttonListener = new Object();
buttonListener.click = function() {
myWindow = mx.managers.PopUpManager.createPopUp(_root, mx.containers.Window, true, {closeButton:true, title:"Brook Run Floor Plans", contentPath:"/plans/Americana/Americana_Floorplans.jpg"});
myWindow.setSize(700, 400);
windowListener = new Object();
windowListener.click = function(evt) {
_root.myWindow.deletePopUp();
};
myWindow.addEventListener("click", windowListener);
};
button1.addEventListener("click", buttonListener);


Thanks in advance for any help. I have tried changing the _root to this and that makes Flash crash. Also tried _parent and level0.

Not Showing Active Content Because Its Flash
Hi all,
happy new year!!!i have a problem but i am not sure if it is because of flash or my pc.. i am building a page that have flash content, when i open the page,this message pops up To help protect security internet have protect this file from showing active content..., i know, in order to view it i need to allow blocked content, but is there any ways when i open this page on any pc it opens up without this security message?

Showing Array Content In Sequence?
I would like to pick every element of my array and fade it in in sequence when my movie begins.
i know i have to use setInterval and loops, but in my million trials i couldn't figure it out.
here's the code (i know it's missing a lot..),
i would appreciate any suggestion,
thanks!


ActionScript Code:
var pics:Array = [a1, a2, a3, b1, b2, b3, c1, c2, c3];
//
//
function doAppear() {
    for (var i = -1; ++i<pics.length; ) {
        this._alpha += 1;
    }
}
function init() {
    for (var img in pics) {
        pics[img]._alpha = 0;
        pics[img].onEnterFrame = doAppear;
    }
    var interval = 10000;
    var id = setInterval(fadePics, interval);
}
init();
//

Showing Content And Transition Problem
eeh, i'm sorry, i'm in another problem that i don't understand and don't see what it, i suppose it's something with targeting (again ! )
You can see the problem at http://www.artefakt.be/sepstigo/testtransition.html
Click on PRODUCTIONS --> Fictions --> des gens assis .. (first one) : in the box that appears on the right the content doesn't show up except the title and it's the same for all the movies but when i test these single movies i can see the content.
I have put the files
here :
there are 4 file : - testtransition.fla : the main
- soumenufil.fla : submenu
- menufict : sub sub menu
- gens.fla : one of the movie that won't work
I don't know if all these files are useful to you but if you could look that would safe my nights to come !!

Thanks!!
Ubik

Ps : oh and yes ! ther's also a little bug with the scrollbar after clicking on a movie in one of the submenu and click on facilites the scrollbar is messing !!

Showing Content And Transition Problem
eeh, i'm sorry, i'm in another problem that i don't understand and don't see what it, i suppose it's something with targeting (again ! )
You can see the problem at http://www.artefakt.be/sepstigo/testtransition.html
Click on PRODUCTIONS --> Fictions --> des gens assis .. (first one) : in the box that appears on the right the content doesn't show up except the title and it's the same for all the movies but when i test these single movies i can see the content.
I have put the files
here :
there are 4 file : - testtransition.fla : the main
- soumenufil.fla : submenu
- menufict : sub sub menu
- gens.fla : one of the movie that won't work
I don't know if all these files are useful to you but if you could look that would safe my nights to come !!

Thanks!!
Ubik

Ps : oh and yes ! ther's also a little bug with the scrollbar after clicking on a movie in one of the submenu and click on facilites the scrollbar is messing !!

[CS3] Links Not Working, And Text Not Showing Up ARGH
Hello.
Follow the link below to see my dilemma.
You will notice in the FLA file, everything is ok...but in the SWF...its errors galore!

HELP!

Thanks heaps
http://one.xthost.info/goodridge/products.fla

EDIT: Just realised that the links are working now. I had a type. But the plain text is still not showing up!

Down State For Buttons Showing Active Links
hi there folks!
i'm trying to get my buttons to stay in a "down state" for the current page so the view knows which section of the site he's in. i've seen this done using an _alpha command in which you just dim the button for the active link. is there a way to do it without using alpha so you can use a different color or something?

the reason i ask is because i'm going from gray buttons to orange buttons which show the "down" state and i'd like the buttons to stay orange for each section and then turn back to gray when the viewer moves on.

i'm using MC/buttons for it right now and it works, but i'm having troubles getting my MC/buttons to load anything else.

your help will be much appreciated!

goby

Down State For Buttons Showing Active Links
hi there folks!
i'm trying to get my buttons to stay in a "down state" for the current page so the view knows which section of the site he's in. i've seen this done using an _alpha command in which you just dim the button for the active link. is there a way to do it without using alpha so you can use a different color or something?

the reason i ask is because i'm going from gray buttons to orange buttons which show the "down" state and i'd like the buttons to stay orange for each section and then turn back to gray when the viewer moves on.

i'm using MC/buttons for it right now and it works, but i'm having troubles getting my MC/buttons to load anything else.

your help will be much appreciated!

goby

Showing The Form Content In A Text File
Hello!

I have a little idea about flash action script.
I have created a form in Flash. Now what I want is that if a user submits the form the form's content will be saved in a text file with .txt format. Can you help?

Thanks
Salim

Showing XML Content On A Dynamic Text Field
Hi there, i´m trying to read an xml file content and display it on a flash dynamic text field i take the AS code from a tutorial on the web, but it´s not working, i didn´t receive any errors on it it´s just shows the empty text field. Can anyone help me out with this?


PHP Code:



//Declara la variable "obj_xml" como un objeto XML
function  loadXML(loaded)  {

if (loaded) {

inventor = this.firstChild.childNodes[0].childNodes[0].firstChild;
mostrador_txt.text = inventor;
} else {
  trace("file not loaded!");

}

}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("datos.xml"); 




And this is the xml file:

PHP Code:



<?xml version="1.0" encoding="iso-8859-1"?>
<!--<!DOCTYPE note SYSTEM "note.dtd">-->
<siteconastec>
    <principal>El alcance de este asesoramiento abarca el brokerage de sociedades, los comodities, la consultoría general en materia de finanzas, y el servicio de soporte y asesoría operativa.</principal>
    <integrantes>
    </integrantes>
    <clientes>
    </clientes>
    <servicios>
    </servicios>
</siteconastec>



I only want to show the existing text.

Thanks
Juan

Showing And Hiding A Scrollbar If There Is No Content To Scroll?
Can anyone point me in the right direction?

I have a text box on the main stage "desc_txt".

Then I have a movieclip "scroll" on the main stage that scrolls the "desc_txt" dynamic text field.

How can I say, if no content, don't show "scroll". Or, if there is content, show "scroll"?

Thanks in advance and please someone try to help!! I'm no star actionscripter so any advice is good advice.

Showing Content In Limited Area Ideas?
I have a page that I'm trying to do with limited Flash experience where the content is all going to be on a small board. Basically it's like an artists's canvas and every page will show up on that.

I just have a question about the best way to display it there. Do people have some ideas about this? I would even get a component if there was one out there for this kind of thing, but I'm just interested in what others think.

Does anyone have any favorites about an effect to keep all the content in one area instead of seperate pages (hopefully there are some tutorials and documentation)?

Thanks.

Showing The Content Of An Area In Another Part Of The Stage
Somehow it seems to be possible to have 2 areas showing the exactly same thing, whatever that is.

In this Flash-based game:
http://www.towerdefence.net/games-10..._Element_2.php

There is a spot marked "FETV", this FETV changes to the surrounding graphics of an enemy or tower when such is selected.
How has this been implemented?

Add Content To Scrollpane
Is it possible to add content into a scrollpane (the component) with ActionScript?

Scrollpane Set Content ?
Is there a command to set the content of Scrollpane by Actionscript, and also how to detect when it loads completely. I'm having problems with it spilling out the content over its borders. I saw an idea to load the file in a Loader component wait for it to finish loading then load it into Scrollpane but don't know how to set the content in actionscript.

ScrollPane Content
Hi i am trying to take data that i recieve from a database and put
that data into a scroll pane. I can recieve the data fine and put it
on the page, but how can i add this to a scrollpane? here is my code
to get the data on the page.

function getShirts_Result(rs){
cant = rs.result.length //how many rows are in our recordset?
for(var i=0; i<cant; i++){
//Dinamyc put base on stage and fetch data to it
attachMovie("base", "base"+i, i, {_x:(300*(i%2))+250,_y:
425+(350*int(i/2))})
this["base"+i].ShirtName_txt.text =
rs.result.getItemAt(i).Name
this["base"+i].ShirtPrice_txt.text =
rs.result.getItemAt(i).Price


this["base"+i].ShirtPicture_ld.loadMovie(rs.result.getItemAt(i).Picture1)
}



}


ok so you can probably tell, but the movie clip base needs to be
loaded into the scrollpane and then the two text blocks and the loader
need to recieve the data from the db .

thanks for any help i have been trying to work this out, but nothing
shows up inside the scrollpane.

Scrollpane Content
i have a movie clip with a scrollPane name "scrollPane1"

after loading a movie clip "my_mc" into the scrollpane using the method scrollPane1.contentPath="my_mc" i want to add certain onclick and onrollover events to the components of the "my_mc" movie clip it is all being done on the fly and loads from dynamic set of data...can some one tell me some way by which i can access a button name "button1 " which is inside the movie clip "my_mc" which is placed in the scrollPane "scrollPane1"....


Hope this thing has a work around and some one knows it.....Hoping for a reply soon

Scrollpane Content
i have a movie clip with a scrollPane name "scrollPane1"

after loading a movie clip "my_mc" into the scrollpane using the method scrollPane1.contentPath="my_mc" i want to add certain onclick and onrollover events to the components of the "my_mc" movie clip it is all being done on the fly and loads from dynamic set of data...can some one tell me some way by which i can access a button name "button1 " which is inside the movie clip "my_mc" which is placed in the scrollPane "scrollPane1"....


Hope this thing has a work around and some one knows it.....Hoping for a reply soon

Scrollpane Content Too Big ~PLEASE HELP
Hi, frist time poster here. I have a limited knowledge of flash so please forgive me. Im doing a photography portfolio and i have a scrollpane which refuses to display the entire content. I created a jpg 480x3000px with all the images side by side. However the scrollpane only displays half of this. The scroll slider moves to the very end, but there is still over half the image left undisplayed. Is there any actionscript that will fix this? Ive spent all day online looking for the answer please, any help would be incredibly useful.

Links Inside ScrollPane
Here's the situation.
I got the ScrollPane to link to Content1_txt
everythings works great so far.

However inside Content1_txt there is a button...

on (release) {
gotoAndPlay("frame2");


It goes to that frame no problem, the problem is that In the MC with the ScrollPane you cant see the text in "Frame2" because the link is at the end of the scrollPane and all the new text in "Frame2" is at the top. Basicly you have to scroll up everytime you hit the button if you want to read the text.

Is their any way to have the ScrollPane go back to the top of the scroll area when i load "frame2" of Content1_MC

OR

Do you now of another method of adding links inside Content1_MC
should i load another MC instead of just going to the Frame label.
(no i dont know how to do it properly in a ScrollPane)

Any Advise would be great, I thank all of you really, really, smart people in advance. THX

Squeezing The Flash Site To 2X2 Inch With All Content Showing
Hi,

I came accross this site: http://www.balthaser.com/builder/fx_boot.asp

the cool thing about this site is thta if you drag and make your browser window big, the site also scales and if you really make the size of teh window small so that you can see a window of size 2X2 inches... you can still see the content of the site!!

How can we do this, so that shrining the size of browser also shrinks the site so that all the content is visible at all times!!! is this something to do with flash, actionscript, html, javascript or what?

Can someone please tell or give resources where it explains how this can be achieved? I would love to do it for my site!!

Thanks.

ScrollPane Content Not In The Frame?
I am trying to dynamically create the content inside a Scroll Pane, but when the movie clip inside is has other movie clips attached to it, the content comes out of the frame. The scroll bars still move it up and down, but outside of the content frame, like it is on another layer.

I am refreshing the content of the frame, but it can't seem to handle it when the Movie clip inside of it changes due to attachmovie or duplicateMovieClip?

help!?

Content Of Scrollpane Component
I have this code i my scrollpane content movieclip:

for (i=1; i<=12; i++) {
attachMovie("linkname", "att"+[i], i);
setProperty("att"+[i], _x, i*80);
loadMovie("picture.jpg", "att"+[i])
}

OBS!! "att"+ is "att"+ [ i ] ...

I want the code to generate 12 movie clips called att1 to 12, all of them containing the 'picture.jpg'

And the scroller it self should only be able to display 5 instenses at a time.

When I do this, - I get NO scrolbars eventhough they are both set to 'auto'

Can anybody help me please??


Regards

Godowsky

Copyright © 2005-08 www.BigResource.com, All rights reserved