Advertisement

07.03.2008 at 07:21AM PDT, ID: 23536938
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Passing Variables to SWF Breaks File Naming.......

Asked by interclubs in ActionScript

Tags:

I am modifying an existing swf, and I am trying to pass in some variables by adding them to the query string of the swf when I embed. All of that works fine, at the start of my .fla I added in:
_root.authorid;
_root.listid;
_root.itemid;
_root.commentid;

and I can access all of those no problem, but when I add these in it breaks the file naming. This app saves video recording to a flash media server. Here is the section that does the naming of the file on the server:
Once I add the above in, the _root.filename; comes back as undefined.

(The Name part is _root.id = _root.filename;)

this.rec_btn.onRelease = function() {
      //getURL("javascript:recordClicked()");      
      replay_btn.enabled = false;
      help_mc._x = -200;
      if (media == 1) {
            if (bMic == false) {
                  info_mc.info_txt.text = _global.NOMIC;
                  info_mc._y = 50;
            } else {
                  //_root.id = "audio_"+String(new Date().getTime());
                  _root.id = _root.filename;
                  _root.rec_btn._visible = false;
                  _root.recStop_btn._visible = true;
                  _root.rec_btn.enabled = false;
                  _root.recStop_btn.enabled = true;
                  _root.radioAudio.enabled = false;
                  _root.radioVideo.enabled = false;
                  _root.outStream.close();
                  _root.inStream.close();
                  _root.doWhat = "record";
                  connect();
            }
      }

Does anyone see what I'm doing wrong? Or if I am maybe compiling it wrong or somethign? My flash skills are super limited at best.

Thanks!
Start Free Trial
 
 
Loading Advertisement...
 
[+][-]07.03.2008 at 09:38AM PDT, ID: 21927097

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: ActionScript
Tags: Flash Action Script
Sign Up Now!
Solution Provided By: aneeshchopra
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628