Componet Streaming Problem
Hi all, I'm in the process of building a band website site, I've made a section so view can listen to the band music, but for some reason alot of people have come back to me saying they can't get the music section to work and sometime the audio sounds jumpy.....I have run some tests on my computer using netlimeter and it all seems to work fine (buffers before playing, even when I limit the bandwidth to around 5kb. Some people have reported that the green bar doesn't move before the play head.....)
Does anyone know why this is happening.....the site can be found @ http://www.roadsmusic.co.uk/themusic.htm click on Music and selection what type of connection you have (slow or fast)
any help on this would be much appreciated as I really don't know where to go from here, - mainly as I can't replicate the error.
Thanks. Kaan.
FlashKit > Flash Help > Flash MX
Posted on: 12-03-2004, 07:44 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
How To Use This Componet?
i grab'b this componet and i'd like to know how to apply the axtions to a MC
im new with componets so i need some help.
thanksthis componet
here too
Componet Help.. Please
i grab'b this componet and i'd like to know how to apply the axtions to a MC
im new with componets so i need some help.
thanksthis componet
here too
Componet
I've been messing with SmartFox server chat examples.I would like to use one of thier chat examples, and place a web browser on the stage so I could use web pages as my room back grounds,also making the browser area an area where I could restrain avatar images to.Ive made a url text input window, and it will index to what ever web address I put into it how can I direct it to a restrained area in the chat pane?I'm aware that the flash window componet will hold images, but will it hold the whole content of a web page?How would I need to go about doing something like this?
Componet
for some reson i have this book and it is showing more componets than i have and also it has parameter bindings and schema and all i have is parameter. i am confused. please help.
ScrollPain Componet.?
scroll pain componet. I am trying to use the scroll poin to scroll images any ideas on the best way to do this. Anyone have an idea how things thing works
Componet Handeler
I am writing a componet and I need to write and handeler to execute when everything is finished. Basicly the handeler will execute a function that I will defin in the properites window(or wherever)
Componet Handeler
I am writing a componet and I need to write and handler to execute when everything is finished. Basicly the handeler will execute a function that I will defin in the properites window(or wherever)
Componet Menubar
I want to make a menubar, but I want to use the one that flash mx gives you. Now when you click the text or button, how do you make it go to a url and if I wanted to make a drop down list how would I do it?
I have a an example Here
Home, About, Your Views, Anadarko News, How about that - just to be one click and it goes to a page
I want to make Links a drop down list but when I click an option it open a _blank url to another page
How would I do this or is there a tutorial. If you could help or point me somewhere that would be helpful ~ thank you
Combo Box Componet Help
I need help with a combo box problem
How do i get it so when the user selects one of the values in the list, it goes and plays that value in a movie clip
e.g.
If they select black, a movieclip on the stage will go to the frame labelled black on it
thanks
Help With Progress Bar Componet
hello
Im trying to get my preloader componet to work with this photo gallery Im working on.
I have the gallery loading the pix fine, its just I can't get the progress bar to work?
heres my code
var mcl:MovieClipLoader = new MovieClipLoader();
var mclListener:Object = new Object();
mcl.addListener(mclListener);
mclListener.onLoadInit = function (e_mc:MovieClip)
{
e_mc._width = 397.9;
e_mc._height = 274.0;
};
mclListener.onLoadProgress = function(e_mc:MovieClip,bytesLoaded:Number,bytesTo tal:Number)
{
//this.pBar.setProgress(loadedBytes, totalBytes);
trace("hi");
};
mclListener.onLoadComplete = function(e_mc:MovieClip)
{
gotoAndPlay("fade_in");
};
mcl.loadClip(this.image_array[0],this.pic_box);
}
The problem is that the onLoadProgress isn't even firing up... I did a simple (hi) trace to see if that block of code was firing, and it isn't. Why is this? what am I doing wrong.
Again, the other blocks of code are working, cause the gallery is working fine, just can't get the progress bar to work.
Thanks for any help you can give
Cedric
Scrollpane Componet
I have a movie with a scrollpane component. I want to use this component to scroll a movieclip.
And I can do this fine when the movieclip is placed in the library of the movie and is exported for actionsscript.
But what I really need is to have the scrollpan in a movie,
and then I want to load another movie into level 1 and scroll
a moviclip that is placed in the level 1 movie.
Is that possible? I cant seem to get it working.
Combo Box Componet
Hello, I have a combo box componet and I would like to go to labeled frame in my timeline when an
opiton(label) is selected in the combo box. What would be a good code.
I know there is a goToandStop function in there but how do I link the labels in the combox box to that action.
Thanks
Stark
UIScrollBar Componet
HI
I'm working with a dynamic text field and a UIScrollBar componet. Users can update the text field.
I need that the UIScrollBar componet show automatically the last imput to the text field, I mean thta auto scroll to the botton of the text field.
any sugestions will be apreciated.
Thanks
Componet Trouble
i created a component. i'm creating and attaching movieclips in the constructor.
when i create a new fla and get that component in library, without taking an instance on stage, if i try to instantiate it through code
var foo = new FooComponent();
the constructor is invoked but component is not visible on the stage.
Please help.
i'm writing the import statement too :-(
Componet Madness
Being a designer and a very green actionscripter, I am now trying to tackle forms in Flash, thus I am TRYING to learn about components. Although it is nifty to be able to drag and drop components the actual scripting for them seems to be a real challenge. I wish there were more simple examples although I have seen a ton of tutorials with .fla files, I am still lost.
What I have is a form that has check boxes and radio buttons. Clicking the radio buttons and/or checkboxes needs to change a price total (its an order form) in a dynamic text box. BUT I want the functions to happen as you click each item NOT with a submit button. Then, after the user is done with the form options, I need a submit button.
Question 2 - I want the same radio buttons to control another MC (example: on click of radio button with otherMC go to and play.)
I have named all the radio groups and I have named all the component instances, but I need some example code.................I know I could never write it out myself!
Once I get one to work I can get the whole form to work....I think
THANKS A TON IF YOU CAN HELP ME!
List Componet
I have a loader component on my stage and i want to load another .swf file into it using a LIST component.
Does any body know the basics on getting this to work
thanks
Dunky
Componet Trouble
i created a component. i'm creating and attaching movieclips in the constructor.
when i create a new fla and get that component in library, without taking an instance on stage, if i try to instantiate it through code
var foo = new FooComponent();
the constructor is invoked but component is not visible on the stage.
Please help.
i'm writing the import statement too :-(
Componet Madness
Being a designer and a very green actionscripter, I am now trying to tackle forms in Flash, thus I am TRYING to learn about components. Although it is nifty to be able to drag and drop components the actual scripting for them seems to be a real challenge. I wish there were more simple examples although I have seen a ton of tutorials with .fla files, I am still lost.
What I have is a form that has check boxes and radio buttons. Clicking the radio buttons and/or checkboxes needs to change a price total (its an order form) in a dynamic text box. BUT I want the functions to happen as you click each item NOT with a submit button. Then, after the user is done with the form options, I need a submit button.
Question 2 - I want the same radio buttons to control another MC (example: on click of radio button with otherMC go to and play.)
I have named all the radio groups and I have named all the component instances, but I need some example code.................I know I could never write it out myself!
Once I get one to work I can get the whole form to work....I think
THANKS A TON IF YOU CAN HELP ME!
Componet Scroll-Bar Voodoo
How do you get the scroll bar to work with a dynamic text field. I have been playing with it and I have followed the instructions from the Macromedia MX book, but no sucsess.
Listbox Componet Issue
Hi masters of flash,
need some more help. I'm trying to create a listbox or any other type of scrollable textbox with names in them. Each name is supposed to do this:
on (release) {
_root.popup.container.unloadMovie("container");
tellTarget ("/popup") {
_root..popup.gotoAndPlay("zoom");
}
_root.popup.container.loadMovie("images/GustavHedwig.jpg", "/popup/container");
}
on (release) {
_root.zoomMC.mapMC.tX=945;_root.zoomMC.mapMC.tY=25 ;_root.zoomMC.tzoom=110
}
I don't know haw to change the function for the listbox. If any of you could help that would be great. Thanks J
Preloader Componet Tips/Help
I am wanting to know the best ways to use the preloader componet. I have picked up a nice peice of code from FlashGuru, but it involves attaching the loadbar dynamicly with AS. This is all well and fine but what I need is a way to just have the preloader sitting on the stage and when I load something, then I would tell the preloader what to look for.
EXAMPLE: What I want to do is have the preloader sit on the stage and then when I ,say, click a button to load a swf the preloader will show the percentage ect.
Basicly how do I talk with the preloader. How do I tell it to look for a movieClip thats loading?
Thanks
Attaching A Component From Within A Different Componet
I have created two components one is a photogallery and the other is a drop box which I am intending to use as a gallery switcher. The problem arises from when I am dynamically attaching the dropBox from within the photogallery component. It doesn't appear. Below are the beginings and ends of the component code.
here is the init and endinit settings for the dropbox. In the library the linkage is set to dropBox.
Code:
#initclip
_global.dropBox = function() {
};
dropBox.prototype = new MovieClip();
// register the class
Object.registerClass("dropBox", dropBox);
#endinitclip
stop();
here is the init and endinit settings for the photogallery. It has no linkage in the library.
Code:
#initclip
_global.photoGallery = function() {
};
photoGallery.prototype = new MovieClip();
// load variables and initiate functions.
/ assign object to class
Object.registerClass("photoGallery", photoGallery);
#endinitclip
The code I am using to attach the dropBox is
Code:
photoGallery.prototype.dropBoxSet = function() {
if (this.catBox == "give me one please") {
this.attachMovie("dropBoxh", "dropBoxSwitcher", 202020202)
this.dropBoxSwitcher._x = 110;
this.dropBoxSwitcher._y = 110;
}
};
Do I need to number the initClip's? If so how, because I tried 0 for the photogallery and 1 for the dropBox and visa versa?
Any help is much appreciated.
?controlling Loader Componet?
Hello,
I am using flash MX pro and using the loader componet to play a swf file that was created in a different flv.
Does anyone know if it is possible to create play and stop buttons to
controll the loader componet? if so could you please tell me how
I am using screens in flash.
Please help
Thanks
Editing The Scroll Bar Componet
is it eaiser to edit the scroll bar componet (cause that **** is ugly) or does someone have some they have put together or should i build my own?
xxxjosh
Controlling Tree Componet With AS
Hi
I am currently trying to use the macromedia tree component.
I would like to able to select a "attribut" in my menu system.
This code:
myTree.setIsOpen(myTree.getTreeNodeAt(0), true);
Opens a folder just fine but how to select an element inside a folder with Actionscript ??
Any ideas ?
/h
Scroll Box Componet Problem
Working in flash MX...
I have placed a scroll bar component attatched to dynamic text box in three different scenes all three carry different information. They all scroll and look good and have been set up correctly but the problem I am having is that when I publish movie and upload it to server when I switch between scenes the scroll bars will work sometimes, when they don't work the scroll bar and text is there but the pull box and the arrows are not visible(can't scroll)? anybody ever see this and what can I do about it? Please help trying to figure out what to tell client...
Thanks
smedia
Alert Componet Without Buttons
I'm using the Alert Component while the user is waiting for some process and later I hide it. But I dont need the OK button inside, is possible open it without buttons?
Thanks
Problem With Window Componet
I am using the Window component in the following manner. User clicks a button called audioText_btn and the window will popup with audio script, like a closed captioning. Up unitl 30 min ago I could publish with this code just fine. Now I get this error in all the files I used this in. As I said, all had published just fine. Any help is appreciated.
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 27: Type mismatch.
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true, title:"Script", contentPath:"contenttext"});
Total ActionScript Errors: 1 Reported Errors: 1
----------------Here is my code----------------------
import mx.managers.PopUpManager;
import mx.containers.Window;
audio_btn.onRelease = function() {
_global.styles.windowStyles.setStyle("fontSize", "12");
var my_win:MovieClip = PopUpManager.createPopUp(this, Window, true, {closeButton:true, title:"Script", contentPath:"contenttext"});
var winListener:Object = new Object();
winListener.click = function() {
my_win.deletePopUp();
};
my_win.addEventListener("click", winListener);
winListener.complete = function(evt_obj:Object) {
my_win.setSize(my_win.content._width+25, my_win.content._height+25);
};
my_win.addEventListener("complete", winListener);
};
[CS3] Using Media Controler Componet
Ok I've gotten the media contorler to play one of the sounds:
http://www.redtidestudios.com/test.html
I was pretty easy to get attch the behavior to it of
click | Load streaming MP3 file
but now my big problem is that none of the controls work on the component?
How do I get the buttons to on the media controler to work?
Thx
How To Unload FLVPlayback Componet
I have an bug in a file with FLVPC on stage called 'main_flv' that will not load another FLV after one has played
Basically I have a menu with 3 choices, select one and it hides the menu and shows the FLVPC and loads in an FLV determined by the value of a variable. All on one frame.
The FLV plays fine. The FLV plays to the end, a listener then hides the FLVPC and shows/plays the menu. There is also a return_btn that stops the FLV, hides the FLVPC and shows/plays the menu.
The problem arises when I immediately select play for the FLV that just completed. It will not play having already played. If I choose another menu item, it plays fine. And the first menu item will play fine AFTER the other FLV has been selected/played. Just wont play twice in a row.
Not a huge deal, but a bug that my client will eventually find an want fixed. I've looked for ways to rewind or stop or close the FLV, but nothing that works with my setup.
cheers
mm66
Attach Code
import mx.video.*;
import mx.transitions.Tween;
import mx.transitions.easing.*;
function videoActivate(theSeg){
trace("theSeg:"+theSeg);
_root.Buffering_mc._visible = true;
_root.Buffering_mc._alpha = 100;
_root.menu_mc.menuCube_mc._alpha = 60;
_root.main_flv.visible = true;
_root.main_flv.bufferTime = 5;
_root.main_flv.contentPath = "video/"+theSeg+".flv";
_root.return_btn._visible = true;
_root.replay_btn._visible = false;
_root.menu_mc.playBtn_mc.enabled = false;
_root.menu_mc.leftBtn_mc.enabled = false;
_root.menu_mc.rightBtn_mc.enabled = false;
}
var listenerObject:Object = new Object();
listenerObject.playing = function(eventObject:Object):Void {
_root.menu_mc.menuCube_mc._visible = false;
var fadeBuffer:Tween = new Tween(Buffering_mc, "_alpha", Regular.easeOut, 100, 0, 0.5, true);
selectVO.stop();
firstPlayed = true;
}
listenerObject.complete = function(eventObject:Object):Void {
_root.main_flv.visible = false;//------------
_root.menu_mc.playBtn_mc.enabled = true;
_root.menu_mc.leftBtn_mc.enabled = true;
_root.menu_mc.rightBtn_mc.enabled = true;
_root.menu_mc.menuCube_mc._visible = true;
_root.menu_mc.gotoAndPlay(1);
}
_root.main_flv.addEventListener("playing", listenerObject);
_root.main_flv.addEventListener("complete", listenerObject);
Datagrid Componet - Link And PDF
Hey Everyone
I am working with a datagrid component that pulls in data from a database. I am able to get that to work. I have to where also that one column has icons to represent an incident(I used this guy's example) http://philflash.inway.fr/dgrenderer/dgiconrd.html - to be able to put in a icon. Well, here is where the problem begins. I want to be able to have these icons be clickable. An icon needs to pull up an attached movie from the library with a PDF file in this attached movie. That's the second problem. Does anyone know how to pull up a pdf in a flash movie in a attached movie.
Any ideas as to how to do any of the two things discussed. Anywhere would be great? I just don't understand this.
KP
FLV Playback Componet Problem...?
Hi all.
I'm having some issues with the FLVPlayBack componet. I've dragged it onto my stage, then I go to the Parameters tab and set the content path to http://www.darkedgedesign.com/MyMovie.flv
I then download that same file to my website, I go to my website portfolio page and it doesn't show up.
When I did this from my desktop and had that same file on my desktop it showed up fine when I tested flash, I had the content path going to my desktop.
So what am I doing wrong??? The MyMovie.flv 21mb in size, would this be the cause?
Thanks so much and you will need to be somewhat specific in your response as I am an amature at this stuff.
Assigning / Accessing Componet Varibles
If i have a componet defined. It carries the varible "name"
Now i've placed an instance of the componet on the scene and called it wrapper.
How would i set the value of name?
I've tried wrapper.name = "myName" but this dosent seem to work?
Or on the flip side
If in frame 1 I've crated a variable called rootName. How can the instance of wrapper access rootName?
Thanks in advance.
Jesse
Help Why Does My Text Stop? Using Componet Scroller.
I have a dynamic text box pulling in a rather lengthy .txt document. It stops scrolling the text near the end of the document and I can't scroll to the end.
Is there something in the componet code that I need to change?
I've tested the html tags in the .txt file and I know there is nothing wrong there.
Thanks for any light you can shed on this one.
Pete
Targeting MC 's Using Scroll Pane Componet?
Hi,
I am using a scrollpane componet to scroll a movie clip. In that mc is a list of names (which are images) that have invisible mc's on top of them. Problem is I can't target those buttons in the target finder.
Is there a way to target movie clips that are contained in a ScrollPane?
Your help is GREATLY appreciated.
Thanks, Pete
Menu Componet...2004 Pro Version
I have this a/s:
v = new LoadVars();
v.load("omg.php");
v.onLoad = function(ok)
{
if (ok)
{
var menu = new XML();
menu.addMenuItem({instanceName:"first1"});
menu.addMenuItem({instanceName:"second"});
menu.addMenuItem({instanceName:"third"});
menu.addMenuItem({type:"separator"});
menu.addMenuItem(instanceName:"fourth"});
var myMenu = mx.controls.Menu.createMenu(myParentClip, menu);
myMenu.show(100, 20);
menu.first1.label = v.user1;
menu.second.label = v.user2;
menu.third.label = v.user3;
menu.fourth.label = v.user4;
}
}
I have a php script that looks like this:
PHP Code:
$x = 1;
mysql_connect("localhost:2082","username","password") or die (mysql_error());
mysql_select_db("db");
$t = mysql_query("SELECT username FROM users");
while (list($user) = mysql_fetch_row($t))
{
echo "user".$x."=".$user."&";
$x++;
}
I want to make a menu in Flash that consists of every user in my database, but I think I'm doing something wrong
I think it is my PHP because the loadVars isn't going through (the variables). How can I fix my PHP code?
'Lil Trouble With Text Scoll Bar Componet
Hi,
Actually I have the scroll bar scrolling my text quite easily, and resized the scroll bar itself with little problem. My problem is, in viewing the .swf in the flash player, the scroll bar works perfectly. Viewed in a browser however, there's this annoying thing happening that when I scroll to the bottom of the text field, the bar of the scrollbar stops at around 15 pixels before the bottom arrow. This happens with my mouse scroll wheel as well. Scrolling upwards, the bar goes all the way to the top.
Any suggestions or known issues with this? I can email my .fla if neccessary.
In advance as always, many thanks for any help.
Claude
Combo Box Componet And Linking...to Stuff
i got a combo box componet on mx 2004
like you click on it and it slides down for more options
i want to display freatured items like
featured item 1 featured item 2....
and i want them to link to a pop up...
how do i do this.... especialyl useing the componet where on there do you put http//:www. my url how do i link stuff to the combo box...listings.
Scroller Componet Htm Dynamic Text ?
Hi all
I have a dynamic text field which is attached to the UIscrollbar componendt. I have html render checked on the text field but it will not render. If I just use the text field with out attaching it to the scroll bar it will render. Is there a textfield scrollbar component out there that will render html. Or do I have to return to creating my own scroll bars. As I have a lot of text fields that will need this a component solution would be much better.
|